diff options
| author | 2010-09-25 19:47:25 +0200 | |
|---|---|---|
| committer | 2010-09-25 19:47:25 +0200 | |
| commit | 8dff982f54ea9fc2a3a4366b1958120d89f862b5 (patch) | |
| tree | e33a8f4deeaa3de480142147f8ce8a32fc3abbc9 | |
| parent | 87cba8cf076d7441123a25ed7079690e399dcc61 (diff) | |
| download | libimobiledevice-8dff982f54ea9fc2a3a4366b1958120d89f862b5.tar.gz libimobiledevice-8dff982f54ea9fc2a3a4366b1958120d89f862b5.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 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | gprefix=`which glibtoolize 2>&1 >/dev/null` | ||
| 3 | if [ $? -eq 0 ]; then | ||
| 4 | glibtoolize --force | ||
| 5 | else | ||
| 6 | libtoolize --force | ||
| 7 | fi | ||
| 2 | aclocal -I m4 | 8 | aclocal -I m4 |
| 3 | libtoolize | ||
| 4 | autoheader | 9 | autoheader |
| 5 | automake --add-missing | 10 | automake --add-missing |
| 6 | autoconf | 11 | autoconf |
