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