summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorPete Batard <pete@akeo.ie>2012-05-02 12:06:36 +0100
committerPete Batard <pete@akeo.ie>2012-05-02 12:06:36 +0100
commitae1124c112c88e807fb5f500846c9b12ea882122 (patch)
treea9cb78a3c74fe9473b0759278fe77dc4b63c1cd7 /autogen.sh
parentec1cc1cc5c2766c802cfb326636687c0a9459e0b (diff)
downloadlibusb-ae1124c112c88e807fb5f500846c9b12ea882122.tar.gz
Autotools: Add bootstrap.sh
bootstrap.sh does not invoke configure whereas autogen.sh does. This allows libusbx users to choose the one that suits them best.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh17
1 files changed, 1 insertions, 16 deletions
diff --git a/autogen.sh b/autogen.sh
index 782bec7..5872540 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,18 +1,3 @@
#!/bin/sh
-
-# 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
-fi
-
-$LIBTOOLIZE --copy --force || exit 1
-aclocal || exit 1
-autoheader || exit 1
-autoconf || exit 1
-automake -a -c || exit 1
+source ./bootstrap.sh
./configure --enable-maintainer-mode --enable-examples-build $*