On 17.03.2011 20:49, Joseph L. Casale wrote:
>>> How does one access compile time options like @libexecdir@ or
>>> @api_cmd_file@ for example to tune the expected values in the
>>> config files?
>>>
>>> Thanks,
>>> jlc
>> ./configure --libexecdir=DIR ...
>
> Wolfgang,
> For icinga-web I added a --api_cmd_file=/path to attempt to set the
> lcoations utilizing @api_cmd_file@ in icinga-io.xml for example that
> are utilized in the git copy but that was not recognized.

./configure --help shows all available options. if you are interested in 
the different things being replaced while creating e.g. icinga.cfg out 
of icinga.cfg.in - take a look in the configure.in/.ac itsself, search 
for AC_SUBST

regarding your question, and example on the code itsself

https://git.icinga.org/?p=icinga-web.git;a=blob;f=configure.ac;hb=HEAD#l215
https://git.icinga.org/?p=icinga-web.git;a=blob;f=configure.ac;hb=HEAD#l265


>
> For icinga, I didn't even think about how changing that would be a problem.
> As the git copy sets $USER1$=@libexecdir@, so be it. That one can't really
> change.

that one will change, if you set libexecdir accordingly. reach out for 
packages, have a look into icinga.spec ...

https://git.icinga.org/?p=icinga-core.git;a=blob;f=icinga.spec;hb=HEAD#l88

kind regards,
Michael

>
> Thanks!
> jlc
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users
>


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to