summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource3/configure2
-rw-r--r--source3/configure.in2
-rw-r--r--source3/include/config.h.in9
3 files changed, 11 insertions, 2 deletions
diff --git a/source3/configure b/source3/configure
index 2cb8ee46bf..065279b083 100755
--- a/source3/configure
+++ b/source3/configure
@@ -4434,7 +4434,7 @@ else
fi
done
-for ac_func in llseek _llseek __llseek
+for ac_func in llseek _llseek __llseek readdir64 _readdir64 __readdir64
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:4441: checking for $ac_func" >&5
diff --git a/source3/configure.in b/source3/configure.in
index e892e42ec7..4af594e81b 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -178,7 +178,7 @@ AC_CHECK_FUNCS(_close __close _fchdir __fchdir _fcntl __fcntl)
AC_CHECK_FUNCS(_getdents __getdents _lseek __lseek _read __read)
AC_CHECK_FUNCS(_write __write)
AC_CHECK_FUNCS(_stat64 __stat64 _fstat64 __fstat64 _lstat64 __lstat64)
-AC_CHECK_FUNCS(llseek _llseek __llseek)
+AC_CHECK_FUNCS(llseek _llseek __llseek readdir64 _readdir64 __readdir64)
AC_CACHE_CHECK([for long long],samba_cv_have_longlong,[
AC_TRY_RUN([#include <stdio.h>
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index 29a1d71310..df613d2d3b 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -205,6 +205,9 @@
/* Define if you have the __readdir function. */
#undef HAVE___READDIR
+/* Define if you have the __readdir64 function. */
+#undef HAVE___READDIR64
+
/* Define if you have the __seekdir function. */
#undef HAVE___SEEKDIR
@@ -286,6 +289,9 @@
/* Define if you have the _readdir function. */
#undef HAVE__READDIR
+/* Define if you have the _readdir64 function. */
+#undef HAVE__READDIR64
+
/* Define if you have the _seekdir function. */
#undef HAVE__SEEKDIR
@@ -427,6 +433,9 @@
/* Define if you have the rdchk function. */
#undef HAVE_RDCHK
+/* Define if you have the readdir64 function. */
+#undef HAVE_READDIR64
+
/* Define if you have the rename function. */
#undef HAVE_RENAME