2000.06.21 14:31 "Re: Configure for linux DSO (v3.5.5)Resent-Sender: info-cvs-request@gnu.org", by Larry Jones
diff -ur tiff-v3.5.5/configure tiff-v3.5.5-old/configure
--- tiff-v3.5.5/configure Mon Mar 20 11:20:42 2000
+++ tiff-v3.5.5-old/configure Tue Jun 20 15:42:30 2000
@@ -1156,7 +1156,7 @@
TIFFLIBREF='-L${DEPTH}/libtiff -ltiff'
;;
*-linux*)
- if [ -r /lib/libc.so.6 || -r /lib/libc.so.5 ]; then
+ if [ -r /lib/libc.so.6 -o -r /lib/libc.so.5 ]; then
DSOSUF=so.${DIST_MAJOR}
DSOSUF_VERSION=${DSOSUF}.${DIST_MINOR}.${DIST_ALPHA}
LIBCOPTS='-fPIC'
A better fix is:
if [ -r /lib/libc.so.6 ] || [ -r /lib/libc.so.5 ]; then
The boolean test operators (-a and -o) operators have screwy precedences on some systems, their grammar is highly ambiguous which can lead to very unpleasant surprises, and they're not supported by POSIX.
-Larry Jones
Start tying the sheets together. We'll go out the window. -- Calvin