<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tech on C&#38;P &#187; patch</title>
	<atom:link href="http://tech.chickenandporn.com/category/patch/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.chickenandporn.com</link>
	<description>The Tech Part of my World</description>
	<lastBuildDate>Sat, 04 Feb 2012 01:07:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Nagios Can Survive AutoHeader</title>
		<link>http://tech.chickenandporn.com/2009/09/12/nagios-can-survive-autoheader/</link>
		<comments>http://tech.chickenandporn.com/2009/09/12/nagios-can-survive-autoheader/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 22:30:20 +0000</pubDate>
		<dc:creator>allanc</dc:creator>
				<category><![CDATA[patch]]></category>
		<category><![CDATA[autotools]]></category>
		<category><![CDATA[Nagios]]></category>
		<category><![CDATA[software evolution]]></category>

		<guid isPermaLink="false">http://tech.chickenandporn.com/?p=219</guid>
		<description><![CDATA[What does it mean to survive autoheader? Portability, easier maintainability. BTW: The patch is right here: nagios-autoheader.patch Autoheader is a tool that creates the header file associated with autoconf-generated configure; autotools (ie autoreconf) tend to assume that if you&#8217;re using AC_CONFIG_HEADERS(), you have a header file generated from your configure.in or configure.ac. FWIW, Nagios&#8217; use [...]]]></description>
			<content:encoded><![CDATA[<p>What does it mean to survive autoheader?  Portability, easier maintainability.</p>
<p>BTW: The patch is right here: <a href="http://chickenandporn.com/files/2009/09/nagios-autoheader.patch">nagios-autoheader.patch</a></p>
<p>Autoheader is a tool that creates the header file associated with autoconf-generated configure; autotools (ie autoreconf) tend to assume that if you&#8217;re using AC_CONFIG_HEADERS(), you have a header file generated from your configure.in or configure.ac.</p>
<p>FWIW, Nagios&#8217; use of AC_CONFIG_HEADER(file1 file2 file3) is actually converted to AC_CONFIG_HEADERS(file1), but not using the plural makes it confuse autoheader a bit.</p>
<p>Consider that maintaining twenty files is more difficult than maintaining one; maintaining two files is only slightly more difficult, but still is an entry-point for human error.</p>
<p>Just like driving on the left (former British colonies, for example) is more difficult after driving on the right (everywhere else); for the same reason, doing things in a way that differs from the mainstream is more difficult for others &#8212; who are used to the mainstream &#8212; to adapt to.  The corollary to this: approaching the mainstream way allows more developers to maintain your work.</p>
<p>The other benefit of joining the mainstream is that you gain from how the mainstream has &#8220;moved on&#8221;, and developed added benefits and utilities.  For example, automake reduces the maintenance of makefiles, and gives you &#8220;make dist&#8221;.  Nagios has a bunch of unusual scripts ot maintain versions of things, but Autotools do that by defining in the configure.in and substituting at <code>./configure</code> time.  This ties into the &#8220;maintaining fewer files&#8221; above as well as doing things in the conventional manner.</p>
<p>Note that it makes no difference whether a project has done it a certain way since USL times &#8212; a new user sees it for the first time only when they first see it, with no regard for how long it&#8217;s been like that.  This is to say that if it looks broken when the user first starts to work with it, it doesn&#8217;t matter how long it&#8217;s been broken, or if that method wasn&#8217;t considered &#8220;broken&#8221; when filing a stack of cards for batch-processing.</p>
<p>The small change I&#8217;ve done today allows Nagios to approach the current conventional method, and opens the path for further enhancements in a step-by-step progression of little changes at a time.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.chickenandporn.com/2009/09/12/nagios-can-survive-autoheader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

