On Sun, Mar 25, 2012 at 4:53 PM, Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Sun, 25 Mar 2012, Jed Brown wrote:<br>
<br>
> On Sun, Mar 25, 2012 at 16:32, Matthew Knepley <<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>> wrote:<br>
><br>
> > Isn't the final point here that we are trying to let the user do the<br>
> > dumbest, easiest thing? Maybe no Linux distribution<br>
> > does this, but we are trying to cope with bad input from a user not using<br>
> > a nice distro.<br>
> ><br>
> > The price we would pay for cleaning up our internals is demanding that<br>
> > users think more about the configure input. This<br>
> > is not always a good tradeoff.<br>
> ><br>
><br>
> Simple compromise proposal:<br>
><br>
> --with-cusp-dir=/prefix<br>
><br>
> Looks in /prefix/include/ for the headers <cusp/version.h>. If<br>
> unsuccessful, it tries /prefix/.<br>
<br>
</div>Ok -  for my part I've already agreed to this. [sean proposal (1)?]<br>
<br>
BuildSystem has a way of looping over libdir/libname options. Don't<br>
know if it can currently do the same for includes. [Hence my initial<br>
attempt to support cusp/thrust was to do a replace of the default<br>
choice - instead of trying them all]</blockquote><div><br></div><div>Yes you can put different include options in the generator in the same way.</div><div><br></div><div>   Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
Satish<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
><br>
><br>
> If you insisted, it could even search in the other order. What I don't like<br>
> is --with-cusp-dir=/prefix not looking for headers in /prefix/include/.<br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>