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) {