1
1

From: Steven Van Ingelgem <steven@vaningelgem.be>

check first for libtoolize, and then for glibtoolize

Mac OS X (and others?) needs this
Этот коммит содержится в:
Daniel Stenberg 2009-07-17 23:38:41 +02:00
родитель 2361f50e9a
Коммит 686db51284

Просмотреть файл

@ -1,6 +1,22 @@
#!/bin/sh
${LIBTOOLIZE:-libtoolize} --copy --automake --force
LIBTOOLIZE="libtoolize"
if [ "x`which $LIBTOOLIZE`" == "x" ];
then
LIBTOOLIZE="glibtoolize";
fi
if [ "x`which $LIBTOOLIZE`" == "x" ];
then
echo "Neither libtoolize nor glibtoolize could be found!";
exit 1
fi
${LIBTOOLIZE} --copy --automake --force
${ACLOCAL:-aclocal} -I m4 $ACLOCAL_FLAGS
${AUTOHEADER:-autoheader}
# copy the private libssh2_config.h.in to the examples dir so that