This is config.libtiff.c in view mode; [Download] [Up]
/* Used by `configure' to test validity of libtiff library */
extern const char *
TIFFGetVersion();
int main()
{
int i;
const char *version;
version = TIFFGetVersion();
/* Scan for "Version" and check the version number */
i = 0;
while (version[i] != '\0' && version[i] != 'V')
i++;
/* If we found "Version" and the fractional value is >= 3, then we
have a good version of libtiff
*/
if (version[i] == 'V' && ((version[i+10] - '0') >= 3))
exit (0);
/* Otherwise we do not */
exit(1);
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.