summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xConfigure6
-rw-r--r--Cross/config.sh-arm-linux1
-rw-r--r--NetWare/config.wc1
-rw-r--r--Porting/Glossary4
-rw-r--r--Porting/config.sh1
-rwxr-xr-xconfig_h.SH6
-rw-r--r--configure.com1
-rw-r--r--plan9/config_sh.sample1
-rw-r--r--symbian/config.sh1
-rw-r--r--uconfig.h10
-rw-r--r--uconfig.sh1
-rw-r--r--uconfig64.sh1
-rw-r--r--win32/config.ce1
-rw-r--r--win32/config.gc1
-rw-r--r--win32/config.vc1
15 files changed, 35 insertions, 2 deletions
diff --git a/Configure b/Configure
index f319eb8cda..caf8698046 100755
--- a/Configure
+++ b/Configure
@@ -476,6 +476,7 @@ d_fp_classl=''
d_fpclass=''
d_fpclassify=''
d_fpclassl=''
+d_fpgetround=''
d_fpos64_t=''
d_frexpl=''
d_fs_data_s=''
@@ -13738,6 +13739,10 @@ eval $inlibc
set fpclassl d_fpclassl
eval $inlibc
+: see if fpgetround exists
+set fpgetround d_fpgetround
+eval $inlibc
+
: check for fpos64_t
echo " "
echo "Checking to see if you have fpos64_t..." >&4
@@ -23348,6 +23353,7 @@ d_fpathconf='$d_fpathconf'
d_fpclass='$d_fpclass'
d_fpclassify='$d_fpclassify'
d_fpclassl='$d_fpclassl'
+d_fpgetround='$d_fpgetround'
d_fpos64_t='$d_fpos64_t'
d_frexpl='$d_frexpl'
d_fs_data_s='$d_fs_data_s'
diff --git a/Cross/config.sh-arm-linux b/Cross/config.sh-arm-linux
index 21d4169ba9..cd0721f712 100644
--- a/Cross/config.sh-arm-linux
+++ b/Cross/config.sh-arm-linux
@@ -207,6 +207,7 @@ d_fpathconf='define'
d_fpclass='undef'
d_fpclassify='undef'
d_fpclassl='undef'
+d_fpgetround='undef'
d_fpos64_t='undef'
d_frexpl='define'
d_fs_data_s='undef'
diff --git a/NetWare/config.wc b/NetWare/config.wc
index 7e94133202..4b5b48ba62 100644
--- a/NetWare/config.wc
+++ b/NetWare/config.wc
@@ -195,6 +195,7 @@ d_fpathconf='undef'
d_fpclass='undef'
d_fpclassify='undef'
d_fpclassl='undef'
+d_fpgetround='undef'
d_fpos64_t='undef'
d_frexpl='undef'
d_fs_data_s='undef'
diff --git a/Porting/Glossary b/Porting/Glossary
index 5a436e0d26..9847c83859 100644
--- a/Porting/Glossary
+++ b/Porting/Glossary
@@ -872,6 +872,10 @@ d_fpclassl (d_fpclassl.U):
This variable conditionally defines the HAS_FPCLASSL symbol, which
indicates to the C program that the fpclassl() routine is available.
+d_fpgetround (d_fpgetround.U):
+ This variable conditionally defines HAS_FPGETROUND if fpgetround() is
+ available to get the floating point rounding mode.
+
d_fpos64_t (d_fpos64_t.U):
This symbol will be defined if the C compiler supports fpos64_t.
diff --git a/Porting/config.sh b/Porting/config.sh
index de2425d885..14c88af57e 100644
--- a/Porting/config.sh
+++ b/Porting/config.sh
@@ -216,6 +216,7 @@ d_fpathconf='define'
d_fpclass='undef'
d_fpclassify='undef'
d_fpclassl='undef'
+d_fpgetround='undef'
d_fpos64_t='undef'
d_frexpl='define'
d_fs_data_s='undef'
diff --git a/config_h.SH b/config_h.SH
index d55726e5ce..3c48f93ba7 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -3670,6 +3670,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_fpclassl HAS_FPCLASSL /**/
+/* HAS_FPGETROUND:
+ * This symbol, if defined, indicates that the fpgetround routine is
+ * available to get the floating point rounding mode.
+ */
+#$d_fpgetround HAS_FPGETROUND /**/
+
/* HAS_FPOS64_T:
* This symbol will be defined if the C compiler supports fpos64_t.
*/
diff --git a/configure.com b/configure.com
index 33a4869bd6..56c49f7257 100644
--- a/configure.com
+++ b/configure.com
@@ -5996,6 +5996,7 @@ $ WC "d_fpathconf='" + d_fpathconf + "'"
$ WC "d_fpclass='undef'"
$ WC "d_fpclassify='undef'"
$ WC "d_fpclassl='undef'"
+$ WC "d_fpgetround='undef'"
$ WC "d_fpos64_t='" + d_fpos64_t + "'"
$ WC "d_frexpl='" + d_frexpl + "'"
$ WC "d_fs_data_s='undef'"
diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample
index e554ba230a..41fa079f1b 100644
--- a/plan9/config_sh.sample
+++ b/plan9/config_sh.sample
@@ -207,6 +207,7 @@ d_fpathconf='define'
d_fpclass='undef'
d_fpclassify='undef'
d_fpclassl='undef'
+d_fpgetround='undef'
d_fpos64_t='undef'
d_frexpl='undef'
d_fs_data_s='undef'
diff --git a/symbian/config.sh b/symbian/config.sh
index ba281855a4..c88a3d0035 100644
--- a/symbian/config.sh
+++ b/symbian/config.sh
@@ -151,6 +151,7 @@ d_fpathconf='undef'
d_fpclass='undef'
d_fpclassify='undef'
d_fpclassl='undef'
+d_fpgetround='undef'
d_fpos64_t='undef'
d_frexpl='undef'
d_fs_data_s='undef'
diff --git a/uconfig.h b/uconfig.h
index 186742623e..186a2291f0 100644
--- a/uconfig.h
+++ b/uconfig.h
@@ -3635,6 +3635,12 @@
*/
/*#define HAS_FPCLASSL / **/
+/* HAS_FPGETROUND:
+ * This symbol, if defined, indicates that the fpgetround routine is
+ * available to get the floating point rounding mode.
+ */
+/*#define HAS_FPGETROUND / **/
+
/* HAS_FPOS64_T:
* This symbol will be defined if the C compiler supports fpos64_t.
*/
@@ -4841,6 +4847,6 @@
#endif
/* Generated from:
- * 0486f11f3248b90661c12addfea9b9c4166aa7ab6b424d1b7b901b7bf1a62c89 config_h.SH
- * a376d0ca25730310baa72472d022838903cee6091bc06eb4a01fc6c22d6f9c4a uconfig.sh
+ * 2f54acea42d3f924568021e83a8122d708d2beb715c56fd532dc312d69c2b3c3 config_h.SH
+ * c152ea695301aeff5abcae519813f0bc4f3a875ba6f38e4a841302baa7bb5c7b uconfig.sh
* ex: set ro: */
diff --git a/uconfig.sh b/uconfig.sh
index 49df8be0ff..331ecfbf49 100644
--- a/uconfig.sh
+++ b/uconfig.sh
@@ -145,6 +145,7 @@ d_fpathconf='undef'
d_fpclass='undef'
d_fpclassify='undef'
d_fpclassl='undef'
+d_fpgetround='undef'
d_fpos64_t='undef'
d_frexpl='undef'
d_fs_data_s='undef'
diff --git a/uconfig64.sh b/uconfig64.sh
index ebd2dcb7b9..5dfddb5686 100644
--- a/uconfig64.sh
+++ b/uconfig64.sh
@@ -146,6 +146,7 @@ d_fpathconf='undef'
d_fpclass='undef'
d_fpclassify='undef'
d_fpclassl='undef'
+d_fpgetround='undef'
d_fpos64_t='undef'
d_frexpl='undef'
d_fs_data_s='undef'
diff --git a/win32/config.ce b/win32/config.ce
index 8258479c2d..929d1ba459 100644
--- a/win32/config.ce
+++ b/win32/config.ce
@@ -193,6 +193,7 @@ d_fpathconf='undef'
d_fpclass='undef'
d_fpclassify='undef'
d_fpclassl='undef'
+d_fpgetround='undef'
d_fpos64_t='undef'
d_frexpl='undef'
d_fs_data_s='undef'
diff --git a/win32/config.gc b/win32/config.gc
index 2885d3fdce..5d666c793e 100644
--- a/win32/config.gc
+++ b/win32/config.gc
@@ -194,6 +194,7 @@ d_fpathconf='undef'
d_fpclass='undef'
d_fpclassify='undef'
d_fpclassl='undef'
+d_fpgetround='undef'
d_fpos64_t='undef'
d_frexpl='undef'
d_fs_data_s='undef'
diff --git a/win32/config.vc b/win32/config.vc
index 45ccd24727..1fedf18714 100644
--- a/win32/config.vc
+++ b/win32/config.vc
@@ -194,6 +194,7 @@ d_fpathconf='undef'
d_fpclass='undef'
d_fpclassify='undef'
d_fpclassl='undef'
+d_fpgetround='undef'
d_fpos64_t='undef'
d_frexpl='undef'
d_fs_data_s='undef'