From 6026eb0fcc32c742f809c929c2670636e87f9418 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Sat, 22 Nov 2003 00:35:49 +0000 Subject: 'which' doesn't return a non-zero error code when the command isn't found, at least on darwin, so the check for *libtoolize wasn't failing properly on MacOS. Actually try running it instead. svn path=/trunk/ogg/; revision=5625 --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 04a26d9..590ee9c 100755 --- a/autogen.sh +++ b/autogen.sh @@ -73,7 +73,7 @@ fi echo -n "checking for libtool... " for LIBTOOLIZE in libtoolize glibtoolize nope; do - (which $LIBTOOLIZE) > /dev/null 2>&1 && break + ($LIBTOOLIZE --version) < /dev/null > /dev/null 2>&1 && break done if test x$LIBTOOLIZE = xnope; then echo "nope." -- cgit v1.2.1