summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2016-05-19 10:49:29 +0200
committerTomeu Vizoso <tomeu.vizoso@collabora.com>2016-05-19 14:42:39 +0200
commit12fd590b5ccf9683e72830b88a6baf87fa27fb68 (patch)
treec563eca72ce51bb7ccc0136499cf2f526be3f84b /autogen.sh
parent7aee5110f0ac355674cfc07055eb08784314547f (diff)
build: Skip configure step if is NOCONFIGURE set
Allow users of autogen.sh to skip the call to configure, which is needed when building out of tree. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
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 629a2575..ec633f3e 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -16,4 +16,6 @@ fi
autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?
-$srcdir/configure "$@"
+if test -z "$NOCONFIGURE"; then
+ $srcdir/configure "$@"
+fi