From 1527c395cbe0bbab9e66a42213ef3ac5ce1c0383 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 10 Jan 2013 09:00:18 -0600 Subject: [PATCH] Resepct $NOCONFIGURE Patch from Colin Walters. --- autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 93855cb..1482e40 100755 --- a/autogen.sh +++ b/autogen.sh @@ -86,7 +86,7 @@ test $TEST_TYPE $FILE || { exit 1 } -if test -z "$AUTOGEN_SUBDIR_MODE"; then +if test -z "$AUTOGEN_SUBDIR_MODE" -a -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." @@ -115,7 +115,7 @@ echo Running $AUTOCONF $AUTOCONF cd $ORIGDIR -if test -z "$AUTOGEN_SUBDIR_MODE"; then +if test -z "$AUTOGEN_SUBDIR_MODE" -a -z "$NOCONFIGURE"; then echo Running $srcdir/configure "$@" $srcdir/configure "$@"