From: Joerg Mayer Date: Thu, 9 Aug 2018 13:38:06 +0000 (+0200) Subject: Check whether glibtoolize is available in addition to libtoolize X-Git-Tag: v8.00~92 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b48ce600be27547c68da410a998499c2b12308c6;p=users%2Fdwmw2%2Fopenconnect.git 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 --- 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 &&