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

Comparing IO-AIO/configure (file contents):
Revision 1.15 by root, Tue Apr 10 05:01:34 2012 UTC vs.
Revision 1.16 by root, Sat Jun 2 20:13:53 2012 UTC

3982$as_echo "$ac_cv_fdatasync" >&6; } 3982$as_echo "$ac_cv_fdatasync" >&6; }
3983test $ac_cv_fdatasync = yes && 3983test $ac_cv_fdatasync = yes &&
3984$as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h 3984$as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h
3985 3985
3986 3986
3987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pread and pwrite" >&5
3988$as_echo_n "checking for pread and pwrite... " >&6; }
3989if test "${ac_cv_preadwrite+set}" = set; then :
3990 $as_echo_n "(cached) " >&6
3991else
3992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3993/* end confdefs.h. */
3994
3995#include <unistd.h>
3996int main (void)
3997{
3998 int fd = 0;
3999 size_t count = 1;
4000 char buf;
4001 off_t offset = 1;
4002 ssize_t res;
4003 res = pread (fd, &buf, count, offset);
4004 res = pwrite (fd, &buf, count, offset);
4005 return 0;
4006}
4007
4008_ACEOF
4009if ac_fn_c_try_link "$LINENO"; then :
4010 ac_cv_preadwrite=yes
4011else
4012 ac_cv_preadwrite=no
4013fi
4014rm -f core conftest.err conftest.$ac_objext \
4015 conftest$ac_exeext conftest.$ac_ext
4016fi
4017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_preadwrite" >&5
4018$as_echo "$ac_cv_preadwrite" >&6; }
4019test $ac_cv_preadwrite = yes &&
4020$as_echo "#define HAVE_PREADWRITE 1" >>confdefs.h
4021
4022
4023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5 3987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5
4024$as_echo_n "checking for sendfile... " >&6; } 3988$as_echo_n "checking for sendfile... " >&6; }
4025if test "${ac_cv_sendfile+set}" = set; then : 3989if test "${ac_cv_sendfile+set}" = set; then :
4026 $as_echo_n "(cached) " >&6 3990 $as_echo_n "(cached) " >&6
4027else 3991else
4105$as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h 4069$as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h
4106 4070
4107 4071
4108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5 4072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
4109$as_echo_n "checking for fallocate... " >&6; } 4073$as_echo_n "checking for fallocate... " >&6; }
4110if test "${ac_cv_flinux_allocate+set}" = set; then : 4074if test "${ac_cv_linux_fallocate+set}" = set; then :
4111 $as_echo_n "(cached) " >&6 4075 $as_echo_n "(cached) " >&6
4112else 4076else
4113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4114/* end confdefs.h. */ 4078/* end confdefs.h. */
4115 4079
4132 ac_cv_linux_fallocate=no 4096 ac_cv_linux_fallocate=no
4133fi 4097fi
4134rm -f core conftest.err conftest.$ac_objext \ 4098rm -f core conftest.err conftest.$ac_objext \
4135 conftest$ac_exeext conftest.$ac_ext 4099 conftest$ac_exeext conftest.$ac_ext
4136fi 4100fi
4137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_flinux_allocate" >&5 4101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_linux_fallocate" >&5
4138$as_echo "$ac_cv_flinux_allocate" >&6; } 4102$as_echo "$ac_cv_linux_fallocate" >&6; }
4139test $ac_cv_linux_fallocate = yes && 4103test $ac_cv_linux_fallocate = yes &&
4140$as_echo "#define HAVE_LINUX_FALLOCATE 1" >>confdefs.h 4104$as_echo "#define HAVE_LINUX_FALLOCATE 1" >>confdefs.h
4141 4105
4142 4106
4143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_syncfs" >&5 4107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys_syncfs" >&5

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines