aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2019-01-31 09:45:56 -0600
committerBrent Cook <busterb@gmail.com>2019-01-31 13:56:56 -0600
commita6d7ea956290470254e817adb2f6a3fac9397a17 (patch)
treee9880ccf45612c854fd97287969b879c9a47e29d /m4
parent495a1b631687f6cc1a1e9fe217aa17184a1b4aff (diff)
downloadportable-a6d7ea956290470254e817adb2f6a3fac9397a17.tar.gz
portable-a6d7ea956290470254e817adb2f6a3fac9397a17.tar.bz2
portable-a6d7ea956290470254e817adb2f6a3fac9397a17.zip
update autoconf for latest compat functions
Diffstat (limited to 'm4')
-rw-r--r--m4/check-libc.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/check-libc.m4 b/m4/check-libc.m4
index 4a3d6c7..e511f6d 100644
--- a/m4/check-libc.m4
+++ b/m4/check-libc.m4
@@ -6,6 +6,7 @@ AC_CHECK_FUNCS([asprintf freezero memmem])
6AC_CHECK_FUNCS([readpassphrase reallocarray recallocarray]) 6AC_CHECK_FUNCS([readpassphrase reallocarray recallocarray])
7AC_CHECK_FUNCS([strlcat strlcpy strndup strnlen strsep strtonum]) 7AC_CHECK_FUNCS([strlcat strlcpy strndup strnlen strsep strtonum])
8AC_CHECK_FUNCS([timegm _mkgmtime timespecsub]) 8AC_CHECK_FUNCS([timegm _mkgmtime timespecsub])
9AC_CHECK_FUNCS([getprogname syslog syslog_r])
9AC_CACHE_CHECK([for getpagesize], ac_cv_func_getpagesize, [ 10AC_CACHE_CHECK([for getpagesize], ac_cv_func_getpagesize, [
10 AC_LINK_IFELSE([AC_LANG_PROGRAM([[ 11 AC_LINK_IFELSE([AC_LANG_PROGRAM([[
11// Since Android NDK v16 getpagesize is defined as inline inside unistd.h 12// Since Android NDK v16 getpagesize is defined as inline inside unistd.h
@@ -33,6 +34,9 @@ AM_CONDITIONAL([HAVE_STRNLEN], [test "x$ac_cv_func_strnlen" = xyes])
33AM_CONDITIONAL([HAVE_STRSEP], [test "x$ac_cv_func_strsep" = xyes]) 34AM_CONDITIONAL([HAVE_STRSEP], [test "x$ac_cv_func_strsep" = xyes])
34AM_CONDITIONAL([HAVE_STRTONUM], [test "x$ac_cv_func_strtonum" = xyes]) 35AM_CONDITIONAL([HAVE_STRTONUM], [test "x$ac_cv_func_strtonum" = xyes])
35AM_CONDITIONAL([HAVE_TIMEGM], [test "x$ac_cv_func_timegm" = xyes]) 36AM_CONDITIONAL([HAVE_TIMEGM], [test "x$ac_cv_func_timegm" = xyes])
37AM_CONDITIONAL([HAVE_GETPROGNAME], [test "x$ac_cv_func_getprogname" = xyes])
38AM_CONDITIONAL([HAVE_SYSLOG], [test "x$ac_cv_func_syslog" = xyes])
39AM_CONDITIONAL([HAVE_SYSLOG_R], [test "x$ac_cv_func_syslog_r" = xyes])
36]) 40])
37 41
38AC_DEFUN([CHECK_SYSCALL_COMPAT], [ 42AC_DEFUN([CHECK_SYSCALL_COMPAT], [