]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
Need to link with these two libraries on sparc5, because they define
authorWouter Wijngaards <wouter@NLnetLabs.nl>
Thu, 14 Dec 2006 10:01:44 +0000 (10:01 +0000)
committerWouter Wijngaards <wouter@NLnetLabs.nl>
Thu, 14 Dec 2006 10:01:44 +0000 (10:01 +0000)
socket() and inet_pton() and then the configure tests succeed that should
succeed. It will also set the library dependencies in libtool.

configure.ac

index 422fb01cbe02bd4d6f376fea24a29020922b34e2..d4785b6c9404d9c4d22fd2c3f093588cbb24eb7e 100644 (file)
@@ -200,6 +200,10 @@ AC_CHECK_TYPE(in_port_t, [], [AC_DEFINE([in_port_t], [uint16_t], [in_port_t])],
 # include <netinet/in.h>
 #endif])
 
+# check to see if libraries are needed for these functions.
+AC_CHECK_LIB(socket, socket)
+AC_CHECK_LIB(nsl, inet_pton)
+
 AC_FUNC_MALLOC
 
 AC_REPLACE_FUNCS(b64_pton)