X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=bootstrap;h=c01b7e488468aadf07b21ece85245f63573f4391;hb=733dfb288fadefee93e61bb61a39171d210a93aa;hp=2e7b5329fb853bfec036e99d872bc54c426b3404;hpb=3df27e5ce5bb4c62839370f67ea3fd78f987e84d;p=openocd.git diff --git a/bootstrap b/bootstrap index 2e7b5329fb..c01b7e4884 100755 --- a/bootstrap +++ b/bootstrap @@ -1,8 +1,9 @@ #!/bin/sh -e +# Run the autotools bootstrap sequence to create the configure script if libtoolize --version >/dev/null 2>&1; then libtoolize="libtoolize" -elif libtoolize --version >/dev/null 2>&1; then +elif glibtoolize --version >/dev/null 2>&1; then libtoolize="glibtoolize" else echo "libtool is required" >&2 @@ -13,7 +14,6 @@ fi ( set -x aclocal -autoheader ${libtoolize} --automake --copy autoconf autoheader