summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsource3/configure2
-rw-r--r--source3/include/config.h.in3
2 files changed, 4 insertions, 1 deletions
diff --git a/source3/configure b/source3/configure
index 5e2416abe75..3e13dc1b226 100755
--- a/source3/configure
+++ b/source3/configure
@@ -5257,7 +5257,7 @@ else
RUNPROG=""
fi
-for ac_func in dlopen dlclose dlsym dlerror waitpid getcwd strdup strndup strtoul strerror chown fchown chmod fchmod chroot link mknod mknod64
+for ac_func in dlopen dlclose dlsym dlerror waitpid getcwd strdup strndup strnlen strtoul strerror chown fchown chmod fchmod chroot link mknod mknod64
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:5264: checking for $ac_func" >&5
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index 7328d022c1a..afe49d419cb 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -809,6 +809,9 @@
/* Define if you have the strndup function. */
#undef HAVE_STRNDUP
+/* Define if you have the strnlen function. */
+#undef HAVE_STRNLEN
+
/* Define if you have the strpbrk function. */
#undef HAVE_STRPBRK