Return-Path: Delivered-To: apmail-httpd-test-cvs-archive@www.apache.org Received: (qmail 81045 invoked from network); 16 Mar 2004 14:53:53 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Mar 2004 14:53:53 -0000 Received: (qmail 93595 invoked by uid 500); 16 Mar 2004 14:53:49 -0000 Delivered-To: apmail-httpd-test-cvs-archive@httpd.apache.org Received: (qmail 93529 invoked by uid 500); 16 Mar 2004 14:53:48 -0000 Mailing-List: contact test-cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: test-dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list test-cvs@httpd.apache.org Received: (qmail 93512 invoked from network); 16 Mar 2004 14:53:48 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 16 Mar 2004 14:53:48 -0000 Received: (qmail 81004 invoked by uid 1085); 16 Mar 2004 14:53:52 -0000 Date: 16 Mar 2004 14:53:52 -0000 Message-ID: <20040316145352.81003.qmail@minotaur.apache.org> From: coar@apache.org To: httpd-test-cvs@apache.org Subject: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfigC.pm X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N coar 2004/03/16 06:53:52 Modified: perl-framework/Apache-Test/lib/Apache TestConfigC.pm Log: use a cleaner way to special-case v1ness (thanks to stas) Revision Changes Path 1.29 +4 -2 httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigC.pm Index: TestConfigC.pm =================================================================== RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigC.pm,v retrieving revision 1.28 retrieving revision 1.29 diff -u -u -r1.28 -r1.29 --- TestConfigC.pm 5 Mar 2004 16:54:19 -0000 1.28 +++ TestConfigC.pm 16 Mar 2004 14:53:52 -0000 1.29 @@ -192,12 +192,14 @@ sub cmodules_write_makefile_aix { my($self, $mod) = @_; - my $dversion = $self->server->dversion; my $name = $mod->{name}; my $makefile = catfile $mod->{dir}, 'Makefile'; my $apxsflags = ''; - if ($dversion =~ 'APACHE1') { + # + # Only do this for Apache 1.* + # + if ($self->server->{rev} == 1) { $apxsflags = "-Wl,-bE:$name.exp"; my $expfile = catfile $mod->{dir}, "$name.exp"; if (! -f $expfile) {