bootstrap: Detect whether libtoolize is named `glibtoolize' (MacOS)

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1400 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch
2017-12-29 22:23:06 +00:00
parent 6e57e225e7
commit 82dc3bf679
2 changed files with 10 additions and 1 deletions

View File

@@ -13,7 +13,11 @@ set -x
rm -rf autom4te.cache
libtoolize
# MacOS calls it "glibtoolize", everyone else "libtoolize"
# probe for that
LIBTOOLIZE=libtoolize
glibtoolize --version > /dev/null 2>&1 && LIBTOOLIZE=glibtoolize
${LIBTOOLIZE}
${ACLOCAL}
${AUTOHEADER}