On Tuesday, January 18, 2011 11:47:01 Fabian Groffen wrote: > +AC_LINK_IFELSE([AC_LANG_PROGRAM([[ > +#include <dirent.h> > +]],[[ > + DIR *dir = 0; > + if (dirfd(dir)) ; > +]])], [have_dirfd=yes], [have_dirfd=no]) i wonder if this should be doing "return dirfd(dir);" to try and avoid optimization issues otherwise, this patch looks OK to me -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.