]> git.mxchange.org Git - simgear.git/blobdiff - autogen.sh
It probably is better not to hide warning messages. Removed spaces from
[simgear.git] / autogen.sh
index ed58ef48864c31a8592f335e1c7a49bb3916f6f1..ae2800fc590afe096747c705674da197e053a7cb 100755 (executable)
@@ -20,6 +20,10 @@ aclocal $ACLOCAL_OPTS
 
 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
@@ -33,6 +37,11 @@ fi
 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"