From: Jeff Trawick Date: Wed, 13 Mar 2002 18:02:02 +0000 (+0000) Subject: get some hardcoded paths out of apxs X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43c94e447972b105cc61c8e5c3e2c756e4d146c8;p=apache get some hardcoded paths out of apxs PR: 10163 (but PR isn't completely solved with this commit) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93908 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/apxs.in b/support/apxs.in index 8b805a9153..b6524c3008 100644 --- a/support/apxs.in +++ b/support/apxs.in @@ -320,6 +320,7 @@ if ($opt_g) { my $data = join('', ); $data =~ s|%NAME%|$name|sg; $data =~ s|%TARGET%|$CFG_TARGET|sg; + $data =~ s|%PREFIX%|$prefix|sg; my ($mkf, $mods, $src) = ($data =~ m|^(.+)-=#=-\n(.+)-=#=-\n(.+)|s); @@ -586,9 +587,9 @@ __DATA__ ## builddir=$(shell pwd) -top_srcdir=/home/rbb/apachebin4 -top_builddir=/home/rbb/apachebin4/build -include /home/rbb/apachebin4/build/special.mk +top_srcdir=%PREFIX% +top_builddir=%PREFIX% +include %PREFIX%/build/special.mk # the used tools APXS=apxs