Mailing List Archive

cvs commit: modperl/apaci mod_perl.config.sh
dougm 98/06/08 09:12:42

Modified: apaci mod_perl.config.sh
Log:
hpux ld/gcc flags hack broke USE_APACI=1, comment out for now

Revision Changes Path
1.6 +4 -0 modperl/apaci/mod_perl.config.sh

Index: mod_perl.config.sh
===================================================================
RCS file: /export/home/cvs/modperl/apaci/mod_perl.config.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- mod_perl.config.sh 1998/06/08 01:40:16 1.5
+++ mod_perl.config.sh 1998/06/08 16:12:40 1.6
@@ -111,7 +111,10 @@
use Config;
my $ldopts = `$^X -MExtUtils::Embed -e ldopts -- -std @ARGV`;
$ldopts =~ s,(-bE:)(perl\.exp),$1$Config{archlibexp}/CORE/$2, if($^O eq "aix");
+=pod
#replace -Wl args meant for gcc with args for ld
+#hmm, this breaks USE_APACI=1, what to do for USE_APXS?
+#should we use gcc instead of ld?
if($^O eq "hpux") {
while ($ldopts =~ s/-Wl,(\S+)/$1/) {
my $cp = $1;
@@ -119,6 +122,7 @@
$ldopts =~ s/$cp/$repl/;
}
}
+=cut
print $ldopts;
EOT
perl_libs="`$perl_interp $tmpfile2`"