bug fix, first run libtoolize then aclocal

reported by Joseph Trebbien on
  [Ngspice-devel] Build error "required file `./ltmain.sh' not found"
This commit is contained in:
rlar 2012-06-21 19:17:01 +02:00
parent f661a1032d
commit 1baec0b6b1
1 changed files with 4 additions and 4 deletions

View File

@ -195,14 +195,14 @@ $znew
fi fi
echo "Running aclocal $ACLOCAL_FLAGS"
aclocal $ACLOCAL_FLAGS \
|| error_and_exit "aclocal failed"
echo "Running libtoolize" echo "Running libtoolize"
libtoolize --copy --force \ libtoolize --copy --force \
|| error_and_exit "libtoolize failed" || error_and_exit "libtoolize failed"
echo "Running aclocal $ACLOCAL_FLAGS"
aclocal $ACLOCAL_FLAGS \
|| error_and_exit "aclocal failed"
# optional feature: autoheader # optional feature: autoheader
(autoheader --version) < /dev/null > /dev/null 2>&1 (autoheader --version) < /dev/null > /dev/null 2>&1
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then