Hi;<div><br></div><div>I've been making small changes to the build system in Nagios -- nothing in shipping code, just aligning Nagios with the more recent Autotools.</div><div><br></div><div>I've commented why in a blog ep (<a href="http://tech.chickenandporn.com/2009/09/12/nagios-can-survive-autoheader/">http://tech.chickenandporn.com/2009/09/12/nagios-can-survive-autoheader/</a>), no reason to pad it here. I think both my readers skipped past :)</div>
<div><br></div><div>Nagios' <a href="http://config.h.in">config.h.in</a> looks generated; perhaps at some point Nagios used a generated config.h and later that file was added-to, and was no longer generated. Perhaps it copied a config.h generated somewhere else. I don't know.</div>
<div><br></div><div>To get back to a generated config.h, the additions can be split off to a file included in that config.h I've made that change in a patch which I've attached.</div><div><br></div><div>The changes in the patch are basically leveraging the changes I submitted for the <a href="http://configure.in">configure.in</a> to generate a <a href="http://config.h.in">config.h.in</a>, then include a "config-added.h" which includes the additional stuff. There's no code-changes necessary in shipping code because the generated config.h includes the new split-off content. The patch only references <a href="http://configure.in">configure.in</a> and (new) include/config-added.h</div>
<div><br></div><div>Autoheader is a step in the "autoreconf" process.</div><div><br></div><div><br></div><div>FYC</div><div><br></div><div>Allan</div><div>-- </div><div><a href="mailto:allanc@chickenandporn.com">allanc@chickenandporn.com</a> "金鱼" <a href="http://linkedin.com/in/goldfish">http://linkedin.com/in/goldfish</a><br>
<a href="http://tech.chickenandporn.com/tag/nagios/">http://tech.chickenandporn.com/tag/nagios/</a><br><a href="http://wiki.nagios.org/index.php/LDAP-Configured_Nagios">http://wiki.nagios.org/index.php/LDAP-Configured_Nagios</a>
</div>