BIND 10 master, updated. 1b828baa8eb1af112a0e2c2e39750a62316e98df [master] check -lnsl, -lsocket for some network API libs.

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Nov 8 03:21:39 UTC 2012


The branch, master has been updated
       via  1b828baa8eb1af112a0e2c2e39750a62316e98df (commit)
      from  08630dbbb0a9ff4ac81c0ef2b9a45030455fa0a5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1b828baa8eb1af112a0e2c2e39750a62316e98df
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Thu Nov 8 04:13:08 2012 +0000

    [master] check -lnsl, -lsocket for some network API libs.
    
    this is necessary for Solaris. okayed on jabber.

-----------------------------------------------------------------------

Summary of changes:
 examples/configure.ac |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/examples/configure.ac b/examples/configure.ac
index ef9cce0..37515d9 100644
--- a/examples/configure.ac
+++ b/examples/configure.ac
@@ -21,7 +21,14 @@ if test "x$BIND10_RPATH" != "x"; then
    LDFLAGS="$LDFLAGS $BIND10_RPATH"
 fi
 
-# For the example host program, we require the BIND 10 DNS library
+# For the example host program, we require some socket API library
+# and the BIND 10 DNS library.
+
+# In practice, these are specific to Solaris, but wouldn't do any harm for
+# others except for the checking overhead.
+AC_SEARCH_LIBS(inet_pton, [nsl])
+AC_SEARCH_LIBS(recvfrom, [socket])
+
 if test "x$BIND10_DNS_LIB" = "x"; then
    AC_MSG_ERROR([unable to find BIND 10 DNS library needed to build 'host'])
 fi



More information about the bind10-changes mailing list