Browse Source

Added automake warning and output verbosity to autogen.sh

pre-master-46
sjborley 19 years ago
parent
commit
51b2d73d79
  1. 3
      ChangeLog
  2. 26
      autogen.sh

3
ChangeLog

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

26
autogen.sh

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