From: Christophe CURIS <[email protected]>

The macro 'AC_ISC_POSIX' is now said to be deprecated, so we use the new
recommended check instead as we make light use of the corresponding
function.

Signed-off-by: Christophe CURIS <[email protected]>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index fe40789..2ddec30 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,7 +67,6 @@ dnl AC_CANONICAL_HOST -- already done by AC_PROG_LIBTOOL
 
 dnl Checks for programs.
 dnl ===================
-AC_ISC_POSIX
 AC_PROG_CC
 WM_PROG_CC_C11
 AC_PROG_LN_S
@@ -247,6 +246,7 @@ AC_FUNC_MEMCMP
 AC_FUNC_VPRINTF
 AC_CHECK_FUNCS(gethostname select poll strcasecmp strncasecmp \
               setsid mallinfo mkstemp sysconf)
+AC_SEARCH_LIBS([strerror], [cposix])
 
 dnl Check for strlcat/strlcpy
 dnl =========================
-- 
1.8.4.rc3


-- 
To unsubscribe, send mail to [email protected].

Reply via email to