… | |
… | |
3962 | $as_echo_n "(cached) " >&6 |
3962 | $as_echo_n "(cached) " >&6 |
3963 | else |
3963 | else |
3964 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3964 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3965 | /* end confdefs.h. */ |
3965 | /* end confdefs.h. */ |
3966 | |
3966 | |
|
|
3967 | #include <sys/types.h> |
3967 | #include <fcntl.h> |
3968 | #include <fcntl.h> |
3968 | int main (void) |
3969 | int main (void) |
3969 | { |
3970 | { |
3970 | int fd = 0; |
3971 | int fd = 0; |
3971 | size_t count = 2; |
3972 | size_t count = 2; |
… | |
… | |
4076 | $as_echo_n "(cached) " >&6 |
4077 | $as_echo_n "(cached) " >&6 |
4077 | else |
4078 | else |
4078 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4079 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4079 | /* end confdefs.h. */ |
4080 | /* end confdefs.h. */ |
4080 | |
4081 | |
|
|
4082 | #include <sys/types.h> |
4081 | #include <fcntl.h> |
4083 | #include <fcntl.h> |
4082 | int main (void) |
4084 | int main (void) |
4083 | { |
4085 | { |
4084 | int fd = 0; |
4086 | int fd = 0; |
4085 | off64_t offset = 1; |
4087 | off64_t offset = 1; |
… | |
… | |
4411 | fi |
4413 | fi |
4412 | |
4414 | |
4413 | done |
4415 | done |
4414 | |
4416 | |
4415 | |
4417 | |
|
|
4418 | for ac_header in sys/uio.h |
|
|
4419 | do : |
|
|
4420 | ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default" |
|
|
4421 | if test "x$ac_cv_header_sys_uio_h" = xyes; then : |
|
|
4422 | cat >>confdefs.h <<_ACEOF |
|
|
4423 | #define HAVE_SYS_UIO_H 1 |
|
|
4424 | _ACEOF |
|
|
4425 | |
|
|
4426 | fi |
|
|
4427 | |
|
|
4428 | done |
|
|
4429 | |
|
|
4430 | |
|
|
4431 | |
4416 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for splice, vmsplice and tee" >&5 |
4432 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for splice, vmsplice and tee" >&5 |
4417 | $as_echo_n "checking for splice, vmsplice and tee... " >&6; } |
4433 | $as_echo_n "checking for splice, vmsplice and tee... " >&6; } |
4418 | if ${ac_cv_linux_splice+:} false; then : |
4434 | if ${ac_cv_linux_splice+:} false; then : |
4419 | $as_echo_n "(cached) " >&6 |
4435 | $as_echo_n "(cached) " >&6 |
4420 | else |
4436 | else |
4421 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4437 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4422 | /* end confdefs.h. */ |
4438 | /* end confdefs.h. */ |
4423 | |
4439 | |
|
|
4440 | #include <sys/types.h> |
4424 | #include <fcntl.h> |
4441 | #include <fcntl.h> |
|
|
4442 | #include <sys/uio.h> |
4425 | int main (void) |
4443 | int main (void) |
4426 | { |
4444 | { |
4427 | ssize_t res; |
4445 | ssize_t res; |
4428 | res = splice ((int)0, (loff_t)0, (int)0, (loff_t *)0, (size_t)0, SPLICE_F_MOVE | SPLICE_F_NONBLOCK | SPLICE_F_MORE); |
4446 | res = splice ((int)0, (loff_t)0, (int)0, (loff_t *)0, (size_t)0, SPLICE_F_MOVE | SPLICE_F_NONBLOCK | SPLICE_F_MORE); |
4429 | res = tee ((int)0, (int)0, (size_t)0, SPLICE_F_NONBLOCK); |
4447 | res = tee ((int)0, (int)0, (size_t)0, SPLICE_F_NONBLOCK); |
… | |
… | |
4587 | |
4605 | |
4588 | #include "EXTERN.h" |
4606 | #include "EXTERN.h" |
4589 | #include "perl.h" |
4607 | #include "perl.h" |
4590 | #include "XSUB.h" |
4608 | #include "XSUB.h" |
4591 | |
4609 | |
4592 | int res; |
|
|
4593 | int main (void) |
4610 | int main (void) |
4594 | { |
4611 | { |
4595 | return PL_statcache.st_atimensec |
4612 | return PL_statcache.st_atimensec |
4596 | + PL_statcache.st_mtimensec |
4613 | + PL_statcache.st_mtimensec |
4597 | + PL_statcache.st_ctimensec; |
4614 | + PL_statcache.st_ctimensec; |
4598 | return 0; |
|
|
4599 | } |
4615 | } |
4600 | |
4616 | |
4601 | _ACEOF |
4617 | _ACEOF |
4602 | if ac_fn_c_try_compile "$LINENO"; then : |
4618 | if ac_fn_c_try_compile "$LINENO"; then : |
4603 | ac_cv_xtimensec=yes |
4619 | ac_cv_xtimensec=yes |
… | |
… | |
4622 | |
4638 | |
4623 | #include "EXTERN.h" |
4639 | #include "EXTERN.h" |
4624 | #include "perl.h" |
4640 | #include "perl.h" |
4625 | #include "XSUB.h" |
4641 | #include "XSUB.h" |
4626 | |
4642 | |
4627 | int res; |
|
|
4628 | int main (void) |
4643 | int main (void) |
4629 | { |
4644 | { |
4630 | return PL_statcache.st_atim.tv_nsec |
4645 | return PL_statcache.st_atim.tv_nsec |
4631 | + PL_statcache.st_mtim.tv_nsec |
4646 | + PL_statcache.st_mtim.tv_nsec |
4632 | + PL_statcache.st_ctim.tv_nsec; |
4647 | + PL_statcache.st_ctim.tv_nsec; |
… | |
… | |
4645 | test $ac_cv_xtimespec = yes && |
4660 | test $ac_cv_xtimespec = yes && |
4646 | $as_echo "#define HAVE_ST_XTIMESPEC 1" >>confdefs.h |
4661 | $as_echo "#define HAVE_ST_XTIMESPEC 1" >>confdefs.h |
4647 | |
4662 | |
4648 | |
4663 | |
4649 | # apparently, True64 uses st_u[amc]time, aix uses at_[amc]time_n and apple uses st_[amc,birth]timespec? |
4664 | # apparently, True64 uses st_u[amc]time, aix uses at_[amc]time_n and apple uses st_[amc,birth]timespec? |
|
|
4665 | |
|
|
4666 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_birthtimensec" >&5 |
|
|
4667 | $as_echo_n "checking for st_birthtimensec... " >&6; } |
|
|
4668 | if ${ac_cv_birthtimensec+:} false; then : |
|
|
4669 | $as_echo_n "(cached) " >&6 |
|
|
4670 | else |
|
|
4671 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4672 | /* end confdefs.h. */ |
|
|
4673 | |
|
|
4674 | #include "EXTERN.h" |
|
|
4675 | #include "perl.h" |
|
|
4676 | #include "XSUB.h" |
|
|
4677 | |
|
|
4678 | int main (void) |
|
|
4679 | { |
|
|
4680 | return PL_statcache.st_birthtime + PL_statcache.st_birthtimensec; |
|
|
4681 | } |
|
|
4682 | |
|
|
4683 | _ACEOF |
|
|
4684 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
4685 | ac_cv_birthtimensec=yes |
|
|
4686 | else |
|
|
4687 | ac_cv_birthtimensec=no |
|
|
4688 | fi |
|
|
4689 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4690 | fi |
|
|
4691 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_birthtimensec" >&5 |
|
|
4692 | $as_echo "$ac_cv_birthtimensec" >&6; } |
|
|
4693 | test $ac_cv_birthtimensec = yes && |
|
|
4694 | $as_echo "#define HAVE_ST_BIRTHTIMENSEC 1" >>confdefs.h |
|
|
4695 | |
|
|
4696 | |
|
|
4697 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_birthtimespec" >&5 |
|
|
4698 | $as_echo_n "checking for st_birthtimespec... " >&6; } |
|
|
4699 | if ${ac_cv_birthtimespec+:} false; then : |
|
|
4700 | $as_echo_n "(cached) " >&6 |
|
|
4701 | else |
|
|
4702 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4703 | /* end confdefs.h. */ |
|
|
4704 | |
|
|
4705 | #include "EXTERN.h" |
|
|
4706 | #include "perl.h" |
|
|
4707 | #include "XSUB.h" |
|
|
4708 | |
|
|
4709 | int main (void) |
|
|
4710 | { |
|
|
4711 | return PL_statcache.st_birthtim.tv_sec + PL_statcache.st_birthtim.tv_nsec; |
|
|
4712 | } |
|
|
4713 | |
|
|
4714 | _ACEOF |
|
|
4715 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
4716 | ac_cv_birthtimespec=yes |
|
|
4717 | else |
|
|
4718 | ac_cv_birthtimespec=no |
|
|
4719 | fi |
|
|
4720 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4721 | fi |
|
|
4722 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_birthtimespec" >&5 |
|
|
4723 | $as_echo "$ac_cv_birthtimespec" >&6; } |
|
|
4724 | test $ac_cv_birthtimespec = yes && |
|
|
4725 | $as_echo "#define HAVE_ST_BIRTHTIMESPEC 1" >>confdefs.h |
|
|
4726 | |
|
|
4727 | |
|
|
4728 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_gen" >&5 |
|
|
4729 | $as_echo_n "checking for st_gen... " >&6; } |
|
|
4730 | if ${ac_cv_st_gen+:} false; then : |
|
|
4731 | $as_echo_n "(cached) " >&6 |
|
|
4732 | else |
|
|
4733 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4734 | /* end confdefs.h. */ |
|
|
4735 | |
|
|
4736 | #include "EXTERN.h" |
|
|
4737 | #include "perl.h" |
|
|
4738 | #include "XSUB.h" |
|
|
4739 | |
|
|
4740 | int main (void) |
|
|
4741 | { |
|
|
4742 | return PL_statcache.st_gen; |
|
|
4743 | } |
|
|
4744 | |
|
|
4745 | _ACEOF |
|
|
4746 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
4747 | ac_cv_st_gen=yes |
|
|
4748 | else |
|
|
4749 | ac_cv_st_gen=no |
|
|
4750 | fi |
|
|
4751 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4752 | fi |
|
|
4753 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_st_gen" >&5 |
|
|
4754 | $as_echo "$ac_cv_st_gen" >&6; } |
|
|
4755 | test $ac_cv_st_gen = yes && |
|
|
4756 | $as_echo "#define HAVE_ST_GEN 1" >>confdefs.h |
|
|
4757 | |
4650 | |
4758 | |
4651 | cat >confcache <<\_ACEOF |
4759 | cat >confcache <<\_ACEOF |
4652 | # This file is a shell script that caches the results of configure |
4760 | # This file is a shell script that caches the results of configure |
4653 | # tests run on this system so they can be shared between configure |
4761 | # tests run on this system so they can be shared between configure |
4654 | # scripts and configure runs, see configure's option --config-cache. |
4762 | # scripts and configure runs, see configure's option --config-cache. |