Added automake warning and output verbosity to autogen.sh

This commit is contained in:
sjborley 2007-12-15 13:41:48 +00:00
parent 955b18a7c6
commit 51b2d73d79
2 changed files with 24 additions and 7 deletions

View File

@ -1,3 +1,6 @@
2007-12-15 Steven Borley
* Added automake warning and output verbosity to autogen.sh
2007-12-14 Steven Borley
* Added missing .cvsignore file to the tests directories and some
devices directories, and updated for change from makeidx to ngmakeidx

View File

@ -5,7 +5,7 @@
# package.
#
#
#
# $Id$
#
PROJECT=ngspice
@ -159,14 +159,28 @@ do
done
fi
echo "Running libtoolize"
libtoolize --copy --force
if [ $? -ne 0 ];then echo "libtoolize failed"; exit 1 ; fi
echo "Running aclocal $ACLOCAL_FLAGS"
aclocal $ACLOCAL_FLAGS
if [ $? -ne 0 ]; then echo "aclocal failed"; exit 1 ; fi
# optional feature: autoheader
(autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader
automake -c -a $am_opt
(autoheader --version) < /dev/null > /dev/null 2>&1
if [ $? -eq 0 ]; then
echo "Running autoheader"
autoheader
if [ $? -ne 0 ]; then echo "autoheader failed"; exit 1 ; fi
fi
echo "Running automake -Wall --copy --add-missing"
automake -Wall --copy --add-missing $am_opt
if [ $? -ne 0 ]; then echo "automake failed"; exit 1 ; fi
echo "Running autoconf"
autoconf
if [ $? -ne 0 ]; then echo "autoconf failed"; exit 1 ; fi
echo "Success."