diff options
-rw-r--r-- | configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 0f74cfc..a301393 100644 --- a/configure.in +++ b/configure.in | |||
@@ -174,12 +174,15 @@ AC_ARG_ENABLE(nls, | |||
174 | if test x$enableval = "xyes"; then | 174 | if test x$enableval = "xyes"; then |
175 | AC_MSG_RESULT([yes]) | 175 | AC_MSG_RESULT([yes]) |
176 | AC_DEFINE(NLS, 1, "Natural language support") | 176 | AC_DEFINE(NLS, 1, "Natural language support") |
177 | NLS="-DNLS" | ||
177 | else | 178 | else |
178 | AC_MSG_RESULT([no]) | 179 | AC_MSG_RESULT([no]) |
179 | fi, | 180 | fi, |
180 | AC_MSG_RESULT([yes]) | 181 | AC_MSG_RESULT([yes]) |
181 | AC_DEFINE(NLS, 1, "Natural language support") | 182 | AC_DEFINE(NLS, 1, "Natural language support") |
183 | NLS="-DNLS" | ||
182 | ) | 184 | ) |
185 | AC_SUBST(NLS) | ||
183 | 186 | ||
184 | AC_CHECK_LIB(xpg4, setlocale, LIBS="$LIBS -lxpg4") | 187 | AC_CHECK_LIB(xpg4, setlocale, LIBS="$LIBS -lxpg4") |
185 | 188 | ||