summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8b42b7c)
raw | patch | inline | side by side (parent: 8b42b7c)
author | Max Kellermann <max@duempel.org> | |
Thu, 25 Dec 2008 03:29:56 +0000 (04:29 +0100) | ||
committer | Max Kellermann <max@duempel.org> | |
Thu, 25 Dec 2008 03:29:56 +0000 (04:29 +0100) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index a6884456dcc2d80534e5248fb9b60392aa7743cc..6211f0ee6dd4216a3ff8db07c64d83fc5889a5c0 100644 (file)
--- a/configure.ac
+++ b/configure.ac
AC_DEFINE([ENABLE_LOCALE], [1], [Locale support is enabled])
fi
+if test x$enable_mini != xyes; then
+ AM_NLS
+else
+ USE_NLS=no
+fi
-AM_NLS
-nls=$USE_NLS
-
-if test "x$nls" = "xyes"; then
+if test x$USE_NLS = xyes; then
AM_GLIB_GNU_GETTEXT
GETTEXT_PACKAGE=$PACKAGE
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],
["${GETTEXT_PACKAGE}"],
[gettext domain])
- nls=$gt_cv_have_gettext
- if test "x$nls" != "xyes"; then
+ USE_NLS=$gt_cv_have_gettext
+ if test x$USE_NLS != xyes; then
AC_MSG_WARN([NLS support disabled!])
fi
else