]> granicus.if.org Git - pdns/commitdiff
Use autoconf archive version of libsocket/nsl check
authorAki Tuomi <cmouse@desteem.org>
Thu, 7 Jan 2016 17:08:57 +0000 (19:08 +0200)
committerAki Tuomi <cmouse@desteem.org>
Thu, 7 Jan 2016 18:04:26 +0000 (20:04 +0200)
configure.ac

index 77da1915a678304311b2625d9625d582e292c8a3..b4dc46dd8caaae9a785690718f4f37d63b932250 100644 (file)
@@ -64,9 +64,7 @@ AS_IF([test "x$enable_hardening" != "xno"], [
   AC_LD_RELRO
 ])
 
-AC_SEARCH_LIBS([socket], [socket])
-AC_SEARCH_LIBS([gethostent], [nsl])
-AC_SEARCH_LIBS([inet_aton], [resolv])
+AX_LIB_SOCKET_NSL
 
 LT_PREREQ([2.2.2])
 LT_INIT([disable-static dlopen])