5 AUTO_MAKE_VERSION=`automake --version | head -1 | awk '{print $4}' | sed -e 's/\-p[0-9]$//' | sed -e 's/\.//'`
6 # AM_CONDITIONAL(ANCIENT_AUTOMAKE, test $AUTO_MAKE_VERSION -lt 14)
7 # AM_CONDITIONAL(OLD_AUTOMAKE, test $AUTO_MAKE_VERSION -lt 15)
9 echo "Host info: $OSTYPE $MACHINE"
10 echo -n " automake: `automake --version | head -1 | awk '{print $4}'`"
11 echo " ($AUTO_MAKE_VERSION)"
14 echo -n "Running aclocal"
15 if [ $AUTO_MAKE_VERSION -ge 15 ]; then
23 echo "Running autoheader"
26 echo -n "Running automake"
27 if [ $OSTYPE = "IRIX" -o $OSTYPE = "IRIX64" ]; then
28 echo " --add-missing --include-deps"
29 automake --add-missing --include-deps
32 automake --add-missing
35 echo "Running autoconf"
38 # fixup Makefiles for Irix
39 if test "$OS" = "IRIX" -o "$OS" = "IRIX64"; then
40 echo "Fixing Makefiles for Irix"
41 for n in `find . -name Makefile.in`; do \
43 sed 's/$(AR) cru /$(AR) -o /g' $n.ar-new > $n; \
49 echo "======================================"
51 if [ -f config.cache ]; then
52 echo "config.cache exists. Removing the config.cache file will force"
53 echo "the ./configure script to rerun all it's tests rather than using"
54 echo "the previously cached values."
58 echo "Now you are ready to run './configure'"
59 echo "======================================"