stream pushing ok without access permission of /dev/video0
[rtmpclient.git] / app / src / main / jni / libusb / bootstrap.sh
diff --git a/app/src/main/jni/libusb/bootstrap.sh b/app/src/main/jni/libusb/bootstrap.sh
new file mode 100644 (file)
index 0000000..8b2b2c0
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+# use libtoolize if available, otherwise look for glibtoolize (darwin)
+if (libtoolize --version) < /dev/null > /dev/null 2>&1; then
+  LIBTOOLIZE=libtoolize
+elif (glibtoolize --version) < /dev/null > /dev/null 2>&1; then
+  LIBTOOLIZE=glibtoolize
+else
+  echo "libtoolize or glibtoolize was not found! Please install libtool." 1>&2
+  exit 1
+fi
+
+$LIBTOOLIZE --copy --force || exit 1
+aclocal || exit 1
+autoheader || exit 1
+autoconf || exit 1
+automake -a -c || exit 1