It probably is better not to hide warning messages. Removed spaces from
AC_DEFINE( SYMBOL ) -> AC_DEFINE(SYMBOL)
This commit is contained in:
parent
63a8c79a14
commit
757781bc2c
1 changed files with 5 additions and 9 deletions
14
autogen.sh
14
autogen.sh
|
@ -16,31 +16,29 @@ if [ $AUTO_MAKE_VERSION -ge 14 ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo "Running aclocal $ACLOCAL_OPTS"
|
echo "Running aclocal $ACLOCAL_OPTS"
|
||||||
aclocal $ACLOCAL_OPTS 2> autogen.err
|
aclocal $ACLOCAL_OPTS
|
||||||
|
|
||||||
echo "Running autoheader"
|
echo "Running autoheader"
|
||||||
autoheader 2>> autogen.err
|
autoheader
|
||||||
if [ ! -e src/Include/config.h.in ]; then
|
if [ ! -e src/Include/config.h.in ]; then
|
||||||
echo "ERROR: autoheader didn't create simgear/simgear_config.h.in!"
|
echo "ERROR: autoheader didn't create simgear/simgear_config.h.in!"
|
||||||
echo "Aborting ... consulte autogen.err for details."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -n "Running automake"
|
echo -n "Running automake"
|
||||||
if [ $OSTYPE = "IRIX" -o $OSTYPE = "IRIX64" ]; then
|
if [ $OSTYPE = "IRIX" -o $OSTYPE = "IRIX64" ]; then
|
||||||
echo " --add-missing --include-deps"
|
echo " --add-missing --include-deps"
|
||||||
automake --add-missing --include-deps 2>> autogen.err
|
automake --add-missing --include-deps
|
||||||
else
|
else
|
||||||
echo " --add-missing"
|
echo " --add-missing"
|
||||||
automake --add-missing 2>> autogen.err
|
automake --add-missing
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Running autoconf"
|
echo "Running autoconf"
|
||||||
autoconf 2>> autogen.err
|
autoconf
|
||||||
|
|
||||||
if [ ! -e configure ]; then
|
if [ ! -e configure ]; then
|
||||||
echo "ERROR: configure was not created!"
|
echo "ERROR: configure was not created!"
|
||||||
echo "Aborting ... consulte autogen.err for details."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -66,5 +64,3 @@ fi
|
||||||
|
|
||||||
echo "Now you are ready to run './configure'"
|
echo "Now you are ready to run './configure'"
|
||||||
echo "======================================"
|
echo "======================================"
|
||||||
|
|
||||||
rm -f autogen.err
|
|
||||||
|
|
Loading…
Reference in a new issue