#! /bin/sh
#
#
# 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 -I m4 || exit 1

#echo "Running autoheader..."
autoheader || exit 1

echo "Running libtoolize"
libtoolize || exit 1

echo "Running automake..."
automake -a -c --gnu || exit 1

echo "Running autoconf..."
autoconf $CONFIGURE_OUTPUT || exit 1
