summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2012-02-12 14:38:30 +0100
committerH.Merijn Brand <h.m.brand@xs4all.nl>2012-02-12 14:38:30 +0100
commit8852e312c3c616ab731ccbe7da54fb04eb8c3d30 (patch)
tree7b3f2164a9d5fb77b5d4aa12d1c5f1b202a841c5
parent3129e2be3ef6d3c824031a00459b4d9c42d113fe (diff)
downloadperl-8852e312c3c616ab731ccbe7da54fb04eb8c3d30.tar.gz
Add strptime probe
-rwxr-xr-xConfigure8
-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--epoc/config.sh1
-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.gc641
-rw-r--r--win32/config.gc64nox1
-rw-r--r--win32/config.vc1
-rw-r--r--win32/config.vc641
20 files changed, 41 insertions, 3 deletions
diff --git a/Configure b/Configure
index 43f56bfdc4..09aa091b4f 100755
--- a/Configure
+++ b/Configure
@@ -28,7 +28,7 @@
# See Porting/pumpkin.pod for more information on metaconfig.
#
-# Generated on Fri Jan 27 15:48:54 CET 2012 [metaconfig 3.5 PL0]
+# Generated on Sun Feb 12 14:10:23 CET 2012 [metaconfig 3.5 PL0]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
@@ -777,6 +777,7 @@ strerror_r_proto=''
d_strftime=''
d_strlcat=''
d_strlcpy=''
+d_strptime=''
d_strtod=''
d_strtol=''
d_strtold=''
@@ -18126,6 +18127,10 @@ eval $inlibc
set strlcpy d_strlcpy
eval $inlibc
+: see if strptime exists
+set strptime d_strptime
+eval $inlibc
+
: see if strtod exists
set strtod d_strtod
eval $inlibc
@@ -23149,6 +23154,7 @@ d_strerror_r='$d_strerror_r'
d_strftime='$d_strftime'
d_strlcat='$d_strlcat'
d_strlcpy='$d_strlcpy'
+d_strptime='$d_strptime'
d_strtod='$d_strtod'
d_strtol='$d_strtol'
d_strtold='$d_strtold'
diff --git a/Cross/config.sh-arm-linux b/Cross/config.sh-arm-linux
index c9ee89aeec..8ba7aa0428 100644
--- a/Cross/config.sh-arm-linux
+++ b/Cross/config.sh-arm-linux
@@ -482,6 +482,7 @@ d_strerror_r='undef'
d_strftime='define'
d_strlcat='undef'
d_strlcpy='undef'
+d_strptime='undef'
d_strtod='define'
d_strtol='define'
d_strtold='define'
diff --git a/NetWare/config.wc b/NetWare/config.wc
index 80e9c1758a..47af00d7d3 100644
--- a/NetWare/config.wc
+++ b/NetWare/config.wc
@@ -472,6 +472,7 @@ d_strerror_r='undef'
d_strftime='define'
d_strlcat='undef'
d_strlcpy='undef'
+d_strptime='undef'
d_strtod='define'
d_strtol='define'
d_strtold='undef'
diff --git a/Porting/Glossary b/Porting/Glossary
index 903c280f2f..24671097ee 100644
--- a/Porting/Glossary
+++ b/Porting/Glossary
@@ -2248,6 +2248,10 @@ d_strlcpy (d_strlcpy.U):
This variable conditionally defines the HAS_STRLCPY symbol, which
indicates to the C program that the strlcpy () routine is available.
+d_strptime (d_strptime.U):
+ This variable conditionally defines the HAS_STRPTIME symbol, which
+ indicates to the C program that the strptime() routine is available.
+
d_strtod (d_strtod.U):
This variable conditionally defines the HAS_STRTOD symbol, which
indicates to the C program that the strtod() routine is available
diff --git a/Porting/config.sh b/Porting/config.sh
index 90a203413a..c522ee4649 100644
--- a/Porting/config.sh
+++ b/Porting/config.sh
@@ -498,6 +498,7 @@ d_strerror_r='undef'
d_strftime='define'
d_strlcat='undef'
d_strlcpy='undef'
+d_strptime='undef'
d_strtod='define'
d_strtol='define'
d_strtold='define'
diff --git a/config_h.SH b/config_h.SH
index a51ad05783..b6d3237ef8 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -4054,6 +4054,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$d_strlcpy HAS_STRLCPY /**/
+/* HAS_STRPTIME:
+ * This symbol, if defined, indicates that the strptime routine is
+ * available to set process title.
+ */
+#$d_strptime HAS_STRPTIME /**/
+
/* HAS_STRTOLD:
* This symbol, if defined, indicates that the strtold routine is
* available to convert strings to long doubles.
diff --git a/configure.com b/configure.com
index 709a49b9e0..9d5956017e 100644
--- a/configure.com
+++ b/configure.com
@@ -6272,6 +6272,7 @@ $ WC "d_strerror='define'"
$ WC "d_strftime='define'"
$ WC "d_strlcat='undef'"
$ WC "d_strlcpy='undef'"
+$ WC "d_strptime='undef'"
$ WC "d_strtod='define'"
$ WC "d_strtol='define'"
$ WC "d_strtold='" + d_strtold + "'"
diff --git a/epoc/config.sh b/epoc/config.sh
index b68b6c7416..3bc18b10da 100644
--- a/epoc/config.sh
+++ b/epoc/config.sh
@@ -480,6 +480,7 @@ d_strerror_r='undef'
d_strftime='define'
d_strlcat='undef'
d_strlcpy='undef'
+d_strptime='undef'
d_strtod='define'
d_strtol='define'
d_strtold='undef'
diff --git a/metaconfig.h b/metaconfig.h
index 7a74db0871..0af296d59f 100644
--- a/metaconfig.h
+++ b/metaconfig.h
@@ -20,6 +20,7 @@
* HAS_MKTIME64
* HAS_PRCTL
* HAS_PSEUDOFORK
+ * HAS_STRPTIME
* HAS_TIMEGM
* I16SIZE
* I64SIZE
diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample
index f9784ef3d3..3f231a57c3 100644
--- a/plan9/config_sh.sample
+++ b/plan9/config_sh.sample
@@ -482,6 +482,7 @@ d_strerror_r='undef'
d_strftime='define'
d_strlcat='undef'
d_strlcpy='undef'
+d_strptime='undef'
d_strtod='define'
d_strtol='define'
d_strtold='undef'
diff --git a/symbian/config.sh b/symbian/config.sh
index be7b2a4a30..6fa3be2d4a 100644
--- a/symbian/config.sh
+++ b/symbian/config.sh
@@ -430,6 +430,7 @@ d_strerror_r='undef'
d_strftime='undef'
d_strlcat='undef'
d_strlcpy='undef'
+d_strptime='undef'
d_strtod='define'
d_strtol='define'
d_strtold='undef'
diff --git a/uconfig.h b/uconfig.h
index d9a833a235..d2b054e5b3 100644
--- a/uconfig.h
+++ b/uconfig.h
@@ -4021,6 +4021,12 @@
*/
/*#define HAS_STRLCPY / **/
+/* HAS_STRPTIME:
+ * This symbol, if defined, indicates that the strptime routine is
+ * available to set process title.
+ */
+/*#define HAS_STRPTIME / **/
+
/* HAS_STRTOLD:
* This symbol, if defined, indicates that the strtold routine is
* available to convert strings to long doubles.
@@ -4724,6 +4730,6 @@
#endif
/* Generated from:
- * d935e2c4b70899e11fb4984070daba3308bc3361c09b5335d752a51e4a5e4c25 config_h.SH
- * 5a1e4ec048ee5f2000216dd55cc93e344ba30be7f7ef43664fddc13014b3fe3c uconfig.sh
+ * 3c734555e994137b62feda07d157a2d6be370dccbfc71dc6a3f51113ad76a3cf config_h.SH
+ * d93833192973e6eae8a7b5e328ab7e5b9fd20f650e232812e5ea9fbdcd534beb uconfig.sh
* ex: set ro: */
diff --git a/uconfig.sh b/uconfig.sh
index f52ff0d96c..c9991561cb 100644
--- a/uconfig.sh
+++ b/uconfig.sh
@@ -421,6 +421,7 @@ d_strerror_r='undef'
d_strftime='undef'
d_strlcat='undef'
d_strlcpy='undef'
+d_strptime='undef'
d_strtod='undef'
d_strtol='undef'
d_strtold='undef'
diff --git a/uconfig64.sh b/uconfig64.sh
index 3922709813..1670c21f6e 100644
--- a/uconfig64.sh
+++ b/uconfig64.sh
@@ -422,6 +422,7 @@ d_strerror_r='undef'
d_strftime='undef'
d_strlcat='undef'
d_strlcpy='undef'
+d_strptime='undef'
d_strtod='undef'
d_strtol='undef'
d_strtold='undef'
diff --git a/win32/config.ce b/win32/config.ce
index a872577459..dc49bda5d2 100644
--- a/win32/config.ce
+++ b/win32/config.ce
@@ -470,6 +470,7 @@ d_strerror_r='undef'
d_strftime='undef'
d_strlcat='undef'
d_strlcpy='undef'
+d_strptime='undef'
d_strtod='define'
d_strtol='define'
d_strtold='undef'
diff --git a/win32/config.gc b/win32/config.gc
index 20fbcff3cf..c74dabcf19 100644
--- a/win32/config.gc
+++ b/win32/config.gc
@@ -470,6 +470,7 @@ d_strerror_r='undef'
d_strftime='define'
d_strlcat='undef'
d_strlcpy='undef'
+d_strptime='undef'
d_strtod='define'
d_strtol='define'
d_strtold='undef'
diff --git a/win32/config.gc64 b/win32/config.gc64
index 2834d8e47d..3a7ed84ecc 100644
--- a/win32/config.gc64
+++ b/win32/config.gc64
@@ -470,6 +470,7 @@ d_strerror_r='undef'
d_strftime='define'
d_strlcat='undef'
d_strlcpy='undef'
+d_strptime='undef'
d_strtod='define'
d_strtol='define'
d_strtold='undef'
diff --git a/win32/config.gc64nox b/win32/config.gc64nox
index ba69f86d7e..b44e072db3 100644
--- a/win32/config.gc64nox
+++ b/win32/config.gc64nox
@@ -470,6 +470,7 @@ d_strerror_r='undef'
d_strftime='define'
d_strlcat='undef'
d_strlcpy='undef'
+d_strptime='undef'
d_strtod='define'
d_strtol='define'
d_strtold='undef'
diff --git a/win32/config.vc b/win32/config.vc
index bc4c31ffae..2c348d6456 100644
--- a/win32/config.vc
+++ b/win32/config.vc
@@ -470,6 +470,7 @@ d_strerror_r='undef'
d_strftime='define'
d_strlcat='undef'
d_strlcpy='undef'
+d_strptime='undef'
d_strtod='define'
d_strtol='define'
d_strtold='undef'
diff --git a/win32/config.vc64 b/win32/config.vc64
index f68bbde51b..7bdfb7fc44 100644
--- a/win32/config.vc64
+++ b/win32/config.vc64
@@ -470,6 +470,7 @@ d_strerror_r='undef'
d_strftime='define'
d_strlcat='undef'
d_strlcpy='undef'
+d_strptime='undef'
d_strtod='define'
d_strtol='define'
d_strtold='undef'