diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/check-libc.m4 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/m4/check-libc.m4 b/m4/check-libc.m4 index 066b394..d9b7b88 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 getpagesize inet_ntop inet_pton memmem readpassphrase]) | 5 | AC_CHECK_FUNCS([asprintf freezero getpagesize inet_ntop inet_pton memmem]) |
6 | AC_CHECK_FUNCS([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]) | 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_FREEZERO], [test "x$ac_cv_func_freezero" = xyes]) | ||
10 | AM_CONDITIONAL([HAVE_GETPAGESIZE], [test "x$ac_cv_func_getpagesize" = xyes]) | 11 | AM_CONDITIONAL([HAVE_GETPAGESIZE], [test "x$ac_cv_func_getpagesize" = xyes]) |
11 | AM_CONDITIONAL([HAVE_INET_NTOP], [test "x$ac_cv_func_inet_ntop" = xyes]) | 12 | AM_CONDITIONAL([HAVE_INET_NTOP], [test "x$ac_cv_func_inet_ntop" = xyes]) |
12 | AM_CONDITIONAL([HAVE_INET_PTON], [test "x$ac_cv_func_inet_pton" = xyes]) | 13 | AM_CONDITIONAL([HAVE_INET_PTON], [test "x$ac_cv_func_inet_pton" = xyes]) |
@@ -170,6 +171,9 @@ fi | |||
170 | if test "x$ac_cv_func_explicit_bzero" = "xno" ; then | 171 | if test "x$ac_cv_func_explicit_bzero" = "xno" ; then |
171 | echo explicit_bzero >> $crypto_p_sym | 172 | echo explicit_bzero >> $crypto_p_sym |
172 | fi | 173 | fi |
174 | if test "x$ac_cv_func_freezero" = "xno" ; then | ||
175 | echo freezero >> $crypto_p_sym | ||
176 | fi | ||
173 | if test "x$ac_cv_func_inet_pton" = "xno" ; then | 177 | if test "x$ac_cv_func_inet_pton" = "xno" ; then |
174 | echo inet_pton >> $crypto_p_sym | 178 | echo inet_pton >> $crypto_p_sym |
175 | fi | 179 | fi |