summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xConfigure6
-rw-r--r--Cross/config.sh-arm-linux1
-rw-r--r--Cross/config.sh-arm-linux-n7701
-rw-r--r--NetWare/config.wc1
-rw-r--r--Porting/config.sh1
-rwxr-xr-xconfig_h.SH6
-rw-r--r--configure.com1
-rw-r--r--metaconfig.h1
-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
16 files changed, 33 insertions, 2 deletions
diff --git a/Configure b/Configure
index 4eea1b7a6b..3be9f05b7d 100755
--- a/Configure
+++ b/Configure
@@ -873,6 +873,7 @@ d_strlcat=''
d_strlcpy=''
d_strnlen=''
d_strtod=''
+d_strtod_l=''
d_strtol=''
d_strtold=''
d_strtold_l=''
@@ -18802,6 +18803,10 @@ eval $inlibc
set strtod d_strtod
eval $inlibc
+: see if strtod_l exists
+set strtod_l d_strtod_l
+eval $inlibc
+
: see if strtol exists
set strtol d_strtol
eval $inlibc
@@ -24260,6 +24265,7 @@ d_strlcat='$d_strlcat'
d_strlcpy='$d_strlcpy'
d_strnlen='$d_strnlen'
d_strtod='$d_strtod'
+d_strtod_l='$d_strtod_l'
d_strtol='$d_strtol'
d_strtold='$d_strtold'
d_strtold_l='$d_strtold_l'
diff --git a/Cross/config.sh-arm-linux b/Cross/config.sh-arm-linux
index 84fbaca425..6064b31bb5 100644
--- a/Cross/config.sh-arm-linux
+++ b/Cross/config.sh-arm-linux
@@ -569,6 +569,7 @@ d_strlcat='undef'
d_strlcpy='undef'
d_strnlen='undef'
d_strtod='define'
+d_strtod_l='undef'
d_strtol='define'
d_strtold='define'
d_strtold_l='undef'
diff --git a/Cross/config.sh-arm-linux-n770 b/Cross/config.sh-arm-linux-n770
index cab1857d34..2a859b8908 100644
--- a/Cross/config.sh-arm-linux-n770
+++ b/Cross/config.sh-arm-linux-n770
@@ -568,6 +568,7 @@ d_strlcat='undef'
d_strlcpy='undef'
d_strnlen='undef'
d_strtod='define'
+d_strtod_l='undef'
d_strtol='define'
d_strtold='define'
d_strtold_l='undef'
diff --git a/NetWare/config.wc b/NetWare/config.wc
index 3c70161c42..2bd9bff5a2 100644
--- a/NetWare/config.wc
+++ b/NetWare/config.wc
@@ -559,6 +559,7 @@ d_strlcat='undef'
d_strlcpy='undef'
d_strnlen='undef'
d_strtod='define'
+d_strtod_l='undef'
d_strtol='define'
d_strtold='undef'
d_strtold_l='undef'
diff --git a/Porting/config.sh b/Porting/config.sh
index 6489297d47..41b4ef86d8 100644
--- a/Porting/config.sh
+++ b/Porting/config.sh
@@ -585,6 +585,7 @@ d_strlcat='undef'
d_strlcpy='undef'
d_strnlen='define'
d_strtod='define'
+d_strtod_l='undef'
d_strtol='define'
d_strtold='define'
d_strtold_l='define'
diff --git a/config_h.SH b/config_h.SH
index da5ee5e019..f275932e21 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -5070,6 +5070,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
#$d_strerror_r HAS_STRERROR_R /**/
#define STRERROR_R_PROTO $strerror_r_proto /**/
+/* HAS_STRTOD_L:
+ * This symbol, if defined, indicates that the strtod_l routine is
+ * available to convert strings to long doubles.
+ */
+#$d_strtod_l HAS_STRTOD_L /**/
+
/* HAS_STRTOLD_L:
* This symbol, if defined, indicates that the strtold_l routine is
* available to convert strings to long doubles.
diff --git a/configure.com b/configure.com
index 3d70daefc1..5e1781d23f 100644
--- a/configure.com
+++ b/configure.com
@@ -6384,6 +6384,7 @@ $ WC "d_strlcat='undef'"
$ WC "d_strlcpy='undef'"
$ WC "d_strnlen='" + d_strnlen + "'"
$ WC "d_strtod='define'"
+$ WC "d_strtod_l='undef'"
$ WC "d_strtol='define'"
$ WC "d_strtold='" + d_strtold + "'"
$ WC "d_strtold_l='undef'"
diff --git a/metaconfig.h b/metaconfig.h
index ba8ee4a00a..2f9ce80712 100644
--- a/metaconfig.h
+++ b/metaconfig.h
@@ -20,6 +20,7 @@
* HAS_MBRLEN
* HAS_MBRTOWC
* HAS_NANOSLEEP
+ * HAS_STRTOD_L
* HAS_STRTOLD_L
* I_WCHAR
*/
diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample
index 344613ae0e..52b21fac02 100644
--- a/plan9/config_sh.sample
+++ b/plan9/config_sh.sample
@@ -569,6 +569,7 @@ d_strlcat='undef'
d_strlcpy='undef'
d_strnlen='undef'
d_strtod='define'
+d_strtod_l='undef'
d_strtol='define'
d_strtold='undef'
d_strtold_l='undef'
diff --git a/symbian/config.sh b/symbian/config.sh
index 28969c1c48..a7a5288ea8 100644
--- a/symbian/config.sh
+++ b/symbian/config.sh
@@ -518,6 +518,7 @@ d_strlcat='undef'
d_strlcpy='undef'
d_strnlen='undef'
d_strtod='define'
+d_strtod_l='undef'
d_strtol='define'
d_strtold='undef'
d_strtold_l='undef'
diff --git a/uconfig.h b/uconfig.h
index 104553d50d..1f93917a78 100644
--- a/uconfig.h
+++ b/uconfig.h
@@ -5035,6 +5035,12 @@
/*#define HAS_STRERROR_R / **/
#define STRERROR_R_PROTO 0 /**/
+/* HAS_STRTOD_L:
+ * This symbol, if defined, indicates that the strtod_l routine is
+ * available to convert strings to long doubles.
+ */
+/*#define HAS_STRTOD_L / **/
+
/* HAS_STRTOLD_L:
* This symbol, if defined, indicates that the strtold_l routine is
* available to convert strings to long doubles.
@@ -5224,6 +5230,6 @@
#endif
/* Generated from:
- * 56a02f6734fb9a0de8f95d1a08f8d4b46182e6b374a276010c43dad6fff17642 config_h.SH
- * bf0ec5566c5c2d58c68ec60e41ab6cb78ab48a521e25ff1f0f215ee01caadcfb uconfig.sh
+ * 86429d6dea8cb2d81b30da9d916693eb4c04ebeb21969c8df6f470ac77cd5c92 config_h.SH
+ * 0a854c66239d29490cd1bce8581db1733878f26386edfaddf1498ed61840c613 uconfig.sh
* ex: set ro: */
diff --git a/uconfig.sh b/uconfig.sh
index b44bb772b6..7f425e91ed 100644
--- a/uconfig.sh
+++ b/uconfig.sh
@@ -509,6 +509,7 @@ d_strlcat='undef'
d_strlcpy='undef'
d_strnlen='undef'
d_strtod='undef'
+d_strtod_l='undef'
d_strtol='define'
d_strtold='undef'
d_strtold_l='undef'
diff --git a/uconfig64.sh b/uconfig64.sh
index e2c420c65c..68111bedf2 100644
--- a/uconfig64.sh
+++ b/uconfig64.sh
@@ -509,6 +509,7 @@ d_strlcat='undef'
d_strlcpy='undef'
d_strnlen='undef'
d_strtod='undef'
+d_strtod_l='undef'
d_strtol='define'
d_strtold='undef'
d_strtold_l='undef'
diff --git a/win32/config.ce b/win32/config.ce
index 7a82656c9e..b8df115b4a 100644
--- a/win32/config.ce
+++ b/win32/config.ce
@@ -557,6 +557,7 @@ d_strlcat='undef'
d_strlcpy='undef'
d_strnlen='undef'
d_strtod='define'
+d_strtod_l='undef'
d_strtol='define'
d_strtold='undef'
d_strtold_l='undef'
diff --git a/win32/config.gc b/win32/config.gc
index 29a88829be..f2f055ed61 100644
--- a/win32/config.gc
+++ b/win32/config.gc
@@ -557,6 +557,7 @@ d_strlcat='undef'
d_strlcpy='undef'
d_strnlen='undef'
d_strtod='define'
+d_strtod_l='undef'
d_strtol='define'
d_strtold='undef'
d_strtold_l='undef'
diff --git a/win32/config.vc b/win32/config.vc
index 5b89e93b0a..18812ef39a 100644
--- a/win32/config.vc
+++ b/win32/config.vc
@@ -557,6 +557,7 @@ d_strlcat='undef'
d_strlcpy='undef'
d_strnlen='undef'
d_strtod='define'
+d_strtod_l='undef'
d_strtol='define'
d_strtold='undef'
d_strtold_l='undef'