5 AUTO_MAKE_VERSION=`automake --version | head -1 | awk '{print $4}' | sed -e 's/\.\([0-9]*\).*/\1/'`
6 if test $AUTO_MAKE_VERSION -lt 15; then
8 echo "You need to upgrade to automake version 1.5 or greater."
9 echo "Most distributions have packages available to install or you can"
10 echo "find the source for the most recent version at"
11 echo "ftp://ftp.gnu.org/gnu/automake"
15 echo "Host info: $OSTYPE $MACHINE"
16 echo -n " automake: `automake --version | head -1 | awk '{print $4}'`"
17 echo " ($AUTO_MAKE_VERSION)"
20 echo "Running aclocal"
23 echo "Running autoheader"
25 if [ ! -e src/Include/config.h.in ]; then
26 echo "ERROR: autoheader didn't create simgear/simgear_config.h.in!"
30 echo "Running automake --add-missing"
31 automake --add-missing
33 echo "Running autoconf"
36 if [ ! -e configure ]; then
37 echo "ERROR: configure was not created!"
42 echo "======================================"
44 if [ -f config.cache ]; then
45 echo "config.cache exists. Removing the config.cache file will force"
46 echo "the ./configure script to rerun all it's tests rather than using"
47 echo "the previously cached values."
51 echo "Now you are ready to run './configure'"
52 echo "======================================"