httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: Config path brokenness
Date Thu, 07 Mar 2002 15:19:05 GMT
On Thu, Mar 07, 2002 at 01:37:28PM +0100, Sander Striker wrote:
> > I know this stuff's been hacked at recently, I just want to let people know
> > it's not finished yet :)

Yes, that was me. :)

> configure.in, lines 446-448:
> 
> APR_EXPAND_VAR(ap_sysconfdir, $sysconfdir)
> AC_DEFINE_UNQUOTED(SERVER_CONFIG_FILE, "${ap_sysconfdir}/${progname}.conf",
>         [Location of the config file, relative to the Apache root directory])
> 
> 
> Apparently $ap_sysconfdir isn't relative.  We could opt for stripping
> of the ap_prefix part of ap_sysconfdir if it is present.

+1

If nobody gets to it first, I'll create another m4 macro for striping
off $prefix from $var. If $prefix isn't a prefix on $var then it won't
change $var.

perhaps APR_UNPREPEND_VAR(var, $prefix) ?

-aaron

Mime
View raw message