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

Comparing IO-AIO/configure (file contents):
Revision 1.23 by root, Sun Aug 12 05:21:35 2018 UTC vs.
Revision 1.27 by root, Sat Aug 25 19:25:32 2018 UTC

4385fi 4385fi
4386 4386
4387done 4387done
4388 4388
4389 4389
4390for ac_header in sys/sysmacros.h
4391do :
4392 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
4393if 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
4398fi
4399
4400done
4401
4402
4403for ac_header in sys/mkdev.h
4404do :
4405 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
4406if 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
4411fi
4412
4413done
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; }
4392if ${ac_cv_linux_splice+:} false; then : 4418if ${ac_cv_linux_splice+:} false; then :
4393 $as_echo_n "(cached) " >&6 4419 $as_echo_n "(cached) " >&6
4394else 4420else
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
4566int res;
4567int main (void) 4592int 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
4576if ac_fn_c_try_compile "$LINENO"; then : 4600if 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
4601int res;
4602int main (void) 4625int 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;
4616fi 4639fi
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; }
4619test $ac_cv_xtimespec = yes && 4642test $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; }
4650if ${ac_cv_birthtimensec+:} false; then :
4651 $as_echo_n "(cached) " >&6
4652else
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
4660int main (void)
4661{
4662 return PL_statcache.st_birthtime + PL_statcache.st_birthtimensec;
4663}
4664
4665_ACEOF
4666if ac_fn_c_try_compile "$LINENO"; then :
4667 ac_cv_birthtimensec=yes
4668else
4669 ac_cv_birthtimensec=no
4670fi
4671rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4672fi
4673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_birthtimensec" >&5
4674$as_echo "$ac_cv_birthtimensec" >&6; }
4675test $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; }
4681if ${ac_cv_birthtimespec+:} false; then :
4682 $as_echo_n "(cached) " >&6
4683else
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
4691int main (void)
4692{
4693 return PL_statcache.st_birthtim.tv_sec + PL_statcache.st_birthtim.tv_nsec;
4694}
4695
4696_ACEOF
4697if ac_fn_c_try_compile "$LINENO"; then :
4698 ac_cv_birthtimespec=yes
4699else
4700 ac_cv_birthtimespec=no
4701fi
4702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4703fi
4704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_birthtimespec" >&5
4705$as_echo "$ac_cv_birthtimespec" >&6; }
4706test $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; }
4712if ${ac_cv_st_gen+:} false; then :
4713 $as_echo_n "(cached) " >&6
4714else
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
4722int main (void)
4723{
4724 return PL_statcache.st_gen;
4725}
4726
4727_ACEOF
4728if ac_fn_c_try_compile "$LINENO"; then :
4729 ac_cv_st_gen=yes
4730else
4731 ac_cv_st_gen=no
4732fi
4733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4734fi
4735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_st_gen" >&5
4736$as_echo "$ac_cv_st_gen" >&6; }
4737test $ac_cv_st_gen = yes &&
4738$as_echo "#define HAVE_ST_GEN 1" >>confdefs.h
4621 4739
4622 4740
4623cat >confcache <<\_ACEOF 4741cat >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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines