Martin, I'm not going to apply the patch you posted for this, I think
I've found a better way to do it. The TIFFLIB_VERSION symbol is what
we should be looking at.
Hrvoje Niksic <hniksic(a)srce.hr> writes:
SL Baur <steve(a)xemacs.org> writes:
> > It appears that I have an older TIFF library, so linking fails:
>
> > symbol in file
> > _TIFFmalloc glyphs-eimage.o
> > TIFFClientOpen glyphs-eimage.o
> > _TIFFfree glyphs-eimage.o
> > ld: fatal: Symbol referencing errors. No output written to temacs
>
> Just how old is your libtiff?
`ls' says "Sep 23 1997", but that has little relevance
to the actual
libtiff version.
> Perhaps it's time you considered upgrading?
I'll upgrade, that's out of the question -- but XEmacs
shouldn't
misdetect the old library version; it should simply assume there is no
TIFF support. Looking that way, it's a good coincidence that I have
the old version, so we were able to fix that bug.
O.K. Look in tiff.h and tiffio.h. What is TIFF_VERSION (tiff.h) and
TIFFLIB_VERSION (tiffio.h)?
I see:
tiff.h:
#define TIFF_VERSION 42
tiffio.h:
/*
* This define can be used in code that requires
* compilation-related definitions specific to a
* version or versions of the library. Runtime
* version checking should be done based on the
* string returned by TIFFGetVersion.
*/
#define TIFFLIB_VERSION 19960307 /* March 7, 1996 */