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.20 by root, Wed Sep 28 08:24:25 2022 UTC vs.
Revision 1.22 by root, Thu Feb 29 18:02:43 2024 UTC

78AC_CACHE_CHECK(for fexecve, ac_cv_fexecve, [AC_LINK_IFELSE([AC_LANG_SOURCE([[ 78AC_CACHE_CHECK(for fexecve, ac_cv_fexecve, [AC_LINK_IFELSE([AC_LANG_SOURCE([[
79#include <fcntl.h> 79#include <fcntl.h>
80#include <unistd.h> 80#include <unistd.h>
81int main (void) 81int main (void)
82{ 82{
83 char *const argv[] = { "foo", "bar", 0 };
83 int res = fexecve (-1, "argv", 0); 84 int res = fexecve (-1, argv, 0);
84 return 0; 85 return 0;
85} 86}
86]])],ac_cv_fexecve=yes,ac_cv_fexecve=no)]) 87]])],ac_cv_fexecve=yes,ac_cv_fexecve=no)])
87test $ac_cv_fexecve = yes && AC_DEFINE(HAVE_FEXECVE, 1, fexecve(2) is available) 88test $ac_cv_fexecve = yes && AC_DEFINE(HAVE_FEXECVE, 1, fexecve(2) is available)
88 89
172 return 0; 173 return 0;
173} 174}
174]])],ac_cv_memfd_create=yes,ac_cv_memfd_create=no)]) 175]])],ac_cv_memfd_create=yes,ac_cv_memfd_create=no)])
175test $ac_cv_memfd_create = yes && AC_DEFINE(HAVE_MEMFD_CREATE, 1, memfd_create(2) is available) 176test $ac_cv_memfd_create = yes && AC_DEFINE(HAVE_MEMFD_CREATE, 1, memfd_create(2) is available)
176 177
177AC_CACHE_CHECK(for copy_file_range, ac_cv_copy_file_range, [AC_LINK_IFELSE([AC_LANG_SOURCE([[
178#include <unistd.h>
179#include <sys/syscall.h>
180/*#include <linux/copy.h>*/
181int main (void)
182{
183 int res;
184 /*res = syscall (SYS_copy_file_range, 0, 0, 0, 0, 0, COPY_FR_REFLINK | COPY_FR_DEDUP | COPY_FR_COPY);*/
185 res = syscall (SYS_copy_file_range, 0, 0, 0, 0, 0, 0);
186 return 0;
187}
188]])],ac_cv_copy_file_range=yes,ac_cv_copy_file_range=no)])
189test $ac_cv_copy_file_range = yes && AC_DEFINE(HAVE_COPY_FILE_RANGE, 1, copy_file_range(2) is available)
190
191AC_CACHE_CHECK(for st_xtimensec, ac_cv_xtimensec, [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ 178AC_CACHE_CHECK(for st_xtimensec, ac_cv_xtimensec, [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
192#include "EXTERN.h" 179#include "EXTERN.h"
193#include "perl.h" 180#include "perl.h"
194#include "XSUB.h" 181#include "XSUB.h"
195 182

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines