From a79ce884a004a423c203597749475e4d5fb004a7 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Thu, 7 Jan 2016 19:08:57 +0200 Subject: [PATCH] Use autoconf archive version of libsocket/nsl check --- configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 77da1915a..b4dc46dd8 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) -- 2.40.0