Exit with error code if configure fails.
authorElliot Lee <sopwith@src.gnome.org>
Thu, 29 Jul 1999 19:21:21 +0000 (19:21 +0000)
committerElliot Lee <sopwith@src.gnome.org>
Thu, 29 Jul 1999 19:21:21 +0000 (19:21 +0000)
Exit with error code if configure fails.

svn path=/trunk/; revision=863

macros/autogen.sh

index 2481d74..7027391 100644 (file)
@@ -139,7 +139,7 @@ conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
 if test x$NOCONFIGURE = x; then
   echo Running $srcdir/configure $conf_flags "$@" ...
   $srcdir/configure $conf_flags "$@" \
-  && echo Now type \`make\' to compile $PKG_NAME
+  && echo Now type \`make\' to compile $PKG_NAME || exit 1
 else
   echo Skipping configure process.
 fi