diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-08-18 09:57:06 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-08-20 09:33:08 -0400 |
commit | fa484e6086b60c4cc6a365098cfb23e1c00d69a9 (patch) | |
tree | 2fa44a3eb993c17b7433bc455ebeb8eb3dd9165f | |
parent | 2bb3725dfe9edb3ec056dbc691826cda14d85a48 (diff) | |
download | perl-fa484e6086b60c4cc6a365098cfb23e1c00d69a9.tar.gz |
Configure for isfinitel / isinfl.
-rwxr-xr-x | Configure | 12 | ||||
-rw-r--r-- | Cross/config.sh-arm-linux | 2 | ||||
-rw-r--r-- | NetWare/config.wc | 2 | ||||
-rw-r--r-- | Porting/Glossary | 8 | ||||
-rw-r--r-- | Porting/config.sh | 2 | ||||
-rwxr-xr-x | config_h.SH | 13 | ||||
-rw-r--r-- | configure.com | 2 | ||||
-rw-r--r-- | plan9/config_sh.sample | 2 | ||||
-rw-r--r-- | symbian/config.sh | 2 | ||||
-rw-r--r-- | uconfig.h | 17 | ||||
-rw-r--r-- | uconfig.sh | 2 | ||||
-rw-r--r-- | uconfig64.sh | 2 | ||||
-rw-r--r-- | win32/config.ce | 2 | ||||
-rw-r--r-- | win32/config.gc | 2 | ||||
-rw-r--r-- | win32/config.vc | 2 |
15 files changed, 70 insertions, 2 deletions
@@ -579,7 +579,9 @@ d_int64_t='' d_isascii='' d_isblank='' d_isfinite='' +d_isfinitel='' d_isinf='' +d_isinfl='' d_isnan='' d_isnanl='' d_killpg='' @@ -15439,10 +15441,18 @@ $rm -f isblank* set isfinite d_isfinite eval $inlibc +: see if isfinitel exists +set isfinitel d_isfinitel +eval $inlibc + : see if isinf exists set isinf d_isinf eval $inlibc +: see if isinfl exists +set isinfl d_isinfl +eval $inlibc + : see if isnan exists set isnan d_isnan eval $inlibc @@ -23308,7 +23318,9 @@ d_ipv6_mreq_source='$d_ipv6_mreq_source' d_isascii='$d_isascii' d_isblank='$d_isblank' d_isfinite='$d_isfinite' +d_isfinitel='$d_isfinitel' d_isinf='$d_isinf' +d_isinfl='$d_isinfl' d_isnan='$d_isnan' d_isnanl='$d_isnanl' d_killpg='$d_killpg' diff --git a/Cross/config.sh-arm-linux b/Cross/config.sh-arm-linux index abccb2c7a2..b7a33fd45a 100644 --- a/Cross/config.sh-arm-linux +++ b/Cross/config.sh-arm-linux @@ -294,7 +294,9 @@ d_ipv6_mreq_source='undef' d_isascii='define' d_isblank='undef' d_isfinite='undef' +d_isfinitel='undef' d_isinf='define' +d_isinfl='define' d_isnan='define' d_isnanl='define' d_killpg='define' diff --git a/NetWare/config.wc b/NetWare/config.wc index fde25b164c..a8fa0364bc 100644 --- a/NetWare/config.wc +++ b/NetWare/config.wc @@ -283,7 +283,9 @@ d_ipv6_mreq_source='undef' d_isascii='define' d_isblank='undef' d_isfinite='undef' +d_isfinitel='undef' d_isinf='undef' +d_isinfl='undef' d_isnan='undef' d_isnanl='undef' d_killpg='undef' diff --git a/Porting/Glossary b/Porting/Glossary index 04d112fa04..7bd9a408f2 100644 --- a/Porting/Glossary +++ b/Porting/Glossary @@ -1309,10 +1309,18 @@ d_isfinite (d_isfinite.U): This variable conditionally defines the HAS_ISFINITE symbol, which indicates to the C program that the isfinite() routine is available. +d_isfinitel (d_isfinitel.U): + This variable conditionally defines the HAS_ISFINITEL symbol, which + indicates to the C program that the isfinitel() routine is available. + d_isinf (d_isinf.U): This variable conditionally defines the HAS_ISINF symbol, which indicates to the C program that the isinf() routine is available. +d_isinfl (d_isinfl.U): + This variable conditionally defines the HAS_ISINFL symbol, which + indicates to the C program that the isinfl() routine is available. + d_isnan (d_isnan.U): This variable conditionally defines the HAS_ISNAN symbol, which indicates to the C program that the isnan() routine is available. diff --git a/Porting/config.sh b/Porting/config.sh index 6f76268348..0004af2d9c 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -303,7 +303,9 @@ d_ipv6_mreq_source='undef' d_isascii='define' d_isblank='define' d_isfinite='undef' +d_isfinitel='undef' d_isinf='define' +d_isinfl='undef' d_isnan='define' d_isnanl='define' d_killpg='define' diff --git a/config_h.SH b/config_h.SH index 5dad5567a2..f8c4fed675 100755 --- a/config_h.SH +++ b/config_h.SH @@ -3763,12 +3763,25 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_isfinite HAS_ISFINITE /**/ +/* HAS_ISFINITEL: + * This symbol, if defined, indicates that the isfinite routine is + * available to check whether a long double is finitel + * (non-infinity non-NaN). + */ +#$d_isfinitel HAS_ISFINITEL /**/ + /* HAS_ISINF: * This symbol, if defined, indicates that the isinf routine is * available to check whether a double is an infinity. */ #$d_isinf HAS_ISINF /**/ +/* HAS_ISINF: + * This symbol, if defined, indicates that the isinf routine is + * available to check whether a long double is an infinity. + */ +#$d_isinfl HAS_ISINFL /**/ + /* HAS_ISNAN: * This symbol, if defined, indicates that the isnan routine is * available to check whether a double is a NaN. diff --git a/configure.com b/configure.com index 1fb5fb3dda..26d0ee810f 100644 --- a/configure.com +++ b/configure.com @@ -6070,7 +6070,9 @@ $ WC "d_isfinite='define'" $ ELSE $ WC "d_isfinite='undef'" $ ENDIF +$ WC "d_isfinitel='undef'" $ WC "d_isinf='undef'" +$ WC "d_isinfl='undef'" $ WC "d_isnan='" + d_isnan + "'" $ WC "d_isnanl='" + d_isnanl + "'" $ WC "d_killpg='undef'" diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample index bbe15afc7b..8632ccc9c3 100644 --- a/plan9/config_sh.sample +++ b/plan9/config_sh.sample @@ -294,7 +294,9 @@ d_ipv6_mreq_source='undef' d_isascii='undef' d_isblank='undef' d_isfinite='undef' +d_isfinitel='undef' d_isinf='undef' +d_isinfl='undef' d_isnan='undef' d_isnanl='undef' d_killpg='undef' diff --git a/symbian/config.sh b/symbian/config.sh index 27f5a5b54d..52cae85788 100644 --- a/symbian/config.sh +++ b/symbian/config.sh @@ -240,7 +240,9 @@ d_ipv6_mreq_source='undef' d_isascii='undef' d_isblank='undef' d_isfinite='undef' +d_isfinitel='undef' d_isinf='undef' +d_isinfl='undef' d_isnan='undef' d_isnanl='undef' d_killpg='undef' @@ -3728,12 +3728,25 @@ */ /*#define HAS_ISFINITE / **/ +/* HAS_ISFINITEL: + * This symbol, if defined, indicates that the isfinite routine is + * available to check whether a long double is finitel + * (non-infinity non-NaN). + */ +/*#define HAS_ISFINITEL / **/ + /* HAS_ISINF: * This symbol, if defined, indicates that the isinf routine is * available to check whether a double is an infinity. */ /*#define HAS_ISINF / **/ +/* HAS_ISINF: + * This symbol, if defined, indicates that the isinf routine is + * available to check whether a long double is an infinity. + */ +/*#define HAS_ISINFL / **/ + /* HAS_ISNAN: * This symbol, if defined, indicates that the isnan routine is * available to check whether a double is a NaN. @@ -4769,6 +4782,6 @@ #endif /* Generated from: - * 394b82a122b70b8af04c1a412f13b605c9c555b2d3ac7701aa3ef78debe46e6b config_h.SH - * 98397a7d818a024628d6b34e5903a8f408da96601a2a19471c480511f3c8d914 uconfig.sh + * 3a8b6e52ff62682a65ae8226490afb36ea008df0a79fd0d937208d700652f767 config_h.SH + * 3d7a2b8d30cfcbe1bd9cc89f0f87458c63713edef6604af2eb999f63eb6db629 uconfig.sh * ex: set ro: */ diff --git a/uconfig.sh b/uconfig.sh index 15fd327db3..8245138a57 100644 --- a/uconfig.sh +++ b/uconfig.sh @@ -233,7 +233,9 @@ d_ipv6_mreq_source='undef' d_isascii='undef' d_isblank='undef' d_isfinite='undef' +d_isfinitel='undef' d_isinf='undef' +d_isinfl='undef' d_isnan='undef' d_isnanl='undef' d_killpg='undef' diff --git a/uconfig64.sh b/uconfig64.sh index 06537c3c5a..2d4b7e479d 100644 --- a/uconfig64.sh +++ b/uconfig64.sh @@ -234,7 +234,9 @@ d_ipv6_mreq_source='undef' d_isascii='undef' d_isblank='undef' d_isfinite='undef' +d_isfinitel='undef' d_isinf='undef' +d_isinfl='undef' d_isnan='undef' d_isnanl='undef' d_killpg='undef' diff --git a/win32/config.ce b/win32/config.ce index 78254ee665..eef6ea8599 100644 --- a/win32/config.ce +++ b/win32/config.ce @@ -281,7 +281,9 @@ d_ipv6_mreq_source='undef' d_isascii='define' d_isblank='undef' d_isfinite='undef' +d_isfinitel='undef' d_isinf='undef' +d_isinfl='undef' d_isnan='define' d_isnanl='undef' d_killpg='undef' diff --git a/win32/config.gc b/win32/config.gc index 94e3596b75..e772c77e1d 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -281,7 +281,9 @@ d_ipv6_mreq_source='undef' d_isascii='define' d_isblank='undef' d_isfinite='undef' +d_isfinitel='undef' d_isinf='undef' +d_isinfl='undef' d_isnan='define' d_isnanl='undef' d_killpg='define' diff --git a/win32/config.vc b/win32/config.vc index a4ef3146bf..66c5ec7fbc 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -281,7 +281,9 @@ d_ipv6_mreq_source='undef' d_isascii='define' d_isblank='undef' d_isfinite='undef' +d_isfinitel='undef' d_isinf='undef' +d_isinfl='undef' d_isnan='define' d_isnanl='undef' d_killpg='define' |