Browse Source

uClibc gettext support is under development and really shouldn't
be used by the unsuspecting masses quite yet.

Eric Andersen 19 years ago
parent
commit
cf84d3fc7b
2 changed files with 6 additions and 1 deletions
  1. 1 1
      extra/Configs/Config.in
  2. 5 0
      include/libintl.h

+ 1 - 1
extra/Configs/Config.in

@@ -944,7 +944,7 @@ config UCLIBC_HAS_SYS_SIGLIST
 
 config UCLIBC_HAS_GETTEXT_AWARENESS
 	bool "Include gettext awareness"
-	depends on UCLIBC_HAS_LOCALE
+	depends on UCLIBC_HAS_LOCALE && UCLIBC_MJN3_ONLY
 	default n
 	help
 	  NOTE!!!  Not yet integrated with strerror and strsignal.  NOTE!!!

+ 5 - 0
include/libintl.h

@@ -34,6 +34,11 @@
 
 __BEGIN_DECLS
 
+#ifdef __UCLIBC_MJN3_ONLY__
+#warning "mjn3 FIXME: gettext has a prototype but isn't defined."
+#warning "mjn3 FIXME: __OPTIMIZE__ is never defined."
+#endif
+
 /* Look up MSGID in the current default message catalog for the current
    LC_MESSAGES locale.  If not found, returns MSGID itself (the default
    text).  */