[23143] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r22804 - trunk/athena/lib/zephyr

daemon@ATHENA.MIT.EDU (ghudson@MIT.EDU)
Wed Apr 2 11:41:58 2008

Date: Wed, 2 Apr 2008 11:41:47 -0400 (EDT)
From: ghudson@MIT.EDU
Message-Id: <200804021541.LAA18060@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: ghudson
Date: 2008-04-02 11:41:47 -0400 (Wed, 02 Apr 2008)
New Revision: 22804

Modified:
   trunk/athena/lib/zephyr/configure.in
Log:
In Zephyr, check for __res_send in adddition to res_send for
libresolv.  (Modern libresolv uses #defines in <resolv.h> for
link-time namespace protection; autoconf does not have a graceful way
of dealing with that, or at least not one that I know of.)


Modified: trunk/athena/lib/zephyr/configure.in
===================================================================
--- trunk/athena/lib/zephyr/configure.in	2008-04-02 15:36:32 UTC (rev 22803)
+++ trunk/athena/lib/zephyr/configure.in	2008-04-02 15:41:47 UTC (rev 22804)
@@ -76,6 +76,7 @@
 if test "$hesiod" != "no"; then
 	AC_CHECK_LIB(44bsd, strerror)
 	AC_CHECK_LIB(resolv, res_send)
+	AC_CHECK_LIB(resolv, __res_send)
 fi
 
 AC_CHECK_LIB(curses, tgetstr, [TLIB=-lcurses], [TLIB=-ltermcap])


home help back first fref pref prev next nref lref last post