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

Comparing IO-AIO/configure.ac (file contents):
Revision 1.6 by root, Sun Aug 12 05:21:35 2018 UTC vs.
Revision 1.9 by root, Tue Aug 14 11:50:43 2018 UTC

58])],ac_cv_posix_fadvise=yes,ac_cv_posix_fadvise=no)]) 58])],ac_cv_posix_fadvise=yes,ac_cv_posix_fadvise=no)])
59test $ac_cv_posix_fadvise = yes && AC_DEFINE(HAVE_POSIX_FADVISE, 1, posix_fadvise(2) is available) 59test $ac_cv_posix_fadvise = yes && AC_DEFINE(HAVE_POSIX_FADVISE, 1, posix_fadvise(2) is available)
60 60
61dnl lots of linux specifics 61dnl lots of linux specifics
62AC_CHECK_HEADERS([linux/fs.h linux/fiemap.h]) 62AC_CHECK_HEADERS([linux/fs.h linux/fiemap.h])
63
64dnl glibc major/minor macros
65AC_CHECK_HEADERS([sys/sysmacros.h])
66
67dnl solaris major/minor
68AC_CHECK_HEADERS([sys/mkdev.h])
63 69
64AC_CACHE_CHECK([for splice, vmsplice and tee], ac_cv_linux_splice, [AC_LINK_IFELSE([AC_LANG_SOURCE([ 70AC_CACHE_CHECK([for splice, vmsplice and tee], ac_cv_linux_splice, [AC_LINK_IFELSE([AC_LANG_SOURCE([
65#include <fcntl.h> 71#include <fcntl.h>
66int main (void) 72int main (void)
67{ 73{
154 + PL_statcache.st_ctim.tv_nsec; 160 + PL_statcache.st_ctim.tv_nsec;
155} 161}
156]])],ac_cv_xtimespec=yes,ac_cv_xtimespec=no)]) 162]])],ac_cv_xtimespec=yes,ac_cv_xtimespec=no)])
157test $ac_cv_xtimespec = yes && AC_DEFINE(HAVE_ST_XTIMESPEC, 1, stat nanosecond access by st_xtimespec) 163test $ac_cv_xtimespec = yes && AC_DEFINE(HAVE_ST_XTIMESPEC, 1, stat nanosecond access by st_xtimespec)
158 164
165# apparently, True64 uses st_u[amc]time, aix uses at_[amc]time_n and apple uses st_[amc,birth]timespec?
166
159AC_OUTPUT 167AC_OUTPUT
160 168

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines