diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2017-03-15 21:02:22 +0900 |
---|---|---|
committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2017-03-15 22:02:11 +0900 |
commit | c61c9821e8417243a5a0cf691415f5e5626f2b3b (patch) | |
tree | a94dea834588dc0f9c8862e5a348b641302f4edd /m4 | |
parent | 8877e9bc55fdbdb70c967b7720f57fba148a7dda (diff) | |
download | portable-c61c9821e8417243a5a0cf691415f5e5626f2b3b.tar.gz portable-c61c9821e8417243a5a0cf691415f5e5626f2b3b.tar.bz2 portable-c61c9821e8417243a5a0cf691415f5e5626f2b3b.zip |
Add support for getpagesize
Diffstat (limited to 'm4')
-rw-r--r-- | m4/check-libc.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/check-libc.m4 b/m4/check-libc.m4 index 22f0b35..e61d412 100644 --- a/m4/check-libc.m4 +++ b/m4/check-libc.m4 | |||
@@ -2,11 +2,12 @@ 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_ntop inet_pton memmem readpassphrase]) | 5 | AC_CHECK_FUNCS([asprintf getpagesize inet_ntop inet_pton memmem readpassphrase]) |
6 | AC_CHECK_FUNCS([reallocarray recallocarray]) | 6 | AC_CHECK_FUNCS([reallocarray recallocarray]) |
7 | AC_CHECK_FUNCS([strlcat strlcpy strndup strnlen strsep strtonum]) | 7 | AC_CHECK_FUNCS([strlcat strlcpy strndup strnlen strsep strtonum]) |
8 | AC_CHECK_FUNCS([timegm _mkgmtime]) | 8 | AC_CHECK_FUNCS([timegm _mkgmtime]) |
9 | AM_CONDITIONAL([HAVE_ASPRINTF], [test "x$ac_cv_func_asprintf" = xyes]) | 9 | AM_CONDITIONAL([HAVE_ASPRINTF], [test "x$ac_cv_func_asprintf" = xyes]) |
10 | AM_CONDITIONAL([HAVE_GETPAGESIZE], [test "x$ac_cv_func_getpagesize" = xyes]) | ||
10 | AM_CONDITIONAL([HAVE_INET_NTOP], [test "x$ac_cv_func_inet_ntop" = xyes]) | 11 | AM_CONDITIONAL([HAVE_INET_NTOP], [test "x$ac_cv_func_inet_ntop" = xyes]) |
11 | AM_CONDITIONAL([HAVE_INET_PTON], [test "x$ac_cv_func_inet_pton" = xyes]) | 12 | AM_CONDITIONAL([HAVE_INET_PTON], [test "x$ac_cv_func_inet_pton" = xyes]) |
12 | AM_CONDITIONAL([HAVE_MEMMEM], [test "x$ac_cv_func_memmem" = xyes]) | 13 | AM_CONDITIONAL([HAVE_MEMMEM], [test "x$ac_cv_func_memmem" = xyes]) |