On Thu, 6 Sep 2001, Pier Fumagalli wrote:
> Ok, now, I might be a complete idiot, but I'm hearing way-too-many
> complaints about apxs not exporting the LD_SHLIB value under Linux.
>
> Did anyone encountered this problem before? Or can I safely assume that
> apxs -q LD_SHLIB = apxs -q CC
This doesn't work at all. Needs at least this patch.
Index: apxs.in
===================================================================
RCS file: /home/cvspublic/httpd-2.0/support/apxs.in,v
retrieving revision 1.27
diff -u -r1.27 apxs.in
--- apxs.in 2001/09/06 15:31:09 1.27
+++ apxs.in 2001/09/06 17:11:16
@@ -270,7 +270,7 @@
if (exists $internal_vars{$arg} or exists $internal_vars{lc
$arg}) {
my $val = exists $internal_vars{$arg} ? $arg : lc $arg;
$val = eval "\$CFG_$val";
- $result .= eval qq("$val");
+ $result .= eval qq("$val") if defined $val;
$result .= ";;";
$ok = 1;
}
but is still prints:
;;gcc
> if the first one doesn't return the right values?
>
> Thanks a lot...
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/