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,
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
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
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
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
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
>