diff options
author | Craig A. Berry <craigberry@mac.com> | 2012-12-22 16:38:41 -0600 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2012-12-22 16:38:41 -0600 |
commit | e5be143b5eeb5441193de029bd97401f93ece0bb (patch) | |
tree | e8d1769ac7c11d179ff1fce0f88538a00bf896dc /configure.com | |
parent | a2ea9adf4a132fb805eb52099c5ebe4765311cff (diff) | |
download | perl-e5be143b5eeb5441193de029bd97401f93ece0bb.tar.gz |
Fix erroneous USE_LONG_DOUBLE in configure.com.
Once upon a time there was a "use64bit" option [1] that only later
became separated into use64bitint, uselongdouble, and use64bitall,
but we didn't properly separate out everything. So if you chose
64-bit integers but not long doubles, you would get the macro
USE_LONG_DOUBLE defined but without other supporting defines and
with incompatible branches followed in various parts of the #ifdef
jungle. So separate them out. Thanks to Thomas Pfau for trying
what's apparently a rare configuration.
[1] See fafa4fee6354847ae7fda.
Diffstat (limited to 'configure.com')
-rw-r--r-- | configure.com | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.com b/configure.com index 941b6caddf..42b8733ae6 100644 --- a/configure.com +++ b/configure.com @@ -6914,6 +6914,9 @@ $ IF d_alwdeftype THEN WC "#define ALWAYS_DEFTYPES" $ IF use64bitint .OR. use64bitint .EQS. "define" $ THEN $ WC "#define USE_64_BIT_INT" +$ ENDIF +$ IF uselongdouble .OR. uselongdouble .EQS. "define" +$ THEN $ WC "#define USE_LONG_DOUBLE" $ ENDIF $ IF use64bitall .OR. use64bitall .EQS. "define" THEN - |