- (dtucker) [configure.ac] Bug #893: check for libresolv early on Reliant

Unix; prevents problems relating to the location of -lresolv in the
   link order.
This commit is contained in:
Darren Tucker 2005-02-16 16:19:17 +11:00
parent a91f5ee618
commit ca6e7a7e8b
2 changed files with 7 additions and 2 deletions

View File

@ -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 $

View File

@ -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)