… | |
… | |
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; |
… | |
… | |
4385 | fi |
4387 | fi |
4386 | |
4388 | |
4387 | done |
4389 | done |
4388 | |
4390 | |
4389 | |
4391 | |
|
|
4392 | for ac_header in sys/sysmacros.h |
|
|
4393 | do : |
|
|
4394 | ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default" |
|
|
4395 | if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then : |
|
|
4396 | cat >>confdefs.h <<_ACEOF |
|
|
4397 | #define HAVE_SYS_SYSMACROS_H 1 |
|
|
4398 | _ACEOF |
|
|
4399 | |
|
|
4400 | fi |
|
|
4401 | |
|
|
4402 | done |
|
|
4403 | |
|
|
4404 | |
|
|
4405 | for ac_header in sys/mkdev.h |
|
|
4406 | do : |
|
|
4407 | ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default" |
|
|
4408 | if test "x$ac_cv_header_sys_mkdev_h" = xyes; then : |
|
|
4409 | cat >>confdefs.h <<_ACEOF |
|
|
4410 | #define HAVE_SYS_MKDEV_H 1 |
|
|
4411 | _ACEOF |
|
|
4412 | |
|
|
4413 | fi |
|
|
4414 | |
|
|
4415 | done |
|
|
4416 | |
|
|
4417 | |
4390 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for splice, vmsplice and tee" >&5 |
4418 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for splice, vmsplice and tee" >&5 |
4391 | $as_echo_n "checking for splice, vmsplice and tee... " >&6; } |
4419 | $as_echo_n "checking for splice, vmsplice and tee... " >&6; } |
4392 | if ${ac_cv_linux_splice+:} false; then : |
4420 | if ${ac_cv_linux_splice+:} false; then : |
4393 | $as_echo_n "(cached) " >&6 |
4421 | $as_echo_n "(cached) " >&6 |
4394 | else |
4422 | else |
4395 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4423 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4396 | /* end confdefs.h. */ |
4424 | /* end confdefs.h. */ |
4397 | |
4425 | |
|
|
4426 | #include <sys/types.h> |
4398 | #include <fcntl.h> |
4427 | #include <fcntl.h> |
4399 | int main (void) |
4428 | int main (void) |
4400 | { |
4429 | { |
4401 | ssize_t res; |
4430 | ssize_t res; |
4402 | res = splice ((int)0, (loff_t)0, (int)0, (loff_t *)0, (size_t)0, SPLICE_F_MOVE | SPLICE_F_NONBLOCK | SPLICE_F_MORE); |
4431 | res = splice ((int)0, (loff_t)0, (int)0, (loff_t *)0, (size_t)0, SPLICE_F_MOVE | SPLICE_F_NONBLOCK | SPLICE_F_MORE); |
… | |
… | |
4561 | |
4590 | |
4562 | #include "EXTERN.h" |
4591 | #include "EXTERN.h" |
4563 | #include "perl.h" |
4592 | #include "perl.h" |
4564 | #include "XSUB.h" |
4593 | #include "XSUB.h" |
4565 | |
4594 | |
4566 | int res; |
|
|
4567 | int main (void) |
4595 | int main (void) |
4568 | { |
4596 | { |
4569 | return PL_statcache.st_atimensec |
4597 | return PL_statcache.st_atimensec |
4570 | + PL_statcache.st_mtimensec |
4598 | + PL_statcache.st_mtimensec |
4571 | + PL_statcache.st_ctimensec; |
4599 | + PL_statcache.st_ctimensec; |
4572 | return 0; |
|
|
4573 | } |
4600 | } |
4574 | |
4601 | |
4575 | _ACEOF |
4602 | _ACEOF |
4576 | if ac_fn_c_try_compile "$LINENO"; then : |
4603 | if ac_fn_c_try_compile "$LINENO"; then : |
4577 | ac_cv_xtimensec=yes |
4604 | ac_cv_xtimensec=yes |
… | |
… | |
4596 | |
4623 | |
4597 | #include "EXTERN.h" |
4624 | #include "EXTERN.h" |
4598 | #include "perl.h" |
4625 | #include "perl.h" |
4599 | #include "XSUB.h" |
4626 | #include "XSUB.h" |
4600 | |
4627 | |
4601 | int res; |
|
|
4602 | int main (void) |
4628 | int main (void) |
4603 | { |
4629 | { |
4604 | return PL_statcache.st_atim.tv_nsec |
4630 | return PL_statcache.st_atim.tv_nsec |
4605 | + PL_statcache.st_mtim.tv_nsec |
4631 | + PL_statcache.st_mtim.tv_nsec |
4606 | + PL_statcache.st_ctim.tv_nsec; |
4632 | + PL_statcache.st_ctim.tv_nsec; |
… | |
… | |
4616 | fi |
4642 | fi |
4617 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_xtimespec" >&5 |
4643 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_xtimespec" >&5 |
4618 | $as_echo "$ac_cv_xtimespec" >&6; } |
4644 | $as_echo "$ac_cv_xtimespec" >&6; } |
4619 | test $ac_cv_xtimespec = yes && |
4645 | test $ac_cv_xtimespec = yes && |
4620 | $as_echo "#define HAVE_ST_XTIMESPEC 1" >>confdefs.h |
4646 | $as_echo "#define HAVE_ST_XTIMESPEC 1" >>confdefs.h |
|
|
4647 | |
|
|
4648 | |
|
|
4649 | # apparently, True64 uses st_u[amc]time, aix uses at_[amc]time_n and apple uses st_[amc,birth]timespec? |
|
|
4650 | |
|
|
4651 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_birthtimensec" >&5 |
|
|
4652 | $as_echo_n "checking for st_birthtimensec... " >&6; } |
|
|
4653 | if ${ac_cv_birthtimensec+:} false; then : |
|
|
4654 | $as_echo_n "(cached) " >&6 |
|
|
4655 | else |
|
|
4656 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4657 | /* end confdefs.h. */ |
|
|
4658 | |
|
|
4659 | #include "EXTERN.h" |
|
|
4660 | #include "perl.h" |
|
|
4661 | #include "XSUB.h" |
|
|
4662 | |
|
|
4663 | int main (void) |
|
|
4664 | { |
|
|
4665 | return PL_statcache.st_birthtime + PL_statcache.st_birthtimensec; |
|
|
4666 | } |
|
|
4667 | |
|
|
4668 | _ACEOF |
|
|
4669 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
4670 | ac_cv_birthtimensec=yes |
|
|
4671 | else |
|
|
4672 | ac_cv_birthtimensec=no |
|
|
4673 | fi |
|
|
4674 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4675 | fi |
|
|
4676 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_birthtimensec" >&5 |
|
|
4677 | $as_echo "$ac_cv_birthtimensec" >&6; } |
|
|
4678 | test $ac_cv_birthtimensec = yes && |
|
|
4679 | $as_echo "#define HAVE_ST_BIRTHTIMENSEC 1" >>confdefs.h |
|
|
4680 | |
|
|
4681 | |
|
|
4682 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_birthtimespec" >&5 |
|
|
4683 | $as_echo_n "checking for st_birthtimespec... " >&6; } |
|
|
4684 | if ${ac_cv_birthtimespec+:} false; then : |
|
|
4685 | $as_echo_n "(cached) " >&6 |
|
|
4686 | else |
|
|
4687 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4688 | /* end confdefs.h. */ |
|
|
4689 | |
|
|
4690 | #include "EXTERN.h" |
|
|
4691 | #include "perl.h" |
|
|
4692 | #include "XSUB.h" |
|
|
4693 | |
|
|
4694 | int main (void) |
|
|
4695 | { |
|
|
4696 | return PL_statcache.st_birthtim.tv_sec + PL_statcache.st_birthtim.tv_nsec; |
|
|
4697 | } |
|
|
4698 | |
|
|
4699 | _ACEOF |
|
|
4700 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
4701 | ac_cv_birthtimespec=yes |
|
|
4702 | else |
|
|
4703 | ac_cv_birthtimespec=no |
|
|
4704 | fi |
|
|
4705 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4706 | fi |
|
|
4707 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_birthtimespec" >&5 |
|
|
4708 | $as_echo "$ac_cv_birthtimespec" >&6; } |
|
|
4709 | test $ac_cv_birthtimespec = yes && |
|
|
4710 | $as_echo "#define HAVE_ST_BIRTHTIMESPEC 1" >>confdefs.h |
|
|
4711 | |
|
|
4712 | |
|
|
4713 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for st_gen" >&5 |
|
|
4714 | $as_echo_n "checking for st_gen... " >&6; } |
|
|
4715 | if ${ac_cv_st_gen+:} false; then : |
|
|
4716 | $as_echo_n "(cached) " >&6 |
|
|
4717 | else |
|
|
4718 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4719 | /* end confdefs.h. */ |
|
|
4720 | |
|
|
4721 | #include "EXTERN.h" |
|
|
4722 | #include "perl.h" |
|
|
4723 | #include "XSUB.h" |
|
|
4724 | |
|
|
4725 | int main (void) |
|
|
4726 | { |
|
|
4727 | return PL_statcache.st_gen; |
|
|
4728 | } |
|
|
4729 | |
|
|
4730 | _ACEOF |
|
|
4731 | if ac_fn_c_try_compile "$LINENO"; then : |
|
|
4732 | ac_cv_st_gen=yes |
|
|
4733 | else |
|
|
4734 | ac_cv_st_gen=no |
|
|
4735 | fi |
|
|
4736 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4737 | fi |
|
|
4738 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_st_gen" >&5 |
|
|
4739 | $as_echo "$ac_cv_st_gen" >&6; } |
|
|
4740 | test $ac_cv_st_gen = yes && |
|
|
4741 | $as_echo "#define HAVE_ST_GEN 1" >>confdefs.h |
4621 | |
4742 | |
4622 | |
4743 | |
4623 | cat >confcache <<\_ACEOF |
4744 | cat >confcache <<\_ACEOF |
4624 | # This file is a shell script that caches the results of configure |
4745 | # This file is a shell script that caches the results of configure |
4625 | # tests run on this system so they can be shared between configure |
4746 | # tests run on this system so they can be shared between configure |