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

Comparing IO-AIO/configure (file contents):
Revision 1.38 by root, Thu Dec 14 10:08:19 2023 UTC vs.
Revision 1.39 by root, Thu Feb 29 18:02:43 2024 UTC

4425printf "%s\n" "$ac_cv_sync_file_range" >&6; } 4425printf "%s\n" "$ac_cv_sync_file_range" >&6; }
4426test $ac_cv_sync_file_range = yes && 4426test $ac_cv_sync_file_range = yes &&
4427printf "%s\n" "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h 4427printf "%s\n" "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h
4428 4428
4429 4429
4430{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for copy_file_range" >&5
4431printf %s "checking for copy_file_range... " >&6; }
4432if test ${ac_cv_copy_file_range+y}
4433then :
4434 printf %s "(cached) " >&6
4435else $as_nop
4436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437/* end confdefs.h. */
4438
4439#include <unistd.h>
4440int main (void)
4441{
4442 off64_t o1, o2;
4443 int res = copy_file_range (0, &o1, 1, &o2, 99, 0);
4444 return 0;
4445}
4446
4447_ACEOF
4448if ac_fn_c_try_link "$LINENO"
4449then :
4450 ac_cv_copy_file_range=yes
4451else $as_nop
4452 ac_cv_copy_file_range=no
4453fi
4454rm -f core conftest.err conftest.$ac_objext conftest.beam \
4455 conftest$ac_exeext conftest.$ac_ext
4456fi
4457{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_copy_file_range" >&5
4458printf "%s\n" "$ac_cv_copy_file_range" >&6; }
4459test $ac_cv_copy_file_range = yes &&
4460printf "%s\n" "#define HAVE_COPY_FILE_RANGE 1" >>confdefs.h
4461
4462
4430{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5 4463{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
4431printf %s "checking for fallocate... " >&6; } 4464printf %s "checking for fallocate... " >&6; }
4432if test ${ac_cv_linux_fallocate+y} 4465if test ${ac_cv_linux_fallocate+y}
4433then : 4466then :
4434 printf %s "(cached) " >&6 4467 printf %s "(cached) " >&6
5021fi 5054fi
5022{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_memfd_create" >&5 5055{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_memfd_create" >&5
5023printf "%s\n" "$ac_cv_memfd_create" >&6; } 5056printf "%s\n" "$ac_cv_memfd_create" >&6; }
5024test $ac_cv_memfd_create = yes && 5057test $ac_cv_memfd_create = yes &&
5025printf "%s\n" "#define HAVE_MEMFD_CREATE 1" >>confdefs.h 5058printf "%s\n" "#define HAVE_MEMFD_CREATE 1" >>confdefs.h
5026
5027
5028{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for copy_file_range" >&5
5029printf %s "checking for copy_file_range... " >&6; }
5030if test ${ac_cv_copy_file_range+y}
5031then :
5032 printf %s "(cached) " >&6
5033else $as_nop
5034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5035/* end confdefs.h. */
5036
5037#include <unistd.h>
5038#include <sys/syscall.h>
5039/*#include <linux/copy.h>*/
5040int main (void)
5041{
5042 int res;
5043 /*res = syscall (SYS_copy_file_range, 0, 0, 0, 0, 0, COPY_FR_REFLINK | COPY_FR_DEDUP | COPY_FR_COPY);*/
5044 res = syscall (SYS_copy_file_range, 0, 0, 0, 0, 0, 0);
5045 return 0;
5046}
5047
5048_ACEOF
5049if ac_fn_c_try_link "$LINENO"
5050then :
5051 ac_cv_copy_file_range=yes
5052else $as_nop
5053 ac_cv_copy_file_range=no
5054fi
5055rm -f core conftest.err conftest.$ac_objext conftest.beam \
5056 conftest$ac_exeext conftest.$ac_ext
5057fi
5058{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_copy_file_range" >&5
5059printf "%s\n" "$ac_cv_copy_file_range" >&6; }
5060test $ac_cv_copy_file_range = yes &&
5061printf "%s\n" "#define HAVE_COPY_FILE_RANGE 1" >>confdefs.h
5062 5059
5063 5060
5064{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for st_xtimensec" >&5 5061{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for st_xtimensec" >&5
5065printf %s "checking for st_xtimensec... " >&6; } 5062printf %s "checking for st_xtimensec... " >&6; }
5066if test ${ac_cv_xtimensec+y} 5063if test ${ac_cv_xtimensec+y}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines