fix running with libtool-2.2+

SVN revision: 34324
This commit is contained in:
Mike Frysinger 2008-04-20 12:16:31 +00:00
parent 31e68f83f4
commit 8dfa3558ef
1 changed files with 2 additions and 1 deletions

View File

@ -4,11 +4,12 @@ rm -rf autom4te.cache
rm -f aclocal.m4 ltmain.sh
touch README
libtoolize -n --install 2>/dev/null && LIBTOOL_FLAGS="--install"
echo "Running aclocal..." ; aclocal $ACLOCAL_FLAGS || exit 1
echo "Running autoheader..." ; autoheader || exit 1
echo "Running autoconf..." ; autoconf || exit 1
echo "Running libtoolize..." ; (libtoolize --copy --automake || glibtoolize --automake) || exit 1
echo "Running libtoolize..." ; (libtoolize --copy --automake $LIBTOOL_FLAGS || glibtoolize --automake) || exit 1
echo "Running automake..." ; automake --add-missing --copy --gnu || exit 1
if [ -z "$NOCONFIGURE" ]; then