This is the mail archive of the
gsl-discuss@sourceware.cygnus.com
mailing list for the GSL project.
Re: pkginclude and pkglib?
- To: Gerard Jungman <jungman at lanl dot gov>
- Subject: Re: pkginclude and pkglib?
- From: Dave Morrison <dave at bnl dot gov>
- Date: Sat, 29 Jan 2000 13:31:31 -0500
- CC: GSL discussion list <gsl-discuss at sourceware dot cygnus dot com>
- References: <3889D740.76913679@bnl.gov> <388A4102.1D738FBB@lanl.gov>
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