[PATCH libinputmapper 09/13] autogen: honour any value of NOCONFIGURE
Peter Hutterer
peter.hutterer at who-t.net
Tue Aug 27 18:00:20 PDT 2013
>From https://people.gnome.org/~walters/docs/build-api.txt
"This tool SHOULD NOT automatically run ./configure. If for
historical reasons it does, then it MUST honor an environment
variable NOCONFIGURE, which if set, suppresses the ./configure run."
There are a few sources that suggest setting NOCONFIGURE to "yes", which
would break with the current implementation.
fwiw, gnome-autogen.sh also only tests for a zero value.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
autogen.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autogen.sh b/autogen.sh
index 6a63003..8da8bbd 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -3,6 +3,6 @@ set -e
mkdir -p m4
autoreconf -is
-if test "x$NOCONFIGURE" != "x1" ; then
+if test -z "$NOCONFIGURE" ; then
exec ./configure "$@"
fi
--
1.8.2.1
More information about the Input-tools
mailing list