From 4a8125a817568cc748a3c1d1c93a559a38978ce8 Mon Sep 17 00:00:00 2001 From: joerg_wunsch Date: Fri, 29 Dec 2017 22:23:06 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ bootstrap | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6a1df393..d16c6e24 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-12-29 Joerg Wunsch + + * bootstrap: Detect whether libtoolize is named + `glibtoolize' (MacOS) + 2017-11-30 Joerg Wunsch * configure.ac: Bump version date, due to UPDI addition diff --git a/bootstrap b/bootstrap index 0c1f84cc..207dc4c2 100755 --- a/bootstrap +++ b/bootstrap @@ -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}