build: support glibtoolize on Darwin

This commit is contained in:
Daemonratte 2026-08-18 19:49:23 +02:00
commit fc608281a2

View file

@ -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 $?