]> git.ipfire.org Git - thirdparty/json-c.git/commitdiff
autogen.sh: Add /bin/sh interpreter, honor NOCONFIGURE=1 37/head
authorColin Walters <walters@verbum.org>
Wed, 11 Jul 2012 19:33:49 +0000 (15:33 -0400)
committerColin Walters <walters@verbum.org>
Wed, 11 Jul 2012 19:45:49 +0000 (15:45 -0400)
First, we should be able to execute as "./autogen.sh".  Second,
add support for NOCONFIGURE=1.  For more information,
see http://people.gnome.org/~walters/docs/build-api.txt

autogen.sh

index 990096c9677dbaa18b00209e7eb57e0c4cc9ad38..169d6899771e0dd321d053667da90e65548576c7 100755 (executable)
@@ -1,2 +1,5 @@
+#!/bin/sh
 autoreconf -v --install || exit 1
-exec ./configure  "$@"
+if test -z "$NOCONFIGURE"; then
+    exec ./configure  "$@"
+fi