X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fjni%2Flibusb%2Fbootstrap.sh;fp=app%2Fsrc%2Fmain%2Fjni%2Flibusb%2Fbootstrap.sh;h=8b2b2c008e9fffaa5aff562dfc89b34b4193c6fd;hb=831cc09829bc6e18d8d0d8bb78063e89ea565ce9;hp=0000000000000000000000000000000000000000;hpb=061580c83656bf358b01a6b78fd22ae9bd497728;p=rtmpclient.git diff --git a/app/src/main/jni/libusb/bootstrap.sh b/app/src/main/jni/libusb/bootstrap.sh new file mode 100644 index 0000000..8b2b2c0 --- /dev/null +++ b/app/src/main/jni/libusb/bootstrap.sh @@ -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