1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
#! /bin/sh
#
# $Id: autogen.sh,v 1.2 2008/11/23 06:38:55 gtkwave Exp $
#
# Run the various GNU autotools to bootstrap the build
# system. Should only need to be done once.
# for now avoid using bash as not everyone has that installed
CONFIG_SHELL=/bin/sh
export CONFIG_SHELL
echo "Running aclocal..."
aclocal $ACLOCAL_FLAGS || exit 1
echo "Done with aclocal"
echo "Running autoheader..."
autoheader || exit 1
echo "Done with autoheader"
echo "Running automake..."
automake -a -c --foreign || exit 1
echo "Done with automake"
echo "builtin(include,./tcl.m4)" >>aclocal.m4
echo "Running autoconf..."
autoconf || exit 1
echo "Done with autoconf"
echo "You must now run configure"
echo "All done with autogen.sh"
|