aboutsummaryrefslogtreecommitdiff
path: root/m4/check-libc.m4
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-06-29 22:51:40 -0500
committerBrent Cook <busterb@gmail.com>2015-07-02 00:19:53 -0500
commit545454277a0be1dcb17b64cb10530a881aae760d (patch)
treedebdf3d7ff6eb7a877a813fd01fc414a0316c883 /m4/check-libc.m4
parent8414df69bc5463e13d91b865d8f21c294e2fe18b (diff)
downloadportable-545454277a0be1dcb17b64cb10530a881aae760d.tar.gz
portable-545454277a0be1dcb17b64cb10530a881aae760d.tar.bz2
portable-545454277a0be1dcb17b64cb10530a881aae760d.zip
add check for inet_pton, nudge minimum win32 compat to 0x0501
Diffstat (limited to 'm4/check-libc.m4')
-rw-r--r--m4/check-libc.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/check-libc.m4 b/m4/check-libc.m4
index 2bbfb81..f1ba611 100644
--- a/m4/check-libc.m4
+++ b/m4/check-libc.m4
@@ -1,8 +1,9 @@
1AC_DEFUN([CHECK_LIBC_COMPAT], [ 1AC_DEFUN([CHECK_LIBC_COMPAT], [
2# Check for general libc functions 2# Check for general libc functions
3AC_CHECK_FUNCS([asprintf memmem poll reallocarray]) 3AC_CHECK_FUNCS([asprintf inet_pton memmem poll reallocarray])
4AC_CHECK_FUNCS([strlcat strlcpy strndup strnlen strsep strtonum]) 4AC_CHECK_FUNCS([strlcat strlcpy strndup strnlen strsep strtonum])
5AM_CONDITIONAL([HAVE_ASPRINTF], [test "x$ac_cv_func_asprintf" = xyes]) 5AM_CONDITIONAL([HAVE_ASPRINTF], [test "x$ac_cv_func_asprintf" = xyes])
6AM_CONDITIONAL([HAVE_INET_PTON], [test "x$ac_cv_func_inet_pton" = xyes])
6AM_CONDITIONAL([HAVE_MEMMEM], [test "x$ac_cv_func_memmem" = xyes]) 7AM_CONDITIONAL([HAVE_MEMMEM], [test "x$ac_cv_func_memmem" = xyes])
7AM_CONDITIONAL([HAVE_POLL], [test "x$ac_cv_func_poll" = xyes]) 8AM_CONDITIONAL([HAVE_POLL], [test "x$ac_cv_func_poll" = xyes])
8AM_CONDITIONAL([HAVE_REALLOCARRAY], [test "x$ac_cv_func_reallocarray" = xyes]) 9AM_CONDITIONAL([HAVE_REALLOCARRAY], [test "x$ac_cv_func_reallocarray" = xyes])