svn commit: samba r18455 - in branches/SAMBA_4_0/source/lib/replace: .

metze at samba.org metze at samba.org
Wed Sep 13 10:10:22 GMT 2006


Author: metze
Date: 2006-09-13 10:10:20 +0000 (Wed, 13 Sep 2006)
New Revision: 18455

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18455

Log:
check if getdents() and getdirentries() are available.
(only for the nicer configure output)

metze
Modified:
   branches/SAMBA_4_0/source/lib/replace/repdir.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/repdir.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/repdir.m4	2006-09-13 10:04:46 UTC (rev 18454)
+++ branches/SAMBA_4_0/source/lib/replace/repdir.m4	2006-09-13 10:10:20 UTC (rev 18455)
@@ -11,6 +11,7 @@
 # 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 @@
 # 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"



More information about the samba-cvs mailing list