Windows: Avoid potential mismatch in transfer error reporting
[libusbx.git] / bootstrap.sh
blob8b2b2c008e9fffaa5aff562dfc89b34b4193c6fd
1 #!/bin/sh
3 set -e
5 # use libtoolize if available, otherwise look for glibtoolize (darwin)
6 if (libtoolize --version) < /dev/null > /dev/null 2>&1; then
7 LIBTOOLIZE=libtoolize
8 elif (glibtoolize --version) < /dev/null > /dev/null 2>&1; then
9 LIBTOOLIZE=glibtoolize
10 else
11 echo "libtoolize or glibtoolize was not found! Please install libtool." 1>&2
12 exit 1
15 $LIBTOOLIZE --copy --force || exit 1
16 aclocal || exit 1
17 autoheader || exit 1
18 autoconf || exit 1
19 automake -a -c || exit 1