SL Baur <steve(a)xemacs.org> writes:
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.
Excellent -- that's better than checking for random functions. (note
that Martin posted the patch, not me.)
> 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 */
I see:
tiff.h:
/*
* Tag Image File Format (TIFF)
*
* Based on Rev 6.0 from:
* Developer's Desk
* Aldus Corporation
* 411 First Ave. South
* Suite 200
* Seattle, WA 98104
* 206-622-5500
*/
#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 19970127 /* January 27, 1997 */
which is quite strange, because it is supposed to mean that I have a
*later* tifflib than you do. Weird!
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Personifiers Unite! You have nothing to lose but Mr. Dignity!