Thanks!<br><br><div class="gmail_quote">2011/11/22 Sylvain Joyeux <span dir="ltr"><<a href="mailto:sylvain.joyeux@dfki.de">sylvain.joyeux@dfki.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 11/22/2011 10:19 AM, Charles Lesire-Cabaniols wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Are some Rock people using LWPR?<br>
How did you make autoproj build LWPR as an autotools_package?<br>
<br>
This autotools-based libraries that only support to be built in the<br>
source dir are really pissing off!<br>
</blockquote></div>
I just had a quick look. The only "bug" that forbids you to build in a separate directory is the usage of $(top_srcdir) in example_c/Makefile.am<br>
<br>
Just replace<br>
<br>
cross_CFLAGS = -I$(top_srcdir)/../include<br>
<br>
by<br>
<br>
cross_CFLAGS = -I$(top_srcdir)/include<br>
<br>
and everything is fine !<br>
<br>
To make this change permanent, you can create a patch, put it in your package set in a patches/ subdirectory and add<br>
<br>
patches: $AUTOPROJ_SOURCE_DIR/patches/<u></u>001_lwpr_fix_build_in_<u></u>builddir.patch<br>
<br>
to the corresponding entry in the source.yml's version_control: section.<br>
<br>
Always remember that you must NOT delete a patch file from the package set once it is there, or it will break the unpatching/patching process for your users.<span class="HOEnZb"><font color="#888888"><br>
<br>
Sylvain<br>
</font></span></blockquote></div><br>