forked from enlightenment/efl
parent
fd507f34cd
commit
b0967ede9d
|
@ -1,5 +1,10 @@
|
|||
#! /bin/sh
|
||||
|
||||
abort () {
|
||||
echo "$1 not found or command failed. Aborting!"
|
||||
exit 1
|
||||
}
|
||||
|
||||
srcdir=`dirname $0`
|
||||
test -z "$srcdir" && srcdir=.
|
||||
|
||||
|
@ -8,11 +13,11 @@ cd "$srcdir"
|
|||
DIE=0
|
||||
|
||||
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 @@ fi
|
|||
|
||||
cd "$THEDIR"
|
||||
|
||||
$srcdir/configure "$@"
|
||||
$srcdir/configure "$@" || abort "configure"
|
||||
|
||||
set +x
|
||||
|
||||
|
|
Loading…
Reference in New Issue