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/libresolv.so. 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 -- http://www.fts.frontec.se/~dast/ You'll find my hypermail pages at http://www.fts.frontec.se/~dast/hypermailReceived 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