Hi Charles,<br><br><div class="gmail_quote">2009/1/4 Charles Lepple <span dir="ltr">&lt;<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In m4/nut_check_os.m4, there is the following section:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; # FIXME<br>
 &nbsp; &nbsp; &nbsp; &nbsp; if test -z &quot;$dist_cv_build_flavor&quot; ; then<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dist_cv_build_flavor=$(dist_get_flavor &quot;$(${CC-cc}<br>
$CFLAGS -v 2&gt;&amp;1 | grep &#39;gcc version&#39;)&quot;)<br>
 &nbsp; &nbsp; &nbsp; &nbsp; fi<br>
<br>
There is no dist_get_flavor command on OS X (or other systems, I<br>
suspect) so I am wondering if it is OK to just redirect stderr to /<br>
dev/null?<br>
</blockquote><div><br>uh, good catch! I&#39;ve renamed the dist_get_flavor to os_get_name<br>seems I&#39;ve missed some update.<br>I&#39;ve attached the base of this work (dist.m4, extracted from the OpenSS7 project).<br>
Note that the CVS repos. access is limited: <a href="http://www.openss7.org/cvsarchive.html">http://www.openss7.org/cvsarchive.html</a><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Also, is there a good way to disable this file until we actually need<br>
it?<br>
</blockquote></div><br>currently, NUT_CHECK_OS is called at the top of <a href="http://configure.in">configure.in</a><br clear="all">but it&#39;s only informational and not mandatory at all (it was more to do something with the m4 macro while waiting for an actual use...)<br>
<br>cheers,<br>-- Arnaud<br>