summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-05-20 12:16:57 +0100
committerNicholas Clark <nick@ccl4.org>2011-05-20 12:16:57 +0100
commit98548bdfb5109f7b89a6cf2546e90d940408fb9b (patch)
treec70d8aeed8112aad9e7417b8dd44d6e5b6bde35c /perl.c
parent26ec7981ec2b5ae66dc749c0c24b1d03c54219c5 (diff)
downloadperl-98548bdfb5109f7b89a6cf2546e90d940408fb9b.tar.gz
Add USE_LOCALE{,_COLLATE,_CTYPE,_NUMERIC} to the output of perl -V
These 4 compile-time options should be reported, as they have affect the behaviour of the interpreter binary (albeit only in a small area). They don't affect binary compatibility.
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/perl.c b/perl.c
index 8e918c29e9..4dc5badfcf 100644
--- a/perl.c
+++ b/perl.c
@@ -1706,6 +1706,18 @@ S_Internals_V(pTHX_ CV *cv)
# ifdef USE_FAST_STDIO
" USE_FAST_STDIO"
# endif
+# ifdef USE_LOCALE
+ " USE_LOCALE"
+# endif
+# ifdef USE_LOCALE_COLLATE
+ " USE_LOCALE_COLLATE"
+# endif
+# ifdef USE_LOCALE_CTYPE
+ " USE_LOCALE_CTYPE"
+# endif
+# ifdef USE_LOCALE_NUMERIC
+ " USE_LOCALE_NUMERIC"
+# endif
# ifdef USE_PERL_ATOF
" USE_PERL_ATOF"
# endif