Mercurial > vim
comparison src/configure.ac @ 16974:15f787b7da56 v8.1.1487
patch 8.1.1487: older msgfmt cannot generate proper .desktop file
commit https://github.com/vim/vim/commit/62a88f498ac8d996bc976871cd80fcc14466f013
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jun 7 20:44:40 2019 +0200
patch 8.1.1487: older msgfmt cannot generate proper .desktop file
Problem: Older msgfmt cannot generate proper .desktop file.
Solution: Add a configure check to not use this msgfmt version. (Ken Takata)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 07 Jun 2019 20:45:06 +0200 |
parents | 7ad3fc329e08 |
children | 353ed7ef78df |
comparison
equal
deleted
inserted
replaced
16973:a2c3e18b035c | 16974:15f787b7da56 |
---|---|
4300 AC_MSG_RESULT([yes]); AC_DEFINE(HAVE_NL_MSG_CAT_CNTR), | 4300 AC_MSG_RESULT([yes]); AC_DEFINE(HAVE_NL_MSG_CAT_CNTR), |
4301 AC_MSG_RESULT([no])) | 4301 AC_MSG_RESULT([no])) |
4302 AC_MSG_CHECKING([if msgfmt supports --desktop]) | 4302 AC_MSG_CHECKING([if msgfmt supports --desktop]) |
4303 MSGFMT_DESKTOP= | 4303 MSGFMT_DESKTOP= |
4304 if "$MSGFMT" --help | grep -e '--desktop' >/dev/null; then | 4304 if "$MSGFMT" --help | grep -e '--desktop' >/dev/null; then |
4305 AC_MSG_RESULT([yes]) | 4305 if "$MSGFMT" --version | grep '0.19.[[3-7]]$' >/dev/null; then |
4306 MSGFMT_DESKTOP="gvim.desktop vim.desktop" | 4306 dnl GNU gettext 0.19.7's --desktop is broken. We assume back to |
4307 dnl 0.19.3 is also broken. | |
4308 AC_MSG_RESULT([broken]) | |
4309 else | |
4310 AC_MSG_RESULT([yes]) | |
4311 MSGFMT_DESKTOP="gvim.desktop vim.desktop" | |
4312 fi | |
4307 else | 4313 else |
4308 AC_MSG_RESULT([no]) | 4314 AC_MSG_RESULT([no]) |
4309 fi | 4315 fi |
4310 AC_SUBST(MSGFMT_DESKTOP) | 4316 AC_SUBST(MSGFMT_DESKTOP) |
4311 fi | 4317 fi |