diff options
author | iain holmes <iain@xamarin.com> | 2015-07-03 20:03:22 +0300 |
---|---|---|
committer | iain holmes <iain@xamarin.com> | 2015-10-30 15:21:06 +0300 |
commit | 37b08054f42010821d14923274e74080dbf796ec (patch) | |
tree | bbca22b212f2cb98db0df0027be2bc40c49ef98f /configure | |
parent | 94c6994a82e0cafc3538209cbbfa4f7a6c2511f6 (diff) |
[Build System] Enable mac64 by adding --enable-mac64 to configure
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -52,6 +52,8 @@ usage () echo "" echo "--enable-release" echo " Builds md in release mode" + echo "--enable-mac64" + echo " Build for x64 on OS X" echo "" echo "--profile=PROFILE" echo "" @@ -159,6 +161,12 @@ configure_packages () enable_tests=" " fi + if test xyes == x$x64; then + enable_x64=--with-macarch=x86_64 + else + enable_x64=--with-macarch=i386 + fi + prefixarg="--prefix=$prefix" builddir=`pwd`/$path/build @@ -182,7 +190,7 @@ configure_packages () echo echo "Configuration options: $ops" if test -a $path/autogen.sh; then - sct="./autogen.sh $enable_tests" + sct="./autogen.sh $enable_tests $enable_x64" elif test -a $path/configure; then sct=./configure elif test -a $path/configure.sh; then @@ -235,6 +243,9 @@ while test x$1 != x; do --enable-release) release=yes ;; + --enable-mac64) + x64=yes + ;; --prefix=*) prefix=`echo $1 | sed 's/--prefix=//'` ;; |