test for darwin explicity rather than using which

This commit is contained in:
Bill Currie 2003-08-28 14:54:47 +00:00
parent 2c30939891
commit f5462048fe

View file

@ -22,10 +22,10 @@ if test "$1" = "clean"; then
exit 0
fi
# Check libtoolize version, fix for Debian/Woody
if test -z `which glibtoolize 2> /dev/null` ; then
libtoolize=libtoolize
else
if test x`uname` = xDarwin ; then
libtoolize=glibtoolize
else
libtoolize=libtoolize
fi
lt=`which $libtoolize`
if test -n "$lt" ; then