From b48ce600be27547c68da410a998499c2b12308c6 Mon Sep 17 00:00:00 2001 From: Joerg Mayer Date: Thu, 9 Aug 2018 15:38:06 +0200 Subject: [PATCH] Check whether glibtoolize is available in addition to libtoolize macOS doesn't have libtoolize and GNU libtool only installs glibtoolize. Signed-off-by: Joerg Mayer Signed-off-by: David Woodhouse --- autogen.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/autogen.sh b/autogen.sh index f3e1488a..088dacc7 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,5 +1,6 @@ #!/bin/sh +$(type glibtoolize >/dev/null 2>&1) && LIBTOOLIZE=${LIBTOOLIZE:-glibtoolize} aclocal -I m4 && \ ${LIBTOOLIZE:-libtoolize} --automake --force && \ autoheader --force &&