summary refs log tree commit diff
path: root/m4/check-libc.m4
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2026-06-01 14:38:30 -0400
committerJune McEnroe <june@causal.agency>2026-06-01 14:38:30 -0400
commitea9a686c1d3f4d7e8e80a907629149ce79b1964a (patch)
tree3bdfd8bbfc03aea5816109a1919fc39177f13885 /m4/check-libc.m4
parentImport LibreSSL 3.8.2 (diff)
downloadlibretls-ea9a686c1d3f4d7e8e80a907629149ce79b1964a.tar.gz
libretls-ea9a686c1d3f4d7e8e80a907629149ce79b1964a.zip
Import LibreSSL 3.8.3
Diffstat (limited to 'm4/check-libc.m4')
-rw-r--r--m4/check-libc.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/check-libc.m4 b/m4/check-libc.m4
index dc8d6bd..50fb8e1 100644
--- a/m4/check-libc.m4
+++ b/m4/check-libc.m4
@@ -9,7 +9,7 @@ AC_HEADER_RESOLV
 # Check for general libc functions
 AC_CHECK_FUNCS([asprintf freezero memmem])
 AC_CHECK_FUNCS([readpassphrase reallocarray recallocarray])
-AC_CHECK_FUNCS([strlcat strlcpy strndup strnlen strsep strtonum])
+AC_CHECK_FUNCS([strcasecmp strlcat strlcpy strndup strnlen strsep strtonum])
 AC_CHECK_FUNCS([timegm _mkgmtime timespecsub])
 AC_CHECK_FUNCS([getopt getprogname syslog syslog_r])
 AC_CACHE_CHECK([for getpagesize], ac_cv_func_getpagesize, [
@@ -30,6 +30,7 @@ AM_CONDITIONAL([HAVE_MEMMEM], [test "x$ac_cv_func_memmem" = xyes])
 AM_CONDITIONAL([HAVE_READPASSPHRASE], [test "x$ac_cv_func_readpassphrase" = xyes])
 AM_CONDITIONAL([HAVE_REALLOCARRAY], [test "x$ac_cv_func_reallocarray" = xyes])
 AM_CONDITIONAL([HAVE_RECALLOCARRAY], [test "x$ac_cv_func_recallocarray" = xyes])
+AM_CONDITIONAL([HAVE_STRCASECMP], [test "x$ac_cv_func_strcasecmp" = xyes])
 AM_CONDITIONAL([HAVE_STRLCAT], [test "x$ac_cv_func_strlcat" = xyes])
 AM_CONDITIONAL([HAVE_STRLCPY], [test "x$ac_cv_func_strlcpy" = xyes])
 AM_CONDITIONAL([HAVE_STRNDUP], [test "x$ac_cv_func_strndup" = xyes])