diff options
-rwxr-xr-x | source/configure | 2 | ||||
-rw-r--r-- | source/configure.in | 2 | ||||
-rw-r--r-- | source/include/config.h.in | 9 |
3 files changed, 11 insertions, 2 deletions
diff --git a/source/configure b/source/configure index 2cb8ee46bf5..065279b083c 100755 --- a/source/configure +++ b/source/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/source/configure.in b/source/configure.in index e892e42ec7f..4af594e81b5 100644 --- a/source/configure.in +++ b/source/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/source/include/config.h.in b/source/include/config.h.in index 29a1d71310a..df613d2d3b9 100644 --- a/source/include/config.h.in +++ b/source/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 |