diff src/auto/configure @ 6094:6e24b97dde69 v7.4.385

updated for version 7.4.385 Problem: When building with tiny or small features building the .mo files fails. Solution: In autoconf do not setup for building the .mo files when it would fail.
author Bram Moolenaar <bram@vim.org>
date Wed, 30 Jul 2014 13:22:52 +0200
parents daebf8ce6608
children de35e123e63c
line wrap: on
line diff
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -12966,7 +12966,7 @@ rm -f core conftest.err conftest.$ac_obj
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: msgfmt not found - disabled" >&5
 $as_echo "msgfmt not found - disabled" >&6; };
     fi
-    if test $have_gettext = "yes"; then
+    if test $have_gettext = "yes" -a "x$features" != "xtiny" -a "x$features" != "xsmall"; then
       $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
 
       MAKEMO=yes