Re: Configure issues

From: Daniel Stenberg <>
Date: Thu, 7 Oct 1999 14:10:11 +0200 (MET DST)
Message-ID: <Pine.GSO.4.10.9910071406130.22039-100000_at_stanley>

On Thu, 7 Oct 1999, Tony Earnshaw wrote:

> Quite frankly, I can't see configure doing any better without input from
> people who know what the OS wants of and does with headers and libs.
> E.g., OS 5.0 uses /usr/lib/libsocket.a/.so for gethostbyname() etc,
> UnixWare uses /usr/lib/ This stumps the Apache (and other)
> configures.

I'd be happy to write a configure rule that automatically detects which of those libs to use. In fact, I guess it would look something like this:

dnl socket lib?
AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(socket, gethostbyname))

dnl resolv lib?
AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(resolv, gethostbyname))

 Daniel Stenberg --
 You'll find my hypermail pages at
Received on Thu 07 Oct 1999 02:10:06 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:51 PM GMT GMT