./configure and large file support

Heath Kehoe hakehoe at avalon.net
Wed Jan 5 22:27:04 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Dec 19, 2004, at 16:04, Russ Allbery wrote:
>
> glibc's handling of fseeko and ftello is just one of the most annoying
> things ever.  Okay, configure now probes separately to see if they are
> declared, and declares them if not.

This change breaks the build under HP/UX.  The check for declarations 
of fseeko/ftello fails, because configure does not use the largefile 
defines when it does its little compilation test.  Thus, the 
declarations for fseeko/ftello in clibrary.h get enabled.  But for 
HP/UX, those declarations are incorrect.   The result is, INN compiles, 
but fails to run in weird ways because any invocation of fseeko/ftello 
silently fail.

How's that for annoying?

My quickie solution is to wrap the declarations in clibrary.h with 
#ifndef _HPUX_SOURCE

- - heath
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB3Gm84uXPAG0A1J4RAje6AJ9TD151TpcBLBOQwflPVzXlZvqLHACgsjLX
IJ0mct/jzJ0MVW0t4fRqRtI=
=5cFs
-----END PGP SIGNATURE-----



More information about the inn-workers mailing list