diff options
author | Brent Cook <busterb@gmail.com> | 2019-01-31 09:45:56 -0600 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2019-01-31 13:56:56 -0600 |
commit | a6d7ea956290470254e817adb2f6a3fac9397a17 (patch) | |
tree | e9880ccf45612c854fd97287969b879c9a47e29d /m4 | |
parent | 495a1b631687f6cc1a1e9fe217aa17184a1b4aff (diff) | |
download | portable-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.m4 | 4 |
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]) | |||
6 | AC_CHECK_FUNCS([readpassphrase reallocarray recallocarray]) | 6 | AC_CHECK_FUNCS([readpassphrase 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 timespecsub]) | 8 | AC_CHECK_FUNCS([timegm _mkgmtime timespecsub]) |
9 | AC_CHECK_FUNCS([getprogname syslog syslog_r]) | ||
9 | AC_CACHE_CHECK([for getpagesize], ac_cv_func_getpagesize, [ | 10 | AC_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]) | |||
33 | AM_CONDITIONAL([HAVE_STRSEP], [test "x$ac_cv_func_strsep" = xyes]) | 34 | AM_CONDITIONAL([HAVE_STRSEP], [test "x$ac_cv_func_strsep" = xyes]) |
34 | AM_CONDITIONAL([HAVE_STRTONUM], [test "x$ac_cv_func_strtonum" = xyes]) | 35 | AM_CONDITIONAL([HAVE_STRTONUM], [test "x$ac_cv_func_strtonum" = xyes]) |
35 | AM_CONDITIONAL([HAVE_TIMEGM], [test "x$ac_cv_func_timegm" = xyes]) | 36 | AM_CONDITIONAL([HAVE_TIMEGM], [test "x$ac_cv_func_timegm" = xyes]) |
37 | AM_CONDITIONAL([HAVE_GETPROGNAME], [test "x$ac_cv_func_getprogname" = xyes]) | ||
38 | AM_CONDITIONAL([HAVE_SYSLOG], [test "x$ac_cv_func_syslog" = xyes]) | ||
39 | AM_CONDITIONAL([HAVE_SYSLOG_R], [test "x$ac_cv_func_syslog_r" = xyes]) | ||
36 | ]) | 40 | ]) |
37 | 41 | ||
38 | AC_DEFUN([CHECK_SYSCALL_COMPAT], [ | 42 | AC_DEFUN([CHECK_SYSCALL_COMPAT], [ |