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