diff options
author | Aaron Crane <arc@cpan.org> | 2017-10-13 13:54:42 +0200 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2017-10-21 16:53:02 +0100 |
commit | edb450b123b6d0746d07c89cc1fe31426753497c (patch) | |
tree | e82aa53119af1f4483574facf863b3d5f31e2b19 /config_h.SH | |
parent | b905af4c1158d6ce72032009e9f8387d5a5f5285 (diff) | |
download | perl-edb450b123b6d0746d07c89cc1fe31426753497c.tar.gz |
Rely on C89 <float.h> defining DBL_DIG
I would like to be able to assume that we have long doubles, and therefore
that LDBL_DIG and friends are all defined too. But it seems that we may
still support some platforms which are otherwise C89, but don't have even
trivial long-double support; in particular, HP/UX 10 apparently uses a
struct of four uint32_t values as long double, but doesn't support other
bits, and confuses the Configure probe that looks for quadmath.
Diffstat (limited to 'config_h.SH')
-rwxr-xr-x | config_h.SH | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/config_h.SH b/config_h.SH index 91ed7eab2e..ca35bad96a 100755 --- a/config_h.SH +++ b/config_h.SH @@ -1562,14 +1562,6 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un #define CSH "$full_csh" /**/ #endif -/* HAS_DBL_DIG: - * This symbol, if defined, indicates that this system's <float.h> - * or <limits.h> defines the symbol DBL_DIG, which is the number - * of significant digits in a double precision number. If this - * symbol is not defined, a guess of 15 is usually pretty good. - */ -#$d_dbl_dig HAS_DBL_DIG /**/ - /* HAS_DLADDR: * This symbol, if defined, indicates that the dladdr() routine is * available to query dynamic linker information for an address. |