core: revert some of prior patch
[platform/upstream/libusb.git] / bootstrap.sh
index 3e9574a..dc56539 100755 (executable)
@@ -1,17 +1,6 @@
 #!/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
+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