octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure.ac and Dolfin.h


From: Eugenio Gianniti
Subject: Re: configure.ac and Dolfin.h
Date: Sun, 2 Mar 2014 08:03:31 +0000


Il 02/mar/2014 08:10 "c." <address@hidden> ha scritto:
>
>
> On 2 Mar 2014, at 07:58, c. <address@hidden> wrote:
>
> >
> > On 1 Mar 2014, at 15:56, c. <address@hidden> wrote:
> >
> >>
> >> On 1 Mar 2014, at 15:31, Juan Pablo Carbajal <ajuanpi+address@hidden> wrote:
> >>>>
> >>>>
> >>>> Why not instead (or in addition to that) use the output of pkg-config?
> >>>> This is the standard way to detect flags to be added when
> >>>> compiling/linking against a library.
> >>>>
> >>>> On my Debian unstable system, the eigen3 include directory is included
> >>>> in the output of "pkg-config --cflags dolfin".
> >>>>
> >>>> --
> >>>> .''`.    Sébastien Villemot
> >>>> : :' :    Debian Developer
> >>>> `. `'     http://www.dynare.org/sebastien
> >>>> `-      GPG Key: 4096R/381A7594
> >>>>
> >>>
> >>> Sebastien,
> >>>
> >>> Because I do not know how to do that. Autotools and friends are not
> >>> the easiest tools to learn how to use...
> >>> If you have an example that shows what you mean, then I would be happy
> >>> to fix the code.
> >>
> >> I can do that, I'll prepare a patch, but nontheless it's good to be able
> >> to manually tell configure where libraries are, so I will leave your option too.
> >>
> >> c.
> >
> > Actually,
> >
> > Now that I think better about it, while I COULD, prepare this patch, working
> > on this sounds like a nice little project for a would-be GSoC student willing
> > to work on fem-fenics.
> >
> > So, Eugenio, would you like to give it a try yourself?
> > You can find some interesting information to use as a starting point for autotools+pkg
> > config here:
> >
> > https://www.flameeyes.eu/autotools-mythbuster/pkgconfig/index.html

I've been a bit absent because of my exams, but tomorrow I'm taking the last one for this session, so I will start to dive into the problem.

>
> Also,
> Octave itself uses pkg-config to discover configuration options for some of its dependencies
> like freetype or Qt, so you can find usage examples for the PKG_CHECK_MODULES macro in Octave's
> own configure.ac:
>
> http://hg.savannah.gnu.org/hgweb/octave/file/f958e8cd6348/configure.ac
>
> Feel free to ask if you need more directions.

Thank you, I will come back to the list if help is needed.

Eugenio

>
> > HTH,
> > c.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]