Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 27771 invoked by uid 500); 5 Jun 2002 19:08:56 -0000 Mailing-List: contact cvs-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 cvs@httpd.apache.org Received: (qmail 27759 invoked by uid 500); 5 Jun 2002 19:08:56 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 5 Jun 2002 19:08:55 -0000 Message-ID: <20020605190855.89950.qmail@icarus.apache.org> From: jwoolley@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/support apxs.in X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N jwoolley 2002/06/05 12:08:55 Modified: . CHANGES support apxs.in Log: Get rid of some uninitialized value errors with apxs -q. Submitted by: Stas Bekman Reviewed by: Heinrich Gļæ½tzger , Cliff Woolley Revision Changes Path 1.810 +3 -0 httpd-2.0/CHANGES Index: CHANGES =================================================================== RCS file: /home/cvs/httpd-2.0/CHANGES,v retrieving revision 1.809 retrieving revision 1.810 diff -u -d -u -r1.809 -r1.810 --- CHANGES 5 Jun 2002 11:59:25 -0000 1.809 +++ CHANGES 5 Jun 2002 19:08:54 -0000 1.810 @@ -1,5 +1,8 @@ Changes with Apache 2.0.37 + *) Get rid of uninitialized value errors with "apxs -q" on certain + variables. [Stas Bekman ] + *) Fix apxs to allow it to work when the build directory is somewhere besides server-root/build. PR 8453 [Jeff Trawick and a host of others] 1.40 +2 -2 httpd-2.0/support/apxs.in Index: apxs.in =================================================================== RCS file: /home/cvs/httpd-2.0/support/apxs.in,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -u -r1.39 -r1.40 --- apxs.in 5 Jun 2002 11:59:26 -0000 1.39 +++ apxs.in 5 Jun 2002 19:08:55 -0000 1.40 @@ -269,7 +269,7 @@ ? $config_vars{$arg} : $config_vars{lc $arg}; $val =~ s/[()]//g; - $result .= eval "qq($val)"; + $result .= eval "qq($val)" if defined $val; $result .= ";;"; $ok = 1; } @@ -277,7 +277,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; }