summaryrefslogtreecommitdiff
path: root/configure.com
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2014-08-19 06:53:42 -0500
committerCraig A. Berry <craigberry@mac.com>2014-08-19 06:53:42 -0500
commitc6c7826a32eeced7f6784af8e9640de9807f5444 (patch)
tree038673ab583c1a77a710b1c1ad1b8f783022e018 /configure.com
parent59c96aebdd56baf5d1979103046b1c6d4e308aa2 (diff)
downloadperl-c6c7826a32eeced7f6784af8e9640de9807f5444.tar.gz
Fix finite/finitel/isfinite in configure.com.
VMS has had these for a very long time but we haven't been admitting it. Spotted by Jarkko.
Diffstat (limited to 'configure.com')
-rw-r--r--configure.com17
1 files changed, 14 insertions, 3 deletions
diff --git a/configure.com b/configure.com
index 5b85dfd92a..1fb5fb3dda 100644
--- a/configure.com
+++ b/configure.com
@@ -5968,8 +5968,14 @@ $ WC "d_fd_set='" + d_fd_set + "'"
$ WC "d_fd_macros='define'"
$ WC "d_fds_bits='define'"
$ WC "d_fgetpos='define'"
-$ WC "d_finite='undef'"
-$ WC "d_finitel='undef'"
+$ IF F$ELEMENT(0, "-", archname) .NES. "VMS_VAX" .AND. use_ieee_math
+$ THEN
+$ WC "d_finite='define'"
+$ WC "d_finitel='define'"
+$ ELSE
+$ WC "d_finite='undef'"
+$ WC "d_finitel='undef'"
+$ ENDIF
$ WC "d_flexfnam='define'"
$ WC "d_flock='undef'"
$ WC "d_flockproto='undef'"
@@ -6058,7 +6064,12 @@ $ WC "d_ipv6_mreq='define'"
$ WC "d_ipv6_mreq_source='undef'"
$ WC "d_isascii='define'"
$ WC "d_isblank='undef'"
-$ WC "d_isfinite='undef'"
+$ IF F$ELEMENT(0, "-", archname) .NES. "VMS_VAX" .AND. use_ieee_math
+$ THEN
+$ WC "d_isfinite='define'"
+$ ELSE
+$ WC "d_isfinite='undef'"
+$ ENDIF
$ WC "d_isinf='undef'"
$ WC "d_isnan='" + d_isnan + "'"
$ WC "d_isnanl='" + d_isnanl + "'"