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

Comparing IO-AIO/configure (file contents):
Revision 1.18 by root, Fri Jun 23 03:23:19 2017 UTC vs.
Revision 1.19 by root, Fri Jun 23 22:15:24 2017 UTC

4381$as_echo "$ac_cv_renameat2" >&6; } 4381$as_echo "$ac_cv_renameat2" >&6; }
4382test $ac_cv_renameat2 = yes && 4382test $ac_cv_renameat2 = yes &&
4383$as_echo "#define HAVE_RENAMEAT2 1" >>confdefs.h 4383$as_echo "#define HAVE_RENAMEAT2 1" >>confdefs.h
4384 4384
4385 4385
4386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for copy_file_range" >&5
4387$as_echo_n "checking for copy_file_range... " >&6; }
4388if ${ac_cv_copy_file_range+:} false; then :
4389 $as_echo_n "(cached) " >&6
4390else
4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4392/* end confdefs.h. */
4393
4394#include <unistd.h>
4395#include <sys/syscall.h>
4396/*#include <linux/copy.h>*/
4397int res;
4398int main (void)
4399{
4400 /*res = syscall (SYS_copy_file_range, 0, 0, 0, 0, 0, COPY_FR_REFLINK | COPY_FR_DEDUP | COPY_FR_COPY);*/
4401 res = syscall (SYS_copy_file_range, 0, 0, 0, 0, 0, 0);
4402 return 0;
4403}
4404
4405_ACEOF
4406if ac_fn_c_try_link "$LINENO"; then :
4407 ac_cv_copy_file_range=yes
4408else
4409 ac_cv_copy_file_range=no
4410fi
4411rm -f core conftest.err conftest.$ac_objext \
4412 conftest$ac_exeext conftest.$ac_ext
4413fi
4414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_copy_file_range" >&5
4415$as_echo "$ac_cv_copy_file_range" >&6; }
4416test $ac_cv_copy_file_range = yes &&
4417$as_echo "#define HAVE_COPY_FILE_RANGE 1" >>confdefs.h
4418
4419
4386 4420
4387 4421
4388cat >confcache <<\_ACEOF 4422cat >confcache <<\_ACEOF
4389# This file is a shell script that caches the results of configure 4423# This file is a shell script that caches the results of configure
4390# tests run on this system so they can be shared between configure 4424# tests run on this system so they can be shared between configure

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines