From dev-return-5973-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Thu Mar 14 01:38:02 2002 Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 13324 invoked by uid 500); 14 Mar 2002 01:38:02 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 13290 invoked from network); 14 Mar 2002 01:38:01 -0000 From: "Brian Havard" To: "dev@apr.apache.org" Date: Thu, 14 Mar 2002 12:38:05 +1000 (EST) Reply-To: "Brian Havard" Priority: Normal X-Mailer: PMMail 2.10.1999 for OS/2 Warp 4.05 In-Reply-To: <20020313181302.38636.qmail@icarus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: cvs commit: apr/build apr_common.m4 Message-Id: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On 13 Mar 2002 18:13:02 -0000, jim@apache.org wrote: >jim 02/03/13 10:13:02 > > Modified: build apr_common.m4 > Log: > Fix weird error report... not sure what > brain damaged shell would misinterpret the current method, but > this safes it. > > Revision Changes Path > 1.26 +1 -1 apr/build/apr_common.m4 > > Index: apr_common.m4 > =================================================================== > RCS file: /home/cvs/apr/build/apr_common.m4,v > retrieving revision 1.25 > retrieving revision 1.26 > diff -u -r1.25 -r1.26 > --- apr_common.m4 8 Mar 2002 17:56:14 -0000 1.25 > +++ apr_common.m4 13 Mar 2002 18:13:02 -0000 1.26 > @@ -589,7 +589,7 @@ > dnl APR_PATH_RELATIVE(final_path, $orig_path, $prefix) > dnl $final_path now contains "bar" > AC_DEFUN(APR_PATH_RELATIVE,[ > -stripped=`echo $2 | sed -e "s#^$3##"` > +stripped=`echo $2 | sed -e "s#^${3}##"` > # check if the stripping was successful > if test "x$2" != "x$stripped"; then > # it was, so strip of any leading slashes Unfortuntely that breaks it for me. The generated code in Apache's configure changes from: stripped=`echo $ap_sysconfdir | sed -e "s#^$prefix##"` to stripped=`echo $ap_sysconfdir | sed -e "s#^${3}##"` which is obviously wrong & I end up with an absolute SERVER_CONFIG_FILE again. -- ______________________________________________________________________________ | Brian Havard | "He is not the messiah! | | brianh@kheldar.apana.org.au | He's a very naughty boy!" - Life of Brian | ------------------------------------------------------------------------------