Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Autotools: Fix autogen.sh behavior when libtool is not found

* Fix naked "exit", which no exit code, to prevent a build failure
  from being noticed automatically if a build dependency is lacking.
* Also printed error message to stderr rather than stdout.
  • Loading branch information...
commit 802a994e6c26b5f9eec55a2c18a560832f3c57ac 1 parent dd06d60
Lars Wirzenius authored pbatard committed
Showing with 3 additions and 3 deletions.
  1. +2 −2 bootstrap.sh
  2. +1 −1  libusb/version_nano.h
View
4 bootstrap.sh
@@ -8,8 +8,8 @@ if (libtoolize --version) < /dev/null > /dev/null 2>&1; then
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
View
2  libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 10521
+#define LIBUSB_NANO 10522
Please sign in to comment.
Something went wrong with that request. Please try again.