test for strnlen in configure

This commit is contained in:
Olaf Bergmann committed 2010-10-23 18:57:25 +02:00
1 parent e516317b16
commit 8ec51186dc
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -55,6 +55,9 @@
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the `strnlen' function. */
#undef HAVE_STRNLEN
/* Define to 1 if you have the `strrchr' function. */
#undef HAVE_STRRCHR
+1 -1
View File
@@ -44,7 +44,7 @@ AC_TYPE_SSIZE_T
# Checks for library functions.
AC_FUNC_MALLOC
AC_CHECK_FUNCS([memset select socket strcasecmp strrchr getaddrinfo])
AC_CHECK_FUNCS([memset select socket strcasecmp strrchr getaddrinfo strnlen])
AC_CONFIG_HEADERS([config.h])