pkginclude and pkglib?

Dave Morrison dave@bnl.gov
Sat Jan 29 10:32:00 GMT 2000


Hi Gerard,

For what it's worth, I'd be happy to help implement this change.  How do
you see it working during the build of gsl itself?  You would need a
"gsl" directory somewhere in the picture so that 

#include "gsl/gsl_blas.h" 

(and the like) can find the include files being referenced.  One thing
that could be done is to create a "gsl" directory in $top_builddir at
configure time and populate it with symlinks to all the
$top_srcdir/*/gsl_*.h files.  Then the various Makefile.am just need to
add "-I$(full_top_builddir)" to INCLUDES. One possible downside to this
method is that it doesn't automatically guarantee that all headers
mentioned in the various 'include_HEADERS' will have symlinks in
$top_builddir/gsl.  I'm sure there are more sophisticated ways of
getting this done.  Do you have any thoughts on the subject?  

Gerard Jungman wrote:
> 
> Dave Morrison wrote:

> > I can better appreciate the point about keeping the headers segregated,
> > but in that case, it would be nice if gsl referred to its own headers
> > using the `pkg' prefix
> >
> > #include "gsl/gsl_blas.h"
> 
> I agree with this and wanted to make this change myself at some
> point, but never got a chance to discuss it with Brian. It's just
> one of those things that we would want to do all at once so we
> don't step on each others toes. Brian?

Cheers,
Dave

-- 
David Morrison  Brookhaven National Laboratory  phone: 631-344-5840
                Physics Department, Bldg 510 C    fax: 631-344-3253
		          Upton, NY 11973-5000  email: dave@bnl.gov


More information about the Gsl-discuss mailing list