From fc608281a2f0b466e27a92a268713a6c69fa217e Mon Sep 17 00:00:00 2001 From: Daemonratte Date: Tue, 18 Aug 2026 19:49:23 +0200 Subject: [PATCH] build: support glibtoolize on Darwin --- autogen.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index dac175742..e055be4b1 100755 --- a/autogen.sh +++ b/autogen.sh @@ -12,7 +12,11 @@ FILE=gdk DIE=0 -if libtoolize --version < /dev/null > /dev/null 2>&1 ; then : ; else +if libtoolize --version < /dev/null > /dev/null 2>&1 ; then + LIBTOOLIZE=libtoolize +elif glibtoolize --version < /dev/null > /dev/null 2>&1 ; then + LIBTOOLIZE=glibtoolize +else echo echo "You must have libtool installed to compile $PROJECT." echo "Install the appropriate package for your distribution," @@ -138,7 +142,7 @@ rm -rf autom4te.cache $ACLOCAL -I m4 $ACLOCAL_FLAGS || exit $? -libtoolize --copy --force || exit $? +$LIBTOOLIZE --copy --force || exit $? gtkdocize --copy || exit $? autoheader || exit $?