summaryrefslogtreecommitdiff
path: root/config_h.SH
diff options
context:
space:
mode:
authorTodd Rinaldo <toddr@cpan.org>2020-09-13 13:02:25 -0500
committerSawyer X <xsawyerx@cpan.org>2020-09-15 17:37:44 +0300
commit19aaf9297b251db12d787e0eb31f06bfadc56856 (patch)
tree9421baafaf4f244a9904017883556b588dd4a2cd /config_h.SH
parent9c705b6a737887a4da01ff0f1aee235dccb1ef26 (diff)
downloadperl-19aaf9297b251db12d787e0eb31f06bfadc56856.tar.gz
Add the Configure option to enable strict by default in perl programs.
Do not set strict by default on -e or -E This is a development only feature to allow us to clean up blead. ./Configure -Dusedevel -des -Dusedefaultstrict
Diffstat (limited to 'config_h.SH')
-rwxr-xr-xconfig_h.SH6
1 files changed, 6 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH
index f3910f615a..c8313ecce9 100755
--- a/config_h.SH
+++ b/config_h.SH
@@ -3603,6 +3603,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
*/
#$default_inc_excludes_dot DEFAULT_INC_EXCLUDES_DOT /**/
+/* USE_STRICT_BY_DEFAULT
+ * This symbol, if defined, enables additional defaults.
+ * At this time it only enables implicit strict by default.
+ */
+#$usedefaultstrict USE_STRICT_BY_DEFAULT /* use strict by default */
+
/* USE_DYNAMIC_LOADING:
* This symbol, if defined, indicates that dynamic loading of
* some sort is available.