autogen.sh: Honor NOCONFIGURE=1

(Also while we have the patient open, use exec instead of hanging
 around uselessly in waitpid)

http://people.gnome.org/~walters/docs/build-api.txt

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Colin Walters <walters@verbum.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Colin Walters 2012-01-04 17:37:06 -05:00 committed by Peter Hutterer
parent c0a752d286
commit 7d89eb4978

View File

@ -9,4 +9,6 @@ cd $srcdir
autoreconf --force -v --install || exit 1
cd $ORIGDIR || exit $?
$srcdir/configure "$@"
if test -z "$NOCONFIGURE"; then
exec $srcdir/configure "$@"
fi