diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-07 20:44:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-07 20:44:40 +0200 |
commit | 62a88f498ac8d996bc976871cd80fcc14466f013 (patch) | |
tree | b85479e576fa4ad685332d718452a9b53dbfc136 /src/auto | |
parent | 125370459178b0ca3acc98edca774c390c9b9fa4 (diff) |
patch 8.1.1487: older msgfmt cannot generate proper .desktop filev8.1.1487
Problem: Older msgfmt cannot generate proper .desktop file.
Solution: Add a configure check to not use this msgfmt version. (Ken Takata)
Diffstat (limited to 'src/auto')
-rwxr-xr-x | src/auto/configure | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/auto/configure b/src/auto/configure index bb613d2793..1f5ee2addb 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -14549,9 +14549,14 @@ rm -f core conftest.err conftest.$ac_objext \ $as_echo_n "checking if msgfmt supports --desktop... " >&6; } MSGFMT_DESKTOP= if "$MSGFMT" --help | grep -e '--desktop' >/dev/null; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + if "$MSGFMT" --version | grep '0.19.[3-7]$' >/dev/null; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: broken" >&5 +$as_echo "broken" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } - MSGFMT_DESKTOP="gvim.desktop vim.desktop" + MSGFMT_DESKTOP="gvim.desktop vim.desktop" + fi else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } |