diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2017-01-26 13:58:27 +0900 |
---|---|---|
committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2017-01-26 17:51:35 +0900 |
commit | 7dd0650d3374ab4c944f640c485c6045223422d9 (patch) | |
tree | c28fcca0c9bbf38a0696d7661f1b634a4192de5c /m4 | |
parent | adb94725aef9239eb26b7b9fbd8248363a20a33d (diff) | |
download | portable-7dd0650d3374ab4c944f640c485c6045223422d9.tar.gz portable-7dd0650d3374ab4c944f640c485c6045223422d9.tar.bz2 portable-7dd0650d3374ab4c944f640c485c6045223422d9.zip |
Add inet_ntop and memmem for ocspcheck
Diffstat (limited to 'm4')
-rw-r--r-- | m4/check-libc.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
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], [ | |||
2 | # Check for libc headers | 2 | # Check for libc headers |
3 | AC_CHECK_HEADERS([err.h readpassphrase.h]) | 3 | AC_CHECK_HEADERS([err.h readpassphrase.h]) |
4 | # Check for general libc functions | 4 | # Check for general libc functions |
5 | AC_CHECK_FUNCS([asprintf inet_pton memmem readpassphrase reallocarray]) | 5 | AC_CHECK_FUNCS([asprintf inet_ntop inet_pton memmem readpassphrase]) |
6 | AC_CHECK_FUNCS([strlcat strlcpy strndup strnlen strsep strtonum]) | 6 | AC_CHECK_FUNCS([reallocarray strlcat strlcpy strndup strnlen strsep strtonum]) |
7 | AC_CHECK_FUNCS([timegm _mkgmtime]) | 7 | AC_CHECK_FUNCS([timegm _mkgmtime]) |
8 | AM_CONDITIONAL([HAVE_ASPRINTF], [test "x$ac_cv_func_asprintf" = xyes]) | 8 | AM_CONDITIONAL([HAVE_ASPRINTF], [test "x$ac_cv_func_asprintf" = xyes]) |
9 | AM_CONDITIONAL([HAVE_INET_NTOP], [test "x$ac_cv_func_inet_ntop" = xyes]) | ||
9 | AM_CONDITIONAL([HAVE_INET_PTON], [test "x$ac_cv_func_inet_pton" = xyes]) | 10 | AM_CONDITIONAL([HAVE_INET_PTON], [test "x$ac_cv_func_inet_pton" = xyes]) |
10 | AM_CONDITIONAL([HAVE_MEMMEM], [test "x$ac_cv_func_memmem" = xyes]) | 11 | AM_CONDITIONAL([HAVE_MEMMEM], [test "x$ac_cv_func_memmem" = xyes]) |
11 | AM_CONDITIONAL([HAVE_READPASSPHRASE], [test "x$ac_cv_func_readpassphrase" = xyes]) | 12 | AM_CONDITIONAL([HAVE_READPASSPHRASE], [test "x$ac_cv_func_readpassphrase" = xyes]) |