octave-maintainers
[Top][All Lists]
Advanced

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

gnulib module list in bootstrap.conf


From: John W. Eaton
Subject: gnulib module list in bootstrap.conf
Date: Mon, 17 Sep 2012 13:28:25 -0400

On 17-Sep-2012, Rik wrote:

| 9/16/12
| 
| John,
| 
| Is the list of modules that we import from gnulib up to date?
| 
| We are using the C++ interface to gnulib so most of the functions that we
| want to use need to be tagged with 'gnulib::'.  This makes it pretty simple
| to grep and find a list of the functions we are using.  When I compare that
| against the list of modules in bootstrap.conf I notice some discrepancies.
| 
| As an example, we use gnulib::floor in several places but never import the
| module.  The module happens to be a dependency of round which we *are*
| importing.  However, it seems like it would be better usage to actually
| import all the modules we call directly.  Eventually, maybe, we do away
| with importing round and gnulib-tool is smart enough to know that it can
| then remove modules that it had imported only to satisfy a dependency.  At
| that point we have a link error and are scratching our heads.

Yes, I agree that the list of modules in the bootstrap.conf file
should contain all of the modules that we use directly.

Removing those that we do not use directly is probably also a good
idea since gnulib is supposed to handle the dependencies
automatically.

jwe


reply via email to

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