Compile problems because config.h.in

Russ Allbery rra at stanford.edu
Sat Oct 23 22:41:16 UTC 1999


Russ Allbery <rra at Stanford.EDU> writes:
> Heiko Schlichting <inn-bugs at fu-berlin.de> writes:

>> PS: the patch should prevent checking for libcrypt and libbsd because
>>     it isn't a good idea to use these libraries on IRIX although they
>>     exists.

> The right way to handle this is generally the way that configure already
> handles looking for libsocket and libnsl.  First you see if you can get
> the function directly from libc, and if you can, you don't look in the
> other library for it.  Since IRIX has flock() in libc, I think that will
> solve the problem for IRIX, and it isn't platform-specific (and on other
> platforms, it means linking against fewer libraries that you don't need,
> which is also good).  I'll make that change shortly.

Okay, I've now made that change.  We should almost never have to check for
libbsd anyway, since the only thing we needed it for was flock(), and we
don't use flock() at all if we can find fcntl().

-- 
Russ Allbery (rra at stanford.edu)         <URL:http://www.eyrie.org/~eagle/>


More information about the inn-bugs mailing list