diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -5,6 +5,9 @@ via mkstemp in some configurations. ok djm@ - (dtucker) [auth-shadow.c] Prevent compiler warnings if "DAY" is defined by the system headers. + - (dtucker) [configure.ac] Bug #893: check for libresolv early on Reliant + Unix; prevents problems relating to the location of -lresolv in the + link order. 20050215 - (dtucker) [config.sh.in] Collect oslevel -r too. @@ -2139,4 +2142,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.3656 2005/02/16 03:20:06 dtucker Exp $ +$Id: ChangeLog,v 1.3657 2005/02/16 05:19:17 dtucker Exp $ diff --git a/configure.ac b/configure.ac index b27f0cf7..aa6aed6b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.242 2005/02/15 10:45:57 dtucker Exp $ +# $Id: configure.ac,v 1.243 2005/02/16 05:19:17 dtucker Exp $ # # Copyright (c) 1999-2004 Damien Miller # @@ -339,6 +339,8 @@ mips-sony-bsd|mips-sony-newsos4) *-sni-sysv*) # /usr/ucblib MUST NOT be searched on ReliantUNIX AC_CHECK_LIB(dl, dlsym, ,) + # -lresolv needs to be at then end of LIBS or DNS lookups break + AC_CHECK_LIB(res_query, resolv, [ LIBS="$LIBS -lresolv" ]) IPADDR_IN_DISPLAY=yes AC_DEFINE(USE_PIPES) AC_DEFINE(IP_TOS_IS_BROKEN) |