You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Pier Fumagalli <pi...@betaversion.org> on 2001/09/06 18:22:09 UTC

1.3 apxs problems with Linux...

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
if the first one doesn't return the right values?

Thanks a lot...

    Pier


Re: 1.3 apxs problems with Linux...

Posted by Stas Bekman <st...@stason.org>.
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:stas@stason.org   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/