summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-09-07 08:53:33 +0000
committerEric Andersen <andersen@codepoet.org>2004-09-07 08:53:33 +0000
commitcf84d3fc7bb6477cec931e5753b3d1b2f1ded6c6 (patch)
tree37dfb8d5bd6ea3431e054a19304b3b7608c31399
parentbd7f93cb5cad7af1377fe54618d69cbb1f941f48 (diff)
uClibc gettext support is under development and really shouldn't
be used by the unsuspecting masses quite yet.
-rw-r--r--extra/Configs/Config.in2
-rw-r--r--include/libintl.h5
2 files changed, 6 insertions, 1 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 4deed3026..d0933722e 100644
--- a/extra/Configs/Config.in
+++ b/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!!!
diff --git a/include/libintl.h b/include/libintl.h
index 89db38f3b..1ba9d0d8c 100644
--- a/include/libintl.h
+++ b/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). */