autogen.sh: Honor NOCONFIGURE=1
authorColin Walters <walters@verbum.org>
Thu, 30 May 2013 17:34:57 +0000 (13:34 -0400)
committerHans de Goede <hdegoede@redhat.com>
Thu, 20 Jun 2013 13:24:08 +0000 (15:24 +0200)
See http://people.gnome.org/~walters/docs/build-api.txt

Hdg: I know this may seem unnecessary since we also have bootstrap.sh, but
the Gnome people are doing continues build testing of Gnome + dependencies
and having all autogen.sh scripts support NOCONFIGURE=1 makes live easier for
them. Note that in return we get "free" continues build-testing and patches
and / or a heads up when we break things.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
autogen.sh
libusb/version_nano.h

index 591f7ab..ab87fb3 100755 (executable)
@@ -3,4 +3,6 @@
 set -e
 
 ./bootstrap.sh
-./configure --enable-maintainer-mode --enable-examples-build --enable-tests-build "$@"
+if test -z "$NOCONFIGURE"; then
+    exec ./configure --enable-maintainer-mode --enable-examples-build --enable-tests-build "$@"
+fi
index 506ae07..78685fc 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 10753
+#define LIBUSB_NANO 10754