| Index: third_party/libusb/src/bootstrap.sh
|
| diff --git a/third_party/libusb/src/autogen.sh b/third_party/libusb/src/bootstrap.sh
|
| similarity index 81%
|
| copy from third_party/libusb/src/autogen.sh
|
| copy to third_party/libusb/src/bootstrap.sh
|
| index c7bb6797d30817ddb28061d65e7e89df46135d8f..8b2b2c008e9fffaa5aff562dfc89b34b4193c6fd 100755
|
| --- a/third_party/libusb/src/autogen.sh
|
| +++ b/third_party/libusb/src/bootstrap.sh
|
| @@ -1,13 +1,15 @@
|
| #!/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."
|
| - exit
|
| + echo "libtoolize or glibtoolize was not found! Please install libtool." 1>&2
|
| + exit 1
|
| fi
|
|
|
| $LIBTOOLIZE --copy --force || exit 1
|
| @@ -15,5 +17,3 @@ aclocal || exit 1
|
| autoheader || exit 1
|
| autoconf || exit 1
|
| automake -a -c || exit 1
|
| -./configure --enable-maintainer-mode --enable-debug-log \
|
| - --enable-examples-build $*
|
|
|