summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-11-24 13:29:44 -0200
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2011-11-24 13:29:44 -0200
commitc931d00bf0c254cf027fbdb7ba8e2b28d7d552ea (patch)
tree6c99dfc1c749b76d40e5672d356cda41b2fb341a /autogen.sh
parente7d903696abc0dac636f196040212276fc08a24f (diff)
downloadkmod-c931d00bf0c254cf027fbdb7ba8e2b28d7d552ea.tar.gz
kmod-c931d00bf0c254cf027fbdb7ba8e2b28d7d552ea.tar.bz2
kmod-c931d00bf0c254cf027fbdb7ba8e2b28d7d552ea.zip
Do not configure if NOCONFIGURE is set
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index b16a56e..3a339fb 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -22,4 +22,6 @@ args="--prefix=/usr \
--sysconfdir=/etc \
--libdir=$(libdir /usr/lib)"
-./configure $args CFLAGS="${MYCFLAGS} ${CFLAGS}" $@
+if [ -z "$NOCONFIGURE" ]; then
+ ./configure $args CFLAGS="${MYCFLAGS} ${CFLAGS}" $@
+fi