diff options
author | Ralph Giles <giles@xiph.org> | 2003-11-22 00:35:49 +0000 |
---|---|---|
committer | Ralph Giles <giles@xiph.org> | 2003-11-22 00:35:49 +0000 |
commit | 6026eb0fcc32c742f809c929c2670636e87f9418 (patch) | |
tree | 83ef0b3d3a8b1b38d225f126072caaaa06d08301 /autogen.sh | |
parent | a059d65fee868aa7a38f08dfe9f61211fdd4e446 (diff) | |
download | ogg-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-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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." |