echo "Running autoheader"
autoheader
+if [ ! -e simgear/simgear_config.h.in ]; then
+ echo "ERROR: autoheader didn't create simgear/simgear_config.h.in!"
+ exit 1
+fi
echo -n "Running automake"
if [ $OSTYPE = "IRIX" -o $OSTYPE = "IRIX64" ]; then
echo "Running autoconf"
autoconf
+if [ ! -e configure ]; then
+ echo "ERROR: configure was not created!"
+ exit 1
+fi
+
# fixup Makefiles for Irix
if test "$OSTYPE" = "IRIX" -o "$OSTYPE" = "IRIX64"; then
echo "Fixing Makefiles for Irix"