Index: third_party/libusb/autogen.sh |
diff --git a/third_party/libusb/autogen.sh b/third_party/libusb/autogen.sh |
new file mode 100755 |
index 0000000000000000000000000000000000000000..d5c6a19a81537ccde20b65a654880d0c24df6ff3 |
--- /dev/null |
+++ b/third_party/libusb/autogen.sh |
@@ -0,0 +1,12 @@ |
+#!/bin/sh |
+ |
+# use glibtoolize if it is available (darwin) |
+(glibtoolize --version) < /dev/null > /dev/null 2>&1 && LIBTOOLIZE=glibtoolize || LIBTOOLIZE=libtoolize |
+ |
+$LIBTOOLIZE --copy --force || exit 1 |
+aclocal || exit 1 |
+autoheader || exit 1 |
+autoconf || exit 1 |
+automake -a -c || exit 1 |
+./configure --enable-maintainer-mode --enable-debug-log \ |
+ --enable-examples-build $* |