From: <enl...@li...> - 2002-04-08 21:28:24
|
Enlightenment CVS committal Author : thalma Project : e17 Module : libs/edb Dir : e17/libs/edb Modified Files: Tag: SPLIT autogen.sh Log Message: fixed order and added checks =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edb/autogen.sh,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.1.2.1 diff -u -3 -r1.1.1.1 -r1.1.1.1.2.1 --- autogen.sh 2 Aug 2000 19:11:01 -0000 1.1.1.1 +++ autogen.sh 8 Apr 2002 21:28:22 -0000 1.1.1.1.2.1 @@ -7,12 +7,17 @@ cd "$srcdir" DIE=0 +abort () { + echo "$1 not found or command failed. Aborting!" + exit 1 +} + set -x -autoheader -libtoolize --ltdl --force --copy -aclocal -automake --foreign --add-missing -autoconf +aclocal || abort "aclocal" +libtoolize --ltdl --force --copy || abort "libtoolize" +autoheader || abort "autoheader" +automake --foreign --add-missing || abort "automake" +autoconf || abort "autoconf" if test -z "$*"; then echo "I am going to run ./configure with no arguments - if you wish " @@ -21,7 +26,7 @@ cd "$THEDIR" -$srcdir/configure "$@" +$srcdir/configure "$@" || abort "configure" set +x |