[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] new module gettext-h for programs that don't use i18n
From: |
Paul Eggert |
Subject: |
Re: [bug-gnulib] new module gettext-h for programs that don't use i18n |
Date: |
Thu, 14 Jul 2005 14:55:55 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Bruno Haible <address@hidden> 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
make that change to the source code, and then use --avoid, the file
"unlocked-io.h" be missing. So you need your own substitute
unlocked-io.h, which (presumably) does nothing. I guess this will work,
but should we instead be striving for an approach where gnulib arranges
for the no-op unlocked-io.h? That would be more convenient.
> Regarding xalloc-die, I propose this patch.
This doesn't look quite right to me. xalloc-die depends on error,
gettext-h, and exitfail, because its implementation uses those three
modules. But a user who substitutes a specially-built xalloc-die
implementation may not need those three modules. It's common to take
the transitive closure of the dependencies to see which modules your
app needs. In that scenario, user would end up with modules like
"error" that they don't need.
Re: new module gettext-h for programs that don't use i18n, Simon Josefsson, 2005/07/11