From 39f8eb4a21670e6b973dcfc86d0b1339064f5642 Mon Sep 17 00:00:00 2001 From: Neil Bowers Date: Wed, 16 Mar 2022 23:43:53 +0000 Subject: Add Configure question for taint support This adds a Configure question for whether you want taint support. It defaults to "yes", so that ./Configure -des will build a perl which supports taint in the usual way. If you say "no", then perl is compiled with -DSILENT_NO_TAINT_SUPPORT so that taint features silently do nothing. I've submitted a separate pull request on perl/metaconfig, which adds the underlying metaconfig unit for this question, which was used to build this Configure script. --- Configure | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) (limited to 'Configure') diff --git a/Configure b/Configure index bd96249c07..279844e004 100755 --- a/Configure +++ b/Configure @@ -1333,6 +1333,7 @@ stdchar='' d_stdio_stream_array='' stdio_stream_array='' sysman='' +taint_support='' sGMTIME_max='' sGMTIME_min='' sLOCALTIME_max='' @@ -7305,6 +7306,40 @@ esac : confusing anyway. installstyle=$dflt +: U/perl/taint_support.U - do we want taint support? +case "$taint_support" in + $undef|false|[Nn]*) + dflt="n" + ;; + *) + dflt="y" + ;; +esac +cat >&4 <&4 +else + echo "scripts." >&4 +fi +cat <