diff --git a/autogen.sh b/autogen.sh index 79ece34..f4cdee4 100755 --- a/autogen.sh +++ b/autogen.sh @@ -6,9 +6,9 @@ test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` cd "$srcdir" -autoreconf -v --install || exit 1 +autoreconf -v --install || exit $? cd "$ORIGDIR" || exit $? if test -z "$NOCONFIGURE"; then - "$srcdir/configure" "$@" + exec "$srcdir/configure" "$@" fi