Enlightenment CVS committal Author : vapier Project : eterm Module : Eterm
Dir : eterm/Eterm Modified Files: autogen.sh Log Message: if some autotool fails, make sure we abort =================================================================== RCS file: /cvsroot/enlightenment/eterm/Eterm/autogen.sh,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- autogen.sh 27 Jun 2005 00:07:13 -0000 1.9 +++ autogen.sh 31 Aug 2005 22:07:10 -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/27 00:07:13 mej Exp $ +# $Id: autogen.sh,v 1.10 2005/08/31 22:07:10 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,14 +60,16 @@ #fi # Run the stuff. -(set -x && $LIBTOOLIZE -c -f) -(set -x && $ACLOCAL -I . $ACLOCAL_FLAGS) -(set -x && $AUTOCONF) -(set -x && $AUTOHEADER) -(set -x && $AUTOMAKE -a -c) +(set -x && $LIBTOOLIZE -c -f) || abort libtool +(set -x && $ACLOCAL -I . $ACLOCAL_FLAGS) || abort libtool +(set -x && $AUTOCONF) || abort libtool +(set -x && $AUTOHEADER) || abort libtool +(set -x && $AUTOMAKE -a -c) || abort libtool # Run configure. -./configure "$@" +if test x"$NOCONFIGURE" = x; then +(set -x && ./configure "$@") +fi if [ -f cvs.motd ]; then echo "ATTENTION CVS Users!" ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs