diff options
author | Brent Cook <bcook@openbsd.org> | 2015-10-14 23:53:52 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2015-10-15 09:16:38 -0500 |
commit | 4298ac9305d89cadf90ebb01f0e85bb74fea2c1e (patch) | |
tree | e58171fce41da919e0005b167fab19185c4d002d /m4 | |
parent | 1dd79f5d8f617afdb0f5d51ac0278d7b4f84b82f (diff) | |
download | portable-4298ac9305d89cadf90ebb01f0e85bb74fea2c1e.tar.gz portable-4298ac9305d89cadf90ebb01f0e85bb74fea2c1e.tar.bz2 portable-4298ac9305d89cadf90ebb01f0e85bb74fea2c1e.zip |
include timegm fallback
Diffstat (limited to 'm4')
-rw-r--r-- | m4/check-libc.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/check-libc.m4 b/m4/check-libc.m4 index c0df011..3efc686 100644 --- a/m4/check-libc.m4 +++ b/m4/check-libc.m4 | |||
@@ -4,6 +4,7 @@ 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_pton memmem readpassphrase reallocarray]) | 5 | AC_CHECK_FUNCS([asprintf inet_pton memmem readpassphrase reallocarray]) |
6 | AC_CHECK_FUNCS([strlcat strlcpy strndup strnlen strsep strtonum]) | 6 | AC_CHECK_FUNCS([strlcat strlcpy strndup strnlen strsep strtonum]) |
7 | AC_CHECK_FUNCS([timegm _mkgmtime]) | ||
7 | AM_CONDITIONAL([HAVE_ASPRINTF], [test "x$ac_cv_func_asprintf" = xyes]) | 8 | AM_CONDITIONAL([HAVE_ASPRINTF], [test "x$ac_cv_func_asprintf" = xyes]) |
8 | AM_CONDITIONAL([HAVE_INET_PTON], [test "x$ac_cv_func_inet_pton" = xyes]) | 9 | AM_CONDITIONAL([HAVE_INET_PTON], [test "x$ac_cv_func_inet_pton" = xyes]) |
9 | AM_CONDITIONAL([HAVE_MEMMEM], [test "x$ac_cv_func_memmem" = xyes]) | 10 | AM_CONDITIONAL([HAVE_MEMMEM], [test "x$ac_cv_func_memmem" = xyes]) |
@@ -15,6 +16,8 @@ AM_CONDITIONAL([HAVE_STRNDUP], [test "x$ac_cv_func_strndup" = xyes]) | |||
15 | AM_CONDITIONAL([HAVE_STRNLEN], [test "x$ac_cv_func_strnlen" = xyes]) | 16 | AM_CONDITIONAL([HAVE_STRNLEN], [test "x$ac_cv_func_strnlen" = xyes]) |
16 | AM_CONDITIONAL([HAVE_STRSEP], [test "x$ac_cv_func_strsep" = xyes]) | 17 | AM_CONDITIONAL([HAVE_STRSEP], [test "x$ac_cv_func_strsep" = xyes]) |
17 | AM_CONDITIONAL([HAVE_STRTONUM], [test "x$ac_cv_func_strtonum" = xyes]) | 18 | AM_CONDITIONAL([HAVE_STRTONUM], [test "x$ac_cv_func_strtonum" = xyes]) |
19 | AM_CONDITIONAL([HAVE_TIMEGM], [test "x$ac_cv_func_timegm" = xyes]) | ||
20 | AM_CONDITIONAL([HAVE__MKGMTIME], [test "x$ac_cv_func__mkgmtime" = xyes]) | ||
18 | ]) | 21 | ]) |
19 | 22 | ||
20 | AC_DEFUN([CHECK_SYSCALL_COMPAT], [ | 23 | AC_DEFUN([CHECK_SYSCALL_COMPAT], [ |