5 AUTO_MAKE_VERSION=`automake --version | head -1 | awk '{print $4}' | sed -e 's/\-p[0-9]$//' | sed -e 's/\.//'`
7 echo "Host info: $OSTYPE $MACHINE"
8 echo -n " automake: `automake --version | head -1 | awk '{print $4}'`"
9 echo " ($AUTO_MAKE_VERSION)"
13 if [ $AUTO_MAKE_VERSION -ge 14 ]; then
14 if [ $OSTYPE = "IRIX" -o $OSTYPE = "IRIX64" ]; then echo " -I ."
18 echo "Running aclocal $ACLOCAL_OPTS"
21 echo "Running autoheader"
24 echo -n "Running automake"
25 if [ $OSTYPE = "IRIX" -o $OSTYPE = "IRIX64" ]; then
26 echo " --add-missing --include-deps"
27 automake --add-missing --include-deps
30 automake --add-missing
33 echo "Running autoconf"
36 # fixup Makefiles for Irix
37 if test "$OSTYPE" = "IRIX" -o "$OSTYPE" = "IRIX64"; then
38 echo "Fixing Makefiles for Irix"
39 for n in `find . -name Makefile.in`; do \
41 sed 's/$(AR) cru /$(AR) -o /g' $n.ar-new > $n; \
47 echo "======================================"
49 if [ -f config.cache ]; then
50 echo "config.cache exists. Removing the config.cache file will force"
51 echo "the ./configure script to rerun all it's tests rather than using"
52 echo "the previously cached values."
56 echo "Now you are ready to run './configure'"
57 echo "======================================"