On Mon, May 28, 2007, Olivier Thauvin wrote:
> Le lundi 28 mai 2007, Jeff Johnson a écrit :
> > > Do you agree with that ?
> >
> > In general, I believe that adjusting -I paths is superior to embedding
> > partial relative structure within include paths as in
> > #include "beecrypt/beecrypt.h"
>
> BTW: I tried -Ibeecrypt but It seems -I want only absolute path :
No, option -I always accepts also relative paths. Your problem might be
more the fact that if you use -Ibeecrypt this works in the top-level
directory of the source tree. But in a sub-directory it would have to
be -I../beecrypt, etc. The solution is to use Autoconf's @top_srcdir@
variable, i.e. place into Makefile.in -I@top_srcdir@/beecrypt
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
Received on Mon May 28 21:52:08 2007