AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2015.04.13 18:03 "[Tiff] Reliable way to detect library version", by Larry Gritz
2015.04.13 19:37 "Re: [Tiff] Reliable way to detect library version", by Bob Friesenhahn
2015.04.13 19:47 "Re: [Tiff] Reliable way to detect library version", by Larry Gritz
2015.04.14 02:06 "Re: [Tiff] Reliable way to detect library version", by Bob Friesenhahn

2015.04.14 02:06 "Re: [Tiff] Reliable way to detect library version", by Bob Friesenhahn

Do you it's wise to use a combination of TIFFLIB_VERSION (which is monotonic *within* each branch, but not unique when comparing branches) and also detecting the presence of symbol TIFF_VERSION_CLASSIC, which should (I think) only exist in 4.x?

Probably not wise, but it seems like it will work today.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/