ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/autoconf/configure.ac
(Generate patch)

Comparing IO-AIO/autoconf/configure.ac (file contents):
Revision 1.4 by root, Tue Aug 23 00:03:14 2005 UTC vs.
Revision 1.5 by root, Tue Aug 23 12:37:19 2005 UTC

43 return 0; 43 return 0;
44} 44}
45],ac_cv_preadwrite=yes,ac_cv_preadwrite=no)]) 45],ac_cv_preadwrite=yes,ac_cv_preadwrite=no)])
46test $ac_cv_preadwrite = yes && AC_DEFINE(HAVE_PREADWRITE, 1, pread(2) and pwrite(2) are available) 46test $ac_cv_preadwrite = yes && AC_DEFINE(HAVE_PREADWRITE, 1, pread(2) and pwrite(2) are available)
47 47
48AC_CACHE_CHECK(for readdir_r, ac_cv_readdir_r, [AC_LINK_IFELSE([
49#include <dirent.h>
50int main(void)
51{
52 DIR *dir = 0;
53 struct dirent ent, *eres;
54 int res = readdir_r (dir, &ent, &eres);
55 return 0;
56}
57],ac_cv_readdir_r=yes,ac_cv_readdir_r=no)])
58test $ac_cv_readdir_r = yes && AC_DEFINE(HAVE_READDIR_R, 1, readdir_r is available)
59
48AC_CACHE_CHECK(for sendfile, ac_cv_sendfile, [AC_LINK_IFELSE([ 60AC_CACHE_CHECK(for sendfile, ac_cv_sendfile, [AC_LINK_IFELSE([
49# include <sys/types.h> 61# include <sys/types.h>
50#if __linux 62#if __linux
51# include <sys/sendfile.h> 63# include <sys/sendfile.h>
52#elif __freebsd 64#elif __freebsd

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines