summaryrefslogtreecommitdiff
path: root/configure.com
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2011-03-07 18:52:33 -0600
committerCraig A. Berry <craigberry@mac.com>2011-03-07 18:52:33 -0600
commit3b28d668e9efe9433c3099521167a6723cbddc26 (patch)
tree29411134d2d47c8aaedaf9f8cb1bddbc6fe89a2a /configure.com
parent453466ce2f09167e70fd58c95be801ad111eabe5 (diff)
downloadperl-3b28d668e9efe9433c3099521167a6723cbddc26.tar.gz
Set multiplicity in configure.com when usethreads is enabled.
It's hard-wired in perl.h, so it doesn't make any difference to what's seen by the C code, but $Config{multiplicity} should reflect what we're actually doing (and track what Configure does).
Diffstat (limited to 'configure.com')
-rw-r--r--configure.com27
1 files changed, 15 insertions, 12 deletions
diff --git a/configure.com b/configure.com
index f9cc2fbd6d..3fb634ddf8 100644
--- a/configure.com
+++ b/configure.com
@@ -2017,21 +2017,24 @@ $! Ask if they want to build with MULTIPLICITY
$ echo ""
$ echo "Perl can be built so that multiple Perl interpreters can coexist"
$ echo "within the same Perl executable."
-$ echo "There is some performance overhead, however, so you"
-$ echo "probably do not want to choose this unless you are going to be"
-$ echo "doing things with embedded perl."
-$ bool_dflt = "n"
-$ if f$type(usemultiplicity) .nes. ""
-$ then
-$ if usemultiplicity .or. usemultiplicity .eqs. "define" then bool_dflt = "y"
-$ endif
-$ rp = "Build Perl for multiplicity? [''bool_dflt'] "
-$ GOSUB myread
-$ IF ans
+$ IF usethreads .OR. usethreads .EQS. "define"
$ THEN
+$ echo "This multiple interpreter support is required for interpreter-based threads."
$ usemultiplicity="define"
$ ELSE
-$ usemultiplicity="undef"
+$ bool_dflt = "n"
+$ if f$type(usemultiplicity) .nes. ""
+$ then
+$ if usemultiplicity .or. usemultiplicity .eqs. "define" then bool_dflt = "y"
+$ endif
+$ rp = "Build Perl for multiplicity? [''bool_dflt'] "
+$ GOSUB myread
+$ IF ans
+$ THEN
+$ usemultiplicity="define"
+$ ELSE
+$ usemultiplicity="undef"
+$ ENDIF
$ ENDIF
$!
$! Ask if they want to build with 64-bit support