summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-01-16 13:56:17 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2022-01-16 13:58:39 +0100
commitff05c94a6e45924402045b1fec602b2deb5ce3cf (patch)
tree7720602452293820d17e9e4e5f8d58848ea5fc7b /autogen.sh
parent343bf0d39bf661ac5a3ae2e9251f489c5d1eb471 (diff)
downloadlibxml2-ff05c94a6e45924402045b1fec602b2deb5ce3cf.tar.gz
Fix check for libtool in autogen.sh
libtoolize is named glibtoolize on some macOS systems.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index d03a40c8..3778be71 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -16,7 +16,8 @@ DIE=0
DIE=1
}
-(libtoolize --version) < /dev/null > /dev/null 2>&1 || {
+(libtoolize --version) < /dev/null > /dev/null 2>&1 ||
+(glibtoolize --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,"