From 7dd0650d3374ab4c944f640c485c6045223422d9 Mon Sep 17 00:00:00 2001 From: kinichiro Date: Thu, 26 Jan 2017 13:58:27 +0900 Subject: Add inet_ntop and memmem for ocspcheck --- m4/check-libc.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/check-libc.m4 b/m4/check-libc.m4 index 73ff4e6..c66364e 100644 --- a/m4/check-libc.m4 +++ b/m4/check-libc.m4 @@ -2,10 +2,11 @@ AC_DEFUN([CHECK_LIBC_COMPAT], [ # Check for libc headers AC_CHECK_HEADERS([err.h readpassphrase.h]) # Check for general libc functions -AC_CHECK_FUNCS([asprintf inet_pton memmem readpassphrase reallocarray]) -AC_CHECK_FUNCS([strlcat strlcpy strndup strnlen strsep strtonum]) +AC_CHECK_FUNCS([asprintf inet_ntop inet_pton memmem readpassphrase]) +AC_CHECK_FUNCS([reallocarray strlcat strlcpy strndup strnlen strsep strtonum]) AC_CHECK_FUNCS([timegm _mkgmtime]) AM_CONDITIONAL([HAVE_ASPRINTF], [test "x$ac_cv_func_asprintf" = xyes]) +AM_CONDITIONAL([HAVE_INET_NTOP], [test "x$ac_cv_func_inet_ntop" = xyes]) AM_CONDITIONAL([HAVE_INET_PTON], [test "x$ac_cv_func_inet_pton" = xyes]) AM_CONDITIONAL([HAVE_MEMMEM], [test "x$ac_cv_func_memmem" = xyes]) AM_CONDITIONAL([HAVE_READPASSPHRASE], [test "x$ac_cv_func_readpassphrase" = xyes]) -- cgit v1.2.3-55-g6feb