Re: [bug-gnulib] new module gettext-h for programs that don't use i18n

2005-07-15 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > The way it's implemented in gnulib-tool, the --avoid acts _during_ the > computation of the transitive closure, not afterwards. Which means, > --avoid=xalloc-die prevents the xalloc-die module from being included AND > also prevents the error, gettext-h,

Re: [bug-gnulib] new module gettext-h for programs that don't use i18n

2005-07-15 Thread Bruno Haible
Paul Eggert wrote: > > #if USE_UNLOCKED_IO > > # include "unlocked-io.h" > > #endif > > > > to a simple > > > > #include "unlocked-io.h" > > > > then --avoid will do the trick as well. > > If you make that change to the source code, and then use --avoid, the file > "unlocked-io.h" be missing. So y

Re: [bug-gnulib] new module gettext-h for programs that don't use i18n

2005-07-14 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > if you ever want to go back from > > #if USE_UNLOCKED_IO > # include "unlocked-io.h" > #endif > > to a simple > > #include "unlocked-io.h" > > then --avoid will do the trick as well. Sorry, I guess I'm just slow, because I don't quite follow. If you mak

Re: [bug-gnulib] new module gettext-h for programs that don't use i18n

2005-07-14 Thread Bruno Haible
Paul Eggert wrote: > xalloc-die, in contrast, doesn't have a substitute in gnulib; if you > don't use gnulib xalloc-die but some gnulib code needs it, you have to > implement it yourself (that is, the same API will not work unless you > implement it). This seems to be what --avoid is for. Yes, ex

Re: [bug-gnulib] new module gettext-h for programs that don't use i18n

2005-07-11 Thread Paul Eggert
Bruno Haible <[EMAIL PROTECTED]> writes: > I would therefore now suggest to undo the earlier commodity hacks and > return to a state where the modules/* files represent the real dependencies. > Namely, add back 'xalloc-die' as dependency to those modules need it. > Not sure about 'unlocked-io'. T

Re: new module gettext-h for programs that don't use i18n

2005-07-11 Thread Simon Josefsson
Paul Eggert <[EMAIL PROTECTED]> writes: > I'm trying to have Emacs use gnulib a bit more (one module at a > time...) and discovered that many modules currently depend on gettext > even though they only need the gettext.h file. gettext is a fairly > heavyweight module, and it's not time yet for m

Re: new module gettext-h for programs that don't use i18n

2005-07-11 Thread Stepan Kasal
Hello Bruno, > for this is the --avoid option to gnulib-tool, which I've now implemented. Great! Thank you very much for this long awaited option. Stepan ___ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib

Re: [bug-gnulib] new module gettext-h for programs that don't use i18n

2005-07-11 Thread Bruno Haible
Paul Eggert wrote: > I'm trying to have Emacs use gnulib a bit more (one module at a > time...) and discovered that many modules currently depend on gettext > even though they only need the gettext.h file. gettext is a fairly > heavyweight module, and it's not time yet for me to add it to Emacs >

new module gettext-h for programs that don't use i18n

2005-07-06 Thread Paul Eggert
I'm trying to have Emacs use gnulib a bit more (one module at a time...) and discovered that many modules currently depend on gettext even though they only need the gettext.h file. gettext is a fairly heavyweight module, and it's not time yet for me to add it to Emacs (it's on the todo list, but