comparison src/configure.ac @ 16289:b4c7e026685c v8.1.1149

patch 8.1.1149: building desktop files fails with older msgfmt commit https://github.com/vim/vim/commit/26096cc96fc402db45948b3b662a380281585649 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 11 15:25:40 2019 +0200 patch 8.1.1149: building desktop files fails with older msgfmt Problem: Building desktop files fails with older msgfmt. Solution: Add autoconf check. Avoid always building the desktop files.
author Bram Moolenaar <Bram@vim.org>
date Thu, 11 Apr 2019 15:30:03 +0200
parents a6ca8cf07a98
children c1dca26a6949
comparison
equal deleted inserted replaced
16288:199cef46e9f9 16289:b4c7e026685c
4296 [#include <libintl.h> 4296 [#include <libintl.h>
4297 extern int _nl_msg_cat_cntr;], 4297 extern int _nl_msg_cat_cntr;],
4298 [++_nl_msg_cat_cntr;], 4298 [++_nl_msg_cat_cntr;],
4299 AC_MSG_RESULT([yes]); AC_DEFINE(HAVE_NL_MSG_CAT_CNTR), 4299 AC_MSG_RESULT([yes]); AC_DEFINE(HAVE_NL_MSG_CAT_CNTR),
4300 AC_MSG_RESULT([no])) 4300 AC_MSG_RESULT([no]))
4301 AC_MSG_CHECKING([if msgfmt supports --desktop])
4302 MSGFMT_DESKTOP=
4303 if "$MSGFMT" --help | grep -e '--desktop' >/dev/null; then
4304 AC_MSG_RESULT([yes])
4305 MSGFMT_DESKTOP="gvim.desktop vim.desktop"
4306 else
4307 AC_MSG_RESULT([no])
4308 fi
4309 AC_SUBST(MSGFMT_DESKTOP)
4301 fi 4310 fi
4302 else 4311 else
4303 AC_MSG_RESULT([no "po/Makefile" - disabled]); 4312 AC_MSG_RESULT([no "po/Makefile" - disabled]);
4304 fi 4313 fi
4305 else 4314 else