aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
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], [