1Warning: the gettext maintainer says this patch is WRONG. I should 2 remove it as soon as I figure how it can be worked-around 3 properly (using localdef). 4 5--- intl/ChangeLog 6+++ intl/ChangeLog 7@@ -1,1 +1,9 @@ 8+2001-04-24 Alexandre Duret-Lutz <duret_g@epita.fr> 9+ 10+ * dcigettext.c (HAVE_LOCALE_NULL): Don't define even if 11+ __GNU_LIBRARY__ is defined. Otherwise guess_category_value() 12+ uses glibc's setlocale() which make the libintl dependant 13+ on the glibc configuration and prevent testing the package with 14+ foreign languages. 15+ 16 17--- intl/dcigettext.c.old Tue Apr 24 19:49:54 2001 18+++ intl/dcigettext.c Tue Apr 24 19:50:26 2001 19@@ -203,7 +203,7 @@ 20 However it does not specify the exact format. Neither do SUSV2 and 21 ISO C 99. So we can use this feature only on selected systems (e.g. 22 those using GNU C Library). */ 23-#if defined _LIBC || (defined __GNU_LIBRARY__ && __GNU_LIBRARY__ >= 2) 24+#if defined _LIBC 25 # define HAVE_LOCALE_NULL 26 #endif 27 28