summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2012-03-25 12:36:06 +0200
committerUri Lublin <uril@redhat.com>2012-05-23 18:39:08 +0300
commit02018db6fc289d3e7156b363017f76609513b7b2 (patch)
tree7244bb50daf57e588ae366cecf244ca1a921d269
parentf6d1c7ae1105c8ffe232c589445f00ae31898174 (diff)
autogen.sh: do not run ./configure if env variable NOCONFIGURE is defined
-rwxr-xr-xautogen.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 52083e5..568f718 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,4 +1,6 @@
#!/bin/sh
autoreconf -fi
-./configure $@
+if [ -z "$NOCONFIGURE" ]; then
+ ./configure $@
+fi