1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

lib/replace: check if we have dirfd()

Note: we only use this internally and don't replace it by default.

metze
This commit is contained in:
Stefan Metzmacher 2009-01-30 18:38:00 +01:00
parent 24a1b556fc
commit c28952c555

View File

@ -7,6 +7,9 @@ AC_CACHE_CHECK([for broken readdir],libreplace_cv_READDIR_NEEDED,[
[libreplace_cv_READDIR_NEEDED="assuming not"])
])
AC_CHECK_FUNCS(dirfd)
AC_HAVE_DECL(dirfd, [#include <dirent.h>])
#
# try to replace with getdirentries() if needed
#