diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-02-26 11:51:50 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2015-02-26 11:51:50 +0100 |
commit | d2407fea1ed7c3c718a4c115d8c632664c2378dd (patch) | |
tree | 9f0d21c77d64da4e9be1f4b0ba99f54edc691ad5 /build/linux/autogen.sh | |
parent | 3cae1d138c53a3fd042de3d2c9d9a07cf0650e0f (diff) | |
parent | 0ca00f4c671d6d583ae77838d3e0d4fcd411f077 (diff) | |
download | astra-d2407fea1ed7c3c718a4c115d8c632664c2378dd.tar.gz astra-d2407fea1ed7c3c718a4c115d8c632664c2378dd.tar.bz2 astra-d2407fea1ed7c3c718a4c115d8c632664c2378dd.tar.xz astra-d2407fea1ed7c3c718a4c115d8c632664c2378dd.zip |
Merge branch 'master' into python-interface
Diffstat (limited to 'build/linux/autogen.sh')
-rwxr-xr-x | build/linux/autogen.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/build/linux/autogen.sh b/build/linux/autogen.sh index c856793..544fdeb 100755 --- a/build/linux/autogen.sh +++ b/build/linux/autogen.sh @@ -12,9 +12,12 @@ if test $? -ne 0; then exit 1 fi -libtoolize --install --force > /dev/null 2>&1 +case `uname` in Darwin*) LIBTOOLIZEBIN=glibtoolize ;; + *) LIBTOOLIZEBIN=libtoolize ;; esac + +$LIBTOOLIZEBIN --install --force > /dev/null 2>&1 if test $? -ne 0; then - libtoolize --force + $LIBTOOLIZEBIN --force if test $? -ne 0; then echo "Error running libtoolize" exit 1 |