aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautogen.sh16
1 files changed, 9 insertions, 7 deletions
diff --git a/autogen.sh b/autogen.sh
index 3b94e5d..8007b3b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -8,11 +8,13 @@ autoreconf --verbose --force --install || {
exit 1;
}
-./configure "$@" || {
- echo 'configure failed';
- exit 1;
-}
+if [ -z "$NOCONFIGURE" ] ; then
+ ./configure "$@" || {
+ echo 'configure failed';
+ exit 1;
+ }
-echo
-echo "Now type 'make' to compile this module."
-echo
+ echo
+ echo "Now type 'make' to compile this module."
+ echo
+fi