diff options
author | Martin Szulecki | 2010-09-25 19:47:25 +0200 |
---|---|---|
committer | Martin Szulecki | 2010-10-04 00:38:16 +0200 |
commit | 5f08413081ada86f55e5a4585a6635aa34b57ed4 (patch) | |
tree | a8583517a7eb14e6f3d21f2b4eda6f6824e0a285 | |
parent | 8527540127a97b2f5364987771aeb2400365c9fa (diff) | |
download | libimobiledevice-5f08413081ada86f55e5a4585a6635aa34b57ed4.tar.gz libimobiledevice-5f08413081ada86f55e5a4585a6635aa34b57ed4.tar.bz2 |
Try to use glibtoolize if possible in autogen.sh to fix OSX build
-rwxr-xr-x | autogen.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,11 @@ #!/bin/sh +gprefix=`which glibtoolize 2>&1 >/dev/null` +if [ $? -eq 0 ]; then + glibtoolize --force +else + libtoolize --force +fi aclocal -I m4 -libtoolize autoheader automake --add-missing autoconf |