summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 51f0ed1)
raw | patch | inline | side by side (parent: 51f0ed1)
author | Max Kellermann <max@duempel.org> | |
Fri, 7 Nov 2008 07:25:51 +0000 (08:25 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Fri, 7 Nov 2008 07:25:51 +0000 (08:25 +0100) |
Option --disable-nls disables all NLS features, even if the system
supports it.
supports it.
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 4dec85891ade1c5b59e5abbd4c41a505894a3300..212b618e5c9667d6c5c7136aa99c39b9dac8ad5a 100644 (file)
--- a/configure.ac
+++ b/configure.ac
dnl i18n
+
+AC_MSG_CHECKING([national language support])
+AC_ARG_ENABLE([nls],
+ AS_HELP_STRING([--enable-nls], [Enable national language support]),
+ [enable_nls=$enableval],
+ [enable_nls=$disable_mini])
+AC_MSG_RESULT([$enable_nls])
+
+if test "x$enable_nls" = xno; then
+ glib24=no
+ nls=no
+fi
+
AM_NLS
if test "x$glib24" = "xyes"; then
nls=$USE_NLS