summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-09-25 19:47:25 +0200
committerGravatar Martin Szulecki2010-09-25 19:47:25 +0200
commit8dff982f54ea9fc2a3a4366b1958120d89f862b5 (patch)
treee33a8f4deeaa3de480142147f8ce8a32fc3abbc9 /autogen.sh
parent87cba8cf076d7441123a25ed7079690e399dcc61 (diff)
downloadlibimobiledevice-8dff982f54ea9fc2a3a4366b1958120d89f862b5.tar.gz
libimobiledevice-8dff982f54ea9fc2a3a4366b1958120d89f862b5.tar.bz2
Try to use glibtoolize if possible in autogen.sh to fix OSX build
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index cb3887a..3292973 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,6 +1,11 @@
1#!/bin/sh 1#!/bin/sh
2gprefix=`which glibtoolize 2>&1 >/dev/null`
3if [ $? -eq 0 ]; then
4 glibtoolize --force
5else
6 libtoolize --force
7fi
2aclocal -I m4 8aclocal -I m4
3libtoolize
4autoheader 9autoheader
5automake --add-missing 10automake --add-missing
6autoconf 11autoconf