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

Comparing IO-AIO/configure (file contents):
Revision 1.36 by root, Sun Sep 25 16:35:51 2022 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
4747 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h 4780 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
4748 4781
4749fi 4782fi
4750 4783
4751 4784
4785{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for fexecve" >&5
4786printf %s "checking for fexecve... " >&6; }
4787if test ${ac_cv_fexecve+y}
4788then :
4789 printf %s "(cached) " >&6
4790else $as_nop
4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792/* end confdefs.h. */
4793
4794#include <fcntl.h>
4795#include <unistd.h>
4796int main (void)
4797{
4798 char *const argv[] = { "foo", "bar", 0 };
4799 int res = fexecve (-1, argv, 0);
4800 return 0;
4801}
4802
4803_ACEOF
4804if ac_fn_c_try_link "$LINENO"
4805then :
4806 ac_cv_fexecve=yes
4807else $as_nop
4808 ac_cv_fexecve=no
4809fi
4810rm -f core conftest.err conftest.$ac_objext conftest.beam \
4811 conftest$ac_exeext conftest.$ac_ext
4812fi
4813{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fexecve" >&5
4814printf "%s\n" "$ac_cv_fexecve" >&6; }
4815test $ac_cv_fexecve = yes &&
4816printf "%s\n" "#define HAVE_FEXECVE 1" >>confdefs.h
4817
4818
4752{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for siginfo_t" >&5 4819{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for siginfo_t" >&5
4753printf %s "checking for siginfo_t... " >&6; } 4820printf %s "checking for siginfo_t... " >&6; }
4754if test ${ac_cv_siginfo_t+y} 4821if test ${ac_cv_siginfo_t+y}
4755then : 4822then :
4756 printf %s "(cached) " >&6 4823 printf %s "(cached) " >&6
4987fi 5054fi
4988{ 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
4989printf "%s\n" "$ac_cv_memfd_create" >&6; } 5056printf "%s\n" "$ac_cv_memfd_create" >&6; }
4990test $ac_cv_memfd_create = yes && 5057test $ac_cv_memfd_create = yes &&
4991printf "%s\n" "#define HAVE_MEMFD_CREATE 1" >>confdefs.h 5058printf "%s\n" "#define HAVE_MEMFD_CREATE 1" >>confdefs.h
4992
4993
4994{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for copy_file_range" >&5
4995printf %s "checking for copy_file_range... " >&6; }
4996if test ${ac_cv_copy_file_range+y}
4997then :
4998 printf %s "(cached) " >&6
4999else $as_nop
5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5001/* end confdefs.h. */
5002
5003#include <unistd.h>
5004#include <sys/syscall.h>
5005/*#include <linux/copy.h>*/
5006int main (void)
5007{
5008 int res;
5009 /*res = syscall (SYS_copy_file_range, 0, 0, 0, 0, 0, COPY_FR_REFLINK | COPY_FR_DEDUP | COPY_FR_COPY);*/
5010 res = syscall (SYS_copy_file_range, 0, 0, 0, 0, 0, 0);
5011 return 0;
5012}
5013
5014_ACEOF
5015if ac_fn_c_try_link "$LINENO"
5016then :
5017 ac_cv_copy_file_range=yes
5018else $as_nop
5019 ac_cv_copy_file_range=no
5020fi
5021rm -f core conftest.err conftest.$ac_objext conftest.beam \
5022 conftest$ac_exeext conftest.$ac_ext
5023fi
5024{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_copy_file_range" >&5
5025printf "%s\n" "$ac_cv_copy_file_range" >&6; }
5026test $ac_cv_copy_file_range = yes &&
5027printf "%s\n" "#define HAVE_COPY_FILE_RANGE 1" >>confdefs.h
5028 5059
5029 5060
5030{ 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
5031printf %s "checking for st_xtimensec... " >&6; } 5062printf %s "checking for st_xtimensec... " >&6; }
5032if test ${ac_cv_xtimensec+y} 5063if test ${ac_cv_xtimensec+y}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines