AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
June 2000

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2000.06.20 21:51 "Configure for linux DSO (v3.5.5)", by Richard E Nairn
2000.06.21 14:31 "Re: Configure for linux DSO (v3.5.5)Resent-Sender: info-cvs-request@gnu.org", by Larry Jones
2000.06.21 15:34 "Re: Configure for linux DSO (v3.5.5)", by Richard E Nairn

2000.06.21 14:31 "Re: Configure for linux DSO (v3.5.5)Resent-Sender: info-cvs-request@gnu.org", by Larry Jones

Richard E Nairn writes:
>
> 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