diff options
author | Aaron Crane <arc@cpan.org> | 2017-10-13 15:14:20 +0200 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2017-10-21 16:53:05 +0100 |
commit | be9d87ad962b0216d0ff92be75d90e3b36eeadb9 (patch) | |
tree | 7195d0c301f17f94354ddf1ce2c2237211dceaec /Configure | |
parent | edb450b123b6d0746d07c89cc1fe31426753497c (diff) | |
download | perl-be9d87ad962b0216d0ff92be75d90e3b36eeadb9.tar.gz |
Don't try to use <values.h>
All the information it contains can be gleaned more readily from C89
<limits.h> and <float.h>.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -1070,7 +1070,6 @@ timeincl='' i_unistd='' i_ustat='' i_utime='' -i_values='' i_vfork='' i_wchar='' d_inc_version_list='' @@ -21480,25 +21479,15 @@ else fi $rm -f foo* bar* -: see if this is a values.h system -set values.h i_values -eval $inhdr - : Check the max offset that gmtime and localtime accept echo "Checking max offsets that gmtime () accepts" -case $i_values in - define) yyy="#include <values.h>" ;; - *) yyy="" ;; - esac - case "$sGMTIME_min/$sGMTIME_max" in 0/0|/) $cat >try.c <<EOCP #include <sys/types.h> #include <stdio.h> #include <time.h> -$yyy int i; struct tm *tmp; @@ -21577,7 +21566,6 @@ case "$sLOCALTIME_min/$sLOCALTIME_max" in #include <sys/types.h> #include <stdio.h> #include <time.h> -$yyy int i; struct tm *tmp; @@ -24576,7 +24564,6 @@ i_time='$i_time' i_unistd='$i_unistd' i_ustat='$i_ustat' i_utime='$i_utime' -i_values='$i_values' i_vfork='$i_vfork' i_wchar='$i_wchar' i_xlocale='$i_xlocale' |