summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorRalph Giles <giles@xiph.org>2003-11-22 00:35:49 +0000
committerRalph Giles <giles@xiph.org>2003-11-22 00:35:49 +0000
commit6026eb0fcc32c742f809c929c2670636e87f9418 (patch)
tree83ef0b3d3a8b1b38d225f126072caaaa06d08301 /autogen.sh
parenta059d65fee868aa7a38f08dfe9f61211fdd4e446 (diff)
downloadogg-git-6026eb0fcc32c742f809c929c2670636e87f9418.tar.gz
'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
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
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."