You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rasmus Lerdorf <ra...@lerdorf.on.ca> on 1999/07/07 05:51:08 UTC
Re: [PATCH: apxs: allow for override of CFG_* values]
Oh man, this HTML email of yours is painful. But yes, this looks like a
useful feature.
> <fontfamily><param>Helvetica</param> I ran into a problem using apxs while trying to build mod_dav into a distribution. Basically, apxs knows that the configuration files are over yonder and the module go over here, etc., but these paths are assuming that you are installing onto your local system. So "apxs -i ..." ends up editing my machines config and installing nicely onto my machine, when I'm just hoping to create a separate root that I can package into a tarball or something.
>
>
> I'd like to change the value of </fontfamily><fixed><fontfamily><param>Courier</param>CFG_LIBEXECDIR</fontfamily></fixed><fontfamily><param>Helvetica</param> and </fontfamily><fixed><fontfamily><param>Courier</param>CFG_SYSCONFDIR</fontfamily></fixed><fontfamily><param>Helvetica</param> when installing in this manner. In my case I want, for example, </fontfamily><fixed><fontfamily><param>Courier</param>SYSCONFDIR="$(DSTROOT)`apxs -q SYSCONFDIR`"</fontfamily></fixed><fontfamily><param>Helvetica</param>.
>
>
> I can also see a situation where you might not want to use the same compile options as were used by apache. Perhaps I need a different compiler, even because I wrote my module in CLU or something.
>
>
> So I added an option "</fontfamily><fixed><fontfamily><param>Courier</param>-S <<var>=<<value></fontfamily></fixed><fontfamily><param>Helvetica</param>" which lets me set these things:
>
>
> </fontfamily><fixed><fontfamily><param>Courier</param> <bold>wsanchez%</bold> apxs -S SYSCONFDIR=/foo -q SYSCONFDIR
>
> /foo
>
> </fontfamily></fixed><fontfamily><param>Helvetica</param>
>
> -Fred