autogen.sh: Add /bin/sh interpreter, honor NOCONFIGURE=1

First, we should be able to execute as "./autogen.sh".  Second,
add support for NOCONFIGURE=1.  For more information,
see http://people.gnome.org/~walters/docs/build-api.txt
This commit is contained in:
Colin Walters
2012-07-11 15:33:49 -04:00
parent 381f77c5bc
commit 6d9437725a

View File

@@ -1,2 +1,5 @@
#!/bin/sh
autoreconf -v --install || exit 1
exec ./configure "$@"
if test -z "$NOCONFIGURE"; then
exec ./configure "$@"
fi