1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r18455: check if getdents() and getdirentries() are available.

(only for the nicer configure output)

metze
(This used to be commit d53eb6bd10)
This commit is contained in:
Stefan Metzmacher 2006-09-13 10:10:20 +00:00 committed by Gerald (Jerry) Carter
parent b270dd3fd6
commit bf071a91aa

View File

@ -11,6 +11,7 @@ AC_CACHE_CHECK([for broken readdir],libreplace_READDIR_NEEDED,[
# try to replace with getdents() if needed
#
if test x"$libreplace_READDIR_NEEDED" = x"yes"; then
AC_CHECK_FUNCS(getdents)
AC_CACHE_CHECK([for replacing readdir using getdents()],libreplace_READDIR_GETDENTS,[
AC_TRY_RUN([
#include "confdefs.h"
@ -32,6 +33,7 @@ fi
# try to replace with getdirentries() if needed
#
if test x"$libreplace_READDIR_NEEDED" = x"yes"; then
AC_CHECK_FUNCS(getdirentries)
AC_CACHE_CHECK([for replacing readdir using getdirentries()],libreplace_READDIR_GETDIRENTRIES,[
AC_TRY_RUN([
#include "confdefs.h"