You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-commits@perl.apache.org by ge...@apache.org on 2005/07/22 17:27:12 UTC
svn commit: r220339 - /perl/Apache-Test/trunk/lib/Apache/Test.pm
Author: geoff
Date: Fri Jul 22 08:27:10 2005
New Revision: 220339
URL: http://svn.apache.org/viewcvs?rev=220339&view=rev
Log:
make sure need_threads doesn't assume mp2
Modified:
perl/Apache-Test/trunk/lib/Apache/Test.pm
Modified: perl/Apache-Test/trunk/lib/Apache/Test.pm
URL: http://svn.apache.org/viewcvs/perl/Apache-Test/trunk/lib/Apache/Test.pm?rev=220339&r1=220338&r2=220339&view=diff
==============================================================================
--- perl/Apache-Test/trunk/lib/Apache/Test.pm (original)
+++ perl/Apache-Test/trunk/lib/Apache/Test.pm Fri Jul 22 08:27:10 2005
@@ -461,10 +461,13 @@
# check APR support
my $build_config = Apache::TestConfig->modperl_build_config;
- my $apr_config = $build_config->get_apr_config();
- unless ($apr_config->{HAS_THREADS}) {
- $status = 0;
- push @SkipReasons, "Apache/APR was built without threads support";
+
+ if ($build_config) {
+ my $apr_config = $build_config->get_apr_config();
+ unless ($apr_config->{HAS_THREADS}) {
+ $status = 0;
+ push @SkipReasons, "Apache/APR was built without threads support";
+ }
}
# check Perl's useithreads