From 23f51fc2a75009ba9e75bbe65bedcbda8c7edf30 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Thu, 11 Oct 2012 10:38:21 +0200 Subject: [PATCH] build: run ./configure in ./autogen.sh only if NOCONFIGURE is not set In some circumstances it might not be desirable to run ./configure together with ./autogen.sh. You can now set NOCONFIGURE=1 to avoid this. Signed-off-by: David Herrmann --- autogen.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 1278ffe..a96d6ef 100755 --- a/autogen.sh +++ b/autogen.sh @@ -2,4 +2,7 @@ set -e mkdir -p m4 autoreconf -i -./configure --enable-debug "$@" + +if test ! "x$NOCONFIGURE" = "x1" ; then + exec ./configure --enable-debug "$@" +fi