Adjusted libtool.m4 inclusion

This commit is contained in:
tbbulloc 2007-01-21 00:19:00 +00:00
parent f4831160ba
commit 8a454579d2

View File

@ -3,7 +3,7 @@
srcdir=`dirname $0` srcdir=`dirname $0`
ACLOCAL_FLAGS="-I ${srcdir}/m4 ${ACLOCAL_FLAGS}" #ACLOCAL_FLAGS="-I ${srcdir}/m4 ${ACLOCAL_FLAGS}"
fail() { fail() {
status=$? status=$?
@ -15,14 +15,14 @@ fail() {
# Refresh GNU autotools toolchain: libtool # Refresh GNU autotools toolchain: libtool
echo "Removing libtool cruft" echo "Removing libtool cruft"
rm -f ltmain.sh config.guess config.sub rm -f ltmain.sh config.guess config.sub
echo "Running libtoolize"
libtoolize --copy --force || fail
# Refresh GNU autotools toolchain: aclocal autoheader # Refresh GNU autotools toolchain: aclocal autoheader
echo "Removing aclocal cruft" echo "Removing aclocal cruft"
rm -f aclocal.m4 rm -f aclocal.m4
echo "Running aclocal $ACLOCAL_FLAGS" echo "Running aclocal $ACLOCAL_FLAGS"
aclocal $ACLOCAL_FLAGS || fail aclocal $ACLOCAL_FLAGS || fail
echo "Running libtoolize"
libtoolize --copy --force || fail
echo "Removing autoheader cruft" echo "Removing autoheader cruft"
rm -f config.h.in src/config.h.in rm -f config.h.in src/config.h.in
echo "Running autoheader" echo "Running autoheader"