[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
request: signal if gettext invented LC_MESSAGES
From: |
Rapp, Perry |
Subject: |
request: signal if gettext invented LC_MESSAGES |
Date: |
Sun, 9 Jun 2002 01:54:52 -0400 |
libgnuintl.h can define LC_MESSAGES
which means I can't test if the platform defines it,
which is a problem for me (I'd like to start using LC_MESSAGES
on platforms that define it, but I can't yet, because I can't tell which
ones define it, because of this in libgnuintl.h).
What about changing:
#if !defined LC_MESSAGES && !(defined __LOCALE_H || (defined _LOCALE_H
&& defined __sun))
# define LC_MESSAGES 1729
#endif
to, eg:
#if !defined LC_MESSAGES && !(defined __LOCALE_H || (defined _LOCALE_H
&& defined __sun))
# define LC_MESSAGES 1729
# define GETTEXT_DEFINED_LC_MESSAGES 1
#endif
(so of course I can test for LC_MESSAGES but not
GETTEXT_DEFINED_LC_MESSAGES)
This doesn't solve my problem now, but it will if that appears in a
gettext
distribution that I can use.
Cordially,
Perry
PS: I could work around this on MS-Windows, as I have a hardcoded
config.h
which I can edit (I could simply add __LOCALE_H), but I'd still be
broken
on suns, and I can't fix the config.h for suns (I don't know enough
autotools,
and anyway, I don't think that is the correct approach).
- request: signal if gettext invented LC_MESSAGES,
Rapp, Perry <=