build: support glibtoolize on Darwin
This commit is contained in:
parent
6d7bb4c86a
commit
fc608281a2
1 changed files with 6 additions and 2 deletions
|
|
@ -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 $?
|
||||
|
|
|
|||
Loading…
Reference in a new issue