As a follow-up to a suggestion by theory on IRC: Index: Makefile.PL =================================================================== --- Makefile.PL (revision 987852) +++ Makefile.PL (working copy) @@ -540,6 +540,17 @@ "Upgrade to Perl 5.8.0 or higher"; exit 1; } + + if ($Config{usemultiplicity} xor $Config{usethreads}) { + if ($build->mpm_is_threaded()) { + error "Please recompile Perl with -Duseithreads and ". + "-Dusemultiplicity"; + } else { + error "Please recompile Perl with either -Duseithreads and ". + "-Dusemultiplicity or -Uuseithreads and -Uusemultiplicity"; + } + exit 1; + } } sub system_sanity_check {
Is that worth committing? Torsten Förtsch -- Need professional modperl support? Hire me! (http://foertsch.name) Like fantasy? http://kabatinte.net --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org For additional commands, e-mail: dev-h...@perl.apache.org