summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-06-29 11:15:13 -0400
committerColin Walters <walters@verbum.org>2010-06-29 11:15:36 -0400
commitcbb61ff99b451774937fbc5eba77a1c533c73e90 (patch)
treedecb85483a20cfcaaf6f636565d270b9a41fc866
parentddedf5a2c2c63bfe8d6f04376cf2bba215a5eb19 (diff)
downloadgdk-pixbuf-cbb61ff99b451774937fbc5eba77a1c533c73e90.tar.gz
[autogen.sh] Support NOCONFIGURE, like gnome-common
-rwxr-xr-xautogen.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 52c685a6f..068fd79fe 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -72,7 +72,12 @@ test $TEST_TYPE $FILE || {
exit 1
}
-if test -z "$AUTOGEN_SUBDIR_MODE"; then
+# NOCONFIGURE is used by gnome-common; support both
+if ! test -z "$AUTOGEN_SUBDIR_MODE"; then
+ NOCONFIGURE=1
+fi
+
+if test -z "$NOCONFIGURE"; then
if test -z "$*"; then
echo "I am going to run ./configure with no arguments - if you wish "
echo "to pass any to it, please specify them on the $0 command line."
@@ -117,7 +122,7 @@ $AUTOMAKE --add-missing || exit $?
autoconf || exit $?
cd $ORIGDIR || exit $?
-if test -z "$AUTOGEN_SUBDIR_MODE"; then
+if test -z "$NOCONFIGURE"; then
$srcdir/configure --enable-maintainer-mode $AUTOGEN_CONFIGURE_ARGS "$@" || exit $?
echo