<br><br><div class="gmail_quote">On Feb 6, 2008 10:33 PM,  &lt;<a href="mailto:skip@pobox.com">skip@pobox.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br> &nbsp; &nbsp;Michael&gt; I need to change the way configure works for a port. &nbsp;Is it<br> &nbsp; &nbsp;Michael&gt; better to patch configure or change the underlying files and<br> &nbsp; &nbsp;Michael&gt; regenerate configure?<br><br>Patching configure is going to be very fragile. &nbsp;Your patch will almost<br>
certainly break with the upstream authors upgrade to a newer version of<br>autoconf. &nbsp;If you absolutely, positively have to patch something, patch the<br>inputs to configure, not configure itself.<br></blockquote></div><br>
<div><span class="Apple-style-span" style="color: rgb(136, 136, 136);"><div><br class="webkit-block-placeholder"></div><div>This sounds like a better plan. &nbsp;How do I get macports to regenerate the files once I patch the configure inputs?</div>
<div><br class="webkit-block-placeholder"></div><div>On a related note. &nbsp;Is there any good examples of replacing AC_CHECK_HEADERS macros with pkg-config?</div><div><br class="webkit-block-placeholder"></div></span></div>