Hi Charles,<br><br><div class="gmail_quote">2009/1/4 Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>></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>
# FIXME<br>
if test -z "$dist_cv_build_flavor" ; then<br>
dist_cv_build_flavor=$(dist_get_flavor "$(${CC-cc}<br>
$CFLAGS -v 2>&1 | grep 'gcc version')")<br>
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've renamed the dist_get_flavor to os_get_name<br>seems I've missed some update.<br>I'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'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>