mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-12 19:40:39 +03:00
test for strnlen in configure
This commit is contained in:
1 parent
e516317b16
commit
8ec51186dc
2 files changed
+4
-1
No files matched your search
@@ -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
@@ -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])
|
||||
|
||||
|
||||
Reference in new issue
Block a user