gotcha
On Sat, Oct 3, 2020 at 1:49 AM Paolo Bonzini <
pbonzini@redhat.com> wrote:
>
> On 02/10/20 19:47, 罗勇刚(Yonggang Luo) wrote:
> > Because the configure script change far more complicated than you
> > imgaine. And I post that before
>
> Daniel is literally asking for a two-line change:
>
> diff --git a/configure b/configure
> index fee5faa054..ffd72b571d 100755
> --- a/configure
> +++ b/configure
> @@ -3671,7 +3671,6 @@ if test "$curses" != "no" ; then
> #include <locale.h>
> #include <curses.h>
> #include <wchar.h>
> -#include <langinfo.h>
> int main(void) {
> const char *codeset;
> wchar_t wch = L'w';
> @@ -3680,7 +3679,6 @@ int main(void) {
> addwstr(L"wide chars\n");
> addnwstr(&wch, 1);
> add_wch(WACS_DEGREE);
> - codeset = nl_langinfo(CODESET);
> return codeset != 0;
> }
> EOF
>
> Paolo
>
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo