Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 65108 invoked by uid 500); 6 Sep 2001 17:16:08 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 65089 invoked from network); 6 Sep 2001 17:16:07 -0000 Date: Fri, 7 Sep 2001 01:13:21 +0800 (SGT) From: Stas Bekman X-X-Sender: To: Subject: Re: 1.3 apxs problems with Linux... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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/