Werner LEMBERG wrote:
> > E.g., you could do this:
> >
> > #if ENABLE_NLS
> > # include "gettext.h"
> > # define _(msgid) gettext (msgid)
> > #else
> > # define _(msgid) msgid
> > #endif
> ...
> I really prefer a `real' fix, this is, adding the above code to the
> affected source files. For me, it
> - For programs that really don't want internationalization, you
> can add a file gettext.h in your source tree containing merely
>
> #define gettext(s) s
OK, this is a nice (temporary) idea I can live with, thanks!
Werner
___
bug
Werner LEMBERG wrote:
> I think it is a *bad* idea to make getopt depend on gettext
> unconditionally. I suggest a patch similar to the one below.
>
> --- getopt.c.orig 2005-05-14 09:15:14.0 +0200
> +++ getopt.c 2005-05-30 15:27:01.578335784 +0200
> @@ -50,8 +50,12 @@
> #ifdef _LIBC