Mercurial > vim
comparison src/auto/configure @ 34543:748a8a413816 v9.1.0173
patch 9.1.0173: msgfmt ver. 0.22 forcibly converts text to UTF-8
Commit: https://github.com/vim/vim/commit/e498cafe74e9073a9f8134f04c22b61d7bc68894
Author: RestorerZ <restorer@mail2k.ru>
Date: Tue Mar 12 22:11:36 2024 +0100
patch 9.1.0173: msgfmt ver. 0.22 forcibly converts text to UTF-8
Problem: msgfmt ver. 0.22 forcibly converts text to UTF-8
Solution: use '--no-convert' if msgfmt supports it. Add a configure
check for the msgfmt version (RestorerZ).
closes: #14163
Co-authored-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 12 Mar 2024 22:30:03 +0100 |
parents | dd5023389a98 |
children | a843afce8fcf |
comparison
equal
deleted
inserted
replaced
34542:cf167a352bea | 34543:748a8a413816 |
---|---|
648 ac_header_c_list= | 648 ac_header_c_list= |
649 ac_subst_vars='LTLIBOBJS | 649 ac_subst_vars='LTLIBOBJS |
650 LIBOBJS | 650 LIBOBJS |
651 LINK_AS_NEEDED | 651 LINK_AS_NEEDED |
652 DEPEND_CFLAGS_FILTER | 652 DEPEND_CFLAGS_FILTER |
653 MSGFMTCMD | |
653 MSGFMT_DESKTOP | 654 MSGFMT_DESKTOP |
654 MAKEMO | 655 MAKEMO |
655 MSGFMT | 656 MSGFMT |
656 INSTALL_TOOL_LANGS | 657 INSTALL_TOOL_LANGS |
657 INSTALL_LANGS | 658 INSTALL_LANGS |
15962 else | 15963 else |
15963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 15964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
15964 printf "%s\n" "no" >&6; } | 15965 printf "%s\n" "no" >&6; } |
15965 fi | 15966 fi |
15966 | 15967 |
15968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if msgfmt supports --no-convert" >&5 | |
15969 printf %s "checking if msgfmt supports --no-convert... " >&6; } | |
15970 if "$MSGFMT" --help | grep -q -- '--no-convert' >/dev/null; then | |
15971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
15972 printf "%s\n" "yes" >&6; } | |
15973 MSGFMTCMD="OLD_PO_FILE_INPUT=yes msgfmt --no-convert -v" | |
15974 else | |
15975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
15976 printf "%s\n" "no" >&6; } | |
15977 MSGFMTCMD="OLD_PO_FILE_INPUT=yes msgfmt -v" | |
15978 fi | |
15979 | |
15967 fi | 15980 fi |
15968 else | 15981 else |
15969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no \"po/Makefile\" - disabled" >&5 | 15982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no \"po/Makefile\" - disabled" >&5 |
15970 printf "%s\n" "no \"po/Makefile\" - disabled" >&6; }; | 15983 printf "%s\n" "no \"po/Makefile\" - disabled" >&6; }; |
15971 fi | 15984 fi |