getting configuration parameters into package.conf

Sven Panne Sven.Panne at aedion.de
Sat Feb 7 18:49:20 EST 2004


Ross Paterson wrote:
> My next question was going to be whether we could devolve more
> package-specific configuration from the top-level configure to
> the libraries or package level. [...]

Definitively, this should be our master plan. Currently things are far
too centralistic, e.g. why on earth should Haddock know about the values
of the various EFOOBAR errno values? Tests like this belong to the
package (or sub-project) which cares about it. If it's needed at more
than one place, so be it: Autoconf's cache files would make repeated
tests very cheap.

> [...] In your case, would it be reasonable to put AL_LIBS
> in include/HsOpenALConfig.h and have package.conf.in include that?

I think so, and the only reason I haven't done so yet is laziness, IIRC. :-}

Cheers,
    S.



More information about the Cvs-libraries mailing list