diff options
| author | 2020-06-09 03:04:31 +0200 | |
|---|---|---|
| committer | 2020-06-09 03:04:31 +0200 | |
| commit | 8cf167710b6add2bcbbb1099cb5fe72b5199f891 (patch) | |
| tree | 5c2f6c4b656a903136cd970d60987f6e9b42bf42 /autogen.sh | |
| parent | d0a476a6ce4ebf81c5aa562abe258f6c8d30f612 (diff) | |
| download | libimobiledevice-8cf167710b6add2bcbbb1099cb5fe72b5199f891.tar.gz libimobiledevice-8cf167710b6add2bcbbb1099cb5fe72b5199f891.tar.bz2 | |
Apply changes towards a project wide common "autogen.sh" file
Diffstat (limited to 'autogen.sh')
| -rwxr-xr-x | autogen.sh | 26 |
1 files changed, 14 insertions, 12 deletions
| @@ -4,20 +4,22 @@ olddir=`pwd` | |||
| 4 | srcdir=`dirname $0` | 4 | srcdir=`dirname $0` |
| 5 | test -z "$srcdir" && srcdir=. | 5 | test -z "$srcdir" && srcdir=. |
| 6 | 6 | ||
| 7 | cd "$srcdir" | 7 | ( |
| 8 | cd "$srcdir" | ||
| 8 | 9 | ||
| 9 | gprefix=`which glibtoolize 2>&1 >/dev/null` | 10 | gprefix=`which glibtoolize 2>&1 >/dev/null` |
| 10 | if [ $? -eq 0 ]; then | 11 | if [ $? -eq 0 ]; then |
| 11 | glibtoolize --force | 12 | glibtoolize --force |
| 12 | else | 13 | else |
| 13 | libtoolize --force | 14 | libtoolize --force |
| 14 | fi | 15 | fi |
| 15 | aclocal -I m4 | 16 | aclocal -I m4 |
| 16 | autoheader | 17 | autoheader |
| 17 | automake --add-missing | 18 | automake --add-missing |
| 18 | autoconf | 19 | autoconf |
| 19 | 20 | ||
| 20 | cd "$olddir" | 21 | cd "$olddir" |
| 22 | ) | ||
| 21 | 23 | ||
| 22 | if [ -z "$NOCONFIGURE" ]; then | 24 | if [ -z "$NOCONFIGURE" ]; then |
| 23 | $srcdir/configure "$@" | 25 | $srcdir/configure "$@" |
