[xiph-cvs] r6490 - theora/trunk

giles at xiph.org giles at xiph.org
Fri Apr 2 14:24:01 PST 2004



Author: giles
Date: 2004-04-02 17:24:01 -0500 (Fri, 02 Apr 2004)
New Revision: 6490

Modified:
   theora/trunk/autogen.sh
Log:
Exit if any of the autotools commands fails to prevent error cascades. 
Patch from Thoma Vander Stichele.

<p>Modified: theora/trunk/autogen.sh
===================================================================
--- theora/trunk/autogen.sh	2004-04-02 21:16:43 UTC (rev 6489)
+++ theora/trunk/autogen.sh	2004-04-02 22:24:01 UTC (rev 6490)
@@ -49,15 +49,15 @@
 echo "Generating configuration files for $package, please wait...."
 
 echo "  aclocal $ACLOCAL_FLAGS"
-aclocal $ACLOCAL_FLAGS
+aclocal $ACLOCAL_FLAGS || exit 1
 echo "  autoheader"
-autoheader
+autoheader || exit 1
 echo "  libtoolize --automake"
-libtoolize --automake
+libtoolize --automake || exit 1
 echo "  automake --add-missing $AUTOMAKE_FLAGS"
 automake --add-missing $AUTOMAKE_FLAGS 
 echo "  autoconf"
-autoconf
+autoconf || exit 1
 
 cd $olddir
 $srcdir/configure "$@" && echo

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list