Enlightenment CVS committal Author : vapier Project : eterm Module : libast
Dir : eterm/libast Modified Files: autogen.sh Log Message: abort early on if some autotool app failed to run =================================================================== RCS file: /cvsroot/enlightenment/eterm/libast/autogen.sh,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- autogen.sh 7 Jun 2005 20:32:37 -0000 1.9 +++ autogen.sh 18 Jul 2005 05:26:39 -0000 1.10 @@ -1,6 +1,6 @@ #!/bin/sh # Run this to generate all the initial makefiles, etc. -# $Id: autogen.sh,v 1.9 2005/06/07 20:32:37 mej Exp $ +# $Id: autogen.sh,v 1.10 2005/07/18 05:26:39 vapier Exp $ broken() { echo @@ -9,6 +9,12 @@ echo "ERROR: $1 not found." exit -1 } +abort() { + echo + echo "Running '$1' failed :(" + echo "Try updating the package on your system and try again." + exit -2 +} DIE=0 @@ -54,11 +60,13 @@ fi # Run the stuff. -(set -x && $LIBTOOLIZE -c -f) -(set -x && $ACLOCAL $ACLOCAL_FLAGS) -(set -x && $AUTOCONF) -(set -x && $AUTOHEADER) -(set -x && $AUTOMAKE -a -c) +(set -x && $LIBTOOLIZE -c -f) || abort libtool +(set -x && $ACLOCAL $ACLOCAL_FLAGS) || abort aclocal +(set -x && $AUTOCONF) || abort autoconf +(set -x && $AUTOHEADER) || abort autoheader +(set -x && $AUTOMAKE -a -c) || abort automake # Run configure. +if test x"$NOCONFIGURE" = x; then (set -x && ./configure "$@") +fi ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs