<br><div class="gmail_quote">2010/11/4 Arjen de Korte<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Author: adkorte-guest<br>
Date: Thu Nov  4 20:00:25 2010<br>
New Revision: 2668<br>
URL: <a href="http://trac.networkupstools.org/projects/nut/changeset/2668" target="_blank">http://trac.networkupstools.org/projects/nut/changeset/2668</a><br>
<br>
Log:<br>
Checking whether or not we should use the &#39;regex&#39; library should be done for all USB connected devices (since we use this in the matcher function). In that case it is much cleaner to add this check in nut_check_libusb.m4.</blockquote>
<div><br>indeed, a more elegant approach.<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> This also fixes the wrong use of AC_SEARCH_LIBS, that already adds &#39;-lregex&#39; to LIBS (which means all binaries are linked against this library).<br>
</blockquote><div><br>though I&#39;ve not double checked (my native mingw install is still incomplete, and lagging in a VM), this shouldn&#39;t be the case since setting LIBS is the default case, which is overridden here.<br>
<br>as a side note, we could probably limit this search to mingw.<br>but I&#39;ve not yet checked other projects to see whether it should be improved or not...<br><br>cheers,<br>Arnaud<br></div></div>