[xiph-cvs] cvs commit: ogg autogen.sh
Ralph Giles
giles at xiph.org
Fri Nov 21 16:35:50 PST 2003
giles 03/11/21 19:35:50
Modified: . autogen.sh
Log:
'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.
Revision Changes Path
1.11 +1 -1 ogg/autogen.sh
Index: autogen.sh
===================================================================
RCS file: /usr/local/cvsroot/ogg/autogen.sh,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- autogen.sh 10 Nov 2003 16:46:21 -0000 1.10
+++ autogen.sh 22 Nov 2003 00:35:49 -0000 1.11
@@ -73,7 +73,7 @@
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."
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list