darwin: downgrade error message on failure to open interface to info
[platform/upstream/libusb.git] / autogen.sh
index 906251a..2ffb10e 100755 (executable)
@@ -2,5 +2,9 @@
 
 set -e
 
-./bootstrap.sh
-./configure --enable-maintainer-mode --enable-examples-build $*
+srcdir="$(dirname "$0")"
+
+"$srcdir"/bootstrap.sh
+if [ -z "$NOCONFIGURE" ]; then
+    exec "$srcdir"/configure --enable-examples-build --enable-tests-build "$@"
+fi