1 --- configure.old 2020-12-22 20:13:42.000000000 +0100
2 +++ configure 2020-12-22 20:09:21.000000000 +0100
3 @@ -18540,117 +18540,16 @@
6 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcsrtombs" >&5
8 -$as_echo_n "checking for wcsrtombs... " >&6; }
9 -if test "$cross_compiling" = yes; then :
10 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12 -as_fn_error $? "cannot run test program while cross compiling
13 -See \`config.log' for more details" "$LINENO" 5; }
15 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16 -/* end confdefs.h. */
24 -memset(&st, 0, sizeof(st));
26 -const wchar_t* src=L"help";
27 -wcsrtombs(buffer, &src, 32, &st);
36 -if ac_fn_cxx_try_run "$LINENO"; then :
38 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39 -$as_echo "yes" >&6; }
41 cat >>confdefs.h <<_ACEOF
42 #define HAVE_WCSRTOMBS 1
48 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
51 -cat >>confdefs.h <<_ACEOF
52 -#define HAVE_WCSRTOMBS 0
58 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59 conftest.$ac_objext conftest.beam conftest.$ac_ext
62 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbsrtowcs" >&5
63 -$as_echo_n "checking for mbsrtowcs... " >&6; }
64 -if test "$cross_compiling" = yes; then :
65 - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
66 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
67 -as_fn_error $? "cannot run test program while cross compiling
68 -See \`config.log' for more details" "$LINENO" 5; }
70 - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71 -/* end confdefs.h. */
79 -memset(&st, 0, sizeof(st));
81 -const char* src="help";
82 -mbsrtowcs(buffer, &src, 32, &st);
91 -if ac_fn_cxx_try_run "$LINENO"; then :
93 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
94 -$as_echo "yes" >&6; }
96 cat >>confdefs.h <<_ACEOF
97 #define HAVE_MBSRTOWCS 1
103 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
104 -$as_echo "no" >&6; }
106 -cat >>confdefs.h <<_ACEOF
107 -#define HAVE_MBSRTOWCS 0
113 -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
114 - conftest.$ac_objext conftest.beam conftest.$ac_ext
118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv uses const pointers" >&5
119 $as_echo_n "checking if iconv uses const pointers... " >&6; }
120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext