From 8c00a4215cd96788a9ee207d2211d6a3be4a8857 Mon Sep 17 00:00:00 2001 From: "Lvv.me" Date: Sun, 20 Jun 2021 12:17:34 +0800 Subject: [PATCH] support run autogen on macOS GNU libtool & libtoolize renamed glibtool & glibtoolize export LIBTOOL=glibtool export LIBTOOLIZE=glibtoolize --- autogen.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index d03a40c8..221d4086 100755 --- a/autogen.sh +++ b/autogen.sh @@ -16,7 +16,9 @@ DIE=0 DIE=1 } -(libtoolize --version) < /dev/null > /dev/null 2>&1 || { +test -z "$LIBTOOLIZE" && LIBTOOLIZE=libtoolize + +($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 || { echo echo "You must have libtool installed to compile libxml." echo "Download the appropriate package for your distribution," -- GitLab