diff options
Diffstat (limited to 'm4')
| -rw-r--r-- | m4/check-libc.m4 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/m4/check-libc.m4 b/m4/check-libc.m4 index c66364e..22f0b35 100644 --- a/m4/check-libc.m4 +++ b/m4/check-libc.m4 | |||
| @@ -3,7 +3,8 @@ AC_DEFUN([CHECK_LIBC_COMPAT], [ | |||
| 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 inet_ntop inet_pton memmem readpassphrase]) | 5 | AC_CHECK_FUNCS([asprintf inet_ntop inet_pton memmem readpassphrase]) |
| 6 | AC_CHECK_FUNCS([reallocarray strlcat strlcpy strndup strnlen strsep strtonum]) | 6 | AC_CHECK_FUNCS([reallocarray recallocarray]) |
| 7 | AC_CHECK_FUNCS([strlcat strlcpy strndup strnlen strsep strtonum]) | ||
| 7 | AC_CHECK_FUNCS([timegm _mkgmtime]) | 8 | AC_CHECK_FUNCS([timegm _mkgmtime]) |
| 8 | AM_CONDITIONAL([HAVE_ASPRINTF], [test "x$ac_cv_func_asprintf" = xyes]) | 9 | AM_CONDITIONAL([HAVE_ASPRINTF], [test "x$ac_cv_func_asprintf" = xyes]) |
| 9 | AM_CONDITIONAL([HAVE_INET_NTOP], [test "x$ac_cv_func_inet_ntop" = xyes]) | 10 | AM_CONDITIONAL([HAVE_INET_NTOP], [test "x$ac_cv_func_inet_ntop" = xyes]) |
| @@ -11,6 +12,7 @@ AM_CONDITIONAL([HAVE_INET_PTON], [test "x$ac_cv_func_inet_pton" = xyes]) | |||
| 11 | AM_CONDITIONAL([HAVE_MEMMEM], [test "x$ac_cv_func_memmem" = xyes]) | 12 | AM_CONDITIONAL([HAVE_MEMMEM], [test "x$ac_cv_func_memmem" = xyes]) |
| 12 | AM_CONDITIONAL([HAVE_READPASSPHRASE], [test "x$ac_cv_func_readpassphrase" = xyes]) | 13 | AM_CONDITIONAL([HAVE_READPASSPHRASE], [test "x$ac_cv_func_readpassphrase" = xyes]) |
| 13 | AM_CONDITIONAL([HAVE_REALLOCARRAY], [test "x$ac_cv_func_reallocarray" = xyes]) | 14 | AM_CONDITIONAL([HAVE_REALLOCARRAY], [test "x$ac_cv_func_reallocarray" = xyes]) |
| 15 | AM_CONDITIONAL([HAVE_RECALLOCARRAY], [test "x$ac_cv_func_recallocarray" = xyes]) | ||
| 14 | AM_CONDITIONAL([HAVE_STRLCAT], [test "x$ac_cv_func_strlcat" = xyes]) | 16 | AM_CONDITIONAL([HAVE_STRLCAT], [test "x$ac_cv_func_strlcat" = xyes]) |
| 15 | AM_CONDITIONAL([HAVE_STRLCPY], [test "x$ac_cv_func_strlcpy" = xyes]) | 17 | AM_CONDITIONAL([HAVE_STRLCPY], [test "x$ac_cv_func_strlcpy" = xyes]) |
| 16 | AM_CONDITIONAL([HAVE_STRNDUP], [test "x$ac_cv_func_strndup" = xyes]) | 18 | AM_CONDITIONAL([HAVE_STRNDUP], [test "x$ac_cv_func_strndup" = xyes]) |
| @@ -177,6 +179,9 @@ fi | |||
| 177 | if test "x$ac_cv_func_reallocarray" = "xno" ; then | 179 | if test "x$ac_cv_func_reallocarray" = "xno" ; then |
| 178 | echo reallocarray >> $crypto_p_sym | 180 | echo reallocarray >> $crypto_p_sym |
| 179 | fi | 181 | fi |
| 182 | if test "x$ac_cv_func_recallocarray" = "xno" ; then | ||
| 183 | echo recallocarray >> $crypto_p_sym | ||
| 184 | fi | ||
| 180 | if test "x$ac_cv_func_strlcat" = "xno" ; then | 185 | if test "x$ac_cv_func_strlcat" = "xno" ; then |
| 181 | echo strlcat >> $crypto_p_sym | 186 | echo strlcat >> $crypto_p_sym |
| 182 | fi | 187 | fi |
