diff options
author | Nathan Hjelm <hjelmn@me.com> | 2016-02-25 13:35:36 -0700 |
---|---|---|
committer | Nathan Hjelm <hjelmn@me.com> | 2016-02-26 21:30:00 -0700 |
commit | 64d583f4dc83e9e1ec5bc9c2269cfd17523eb070 (patch) | |
tree | a014b0856c42d89f97f098f344f059e8627b9989 | |
parent | 6de66bbdb7f1c6db8215867190dc5d0ce52875c2 (diff) | |
download | libusb-64d583f4dc83e9e1ec5bc9c2269cfd17523eb070.tar.gz |
bootstrap: use autoreconf
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
-rwxr-xr-x | bootstrap.sh | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index 8b2b2c0..dc56539 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,19 +1,6 @@ #!/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 +if ! test -d m4 ; then + mkdir m4 fi - -$LIBTOOLIZE --copy --force || exit 1 -aclocal || exit 1 -autoheader || exit 1 -autoconf || exit 1 -automake -a -c || exit 1 +autoreconf -ivf || exit 1 |