configure: error: cannot run test program while cross compiling --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1762,33 +1762,6 @@ AC_DEFINE(HAVE_WINT_T, 1, [systems should define this type here]) fi -dnl check for broken wcwidth -AC_CACHE_CHECK([for wcwidth broken with unicode combining characters], -bash_cv_wcwidth_broken, -[AC_TRY_RUN([ -#include <unistd.h> -#include <stdlib.h> -#include <stdio.h> - -#include <locale.h> -#include <wchar.h> - -main(c, v) -int c; -char **v; -{ - int w; - - setlocale(LC_ALL, "en_US.UTF-8"); - w = wcwidth (0x0301); - exit (w == 0); /* exit 0 if wcwidth broken */ -} -], -bash_cv_wcwidth_broken=yes, bash_cv_wcwdith_broken=no, bash_cv_wcwidth_broken=no)]) -if test "$bash_cv_wcwidth_broken" = yes; then - AC_DEFINE(WCWIDTH_BROKEN, 1, [wcwidth is usually not broken]) -fi - if test "$am_cv_func_iconv" = yes; then OLDLIBS="$LIBS" LIBS="$LIBS $LIBICONV" Oh and... ######## ######## ### ######## ###### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ###### ######## ## ## ## ## ######### ## ## ######### ## ## ## ## ## ## ## ## ## ## ## ## ## ######## ## ## ## ## ###### ## ## ####### ## ## ###### ######## ######## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ###### ###### ######## ## ## ## ## ## ## ## ## ## ## ## ## ## ####### ###### ######## ## ## Reproducible: Always
(In reply to Hristo Venev from comment #0) > Oh and... > ######## ######## ### ######## ###### ## ## Wow, that's annoying. Don't do that.
*** Bug 503816 has been marked as a duplicate of this bug. ***
I'm reproducing this and hitting it during a catalyst run for mipsel3-uclibc.
(In reply to Jeroen Roovers from comment #1) agreed, the ascii art is obnoxious as f**k and has no place in bugzilla the patch is also completely busted -- both because they must always be attached and not posted as comments, and because it breaks the actual test which is needed
should be all set now in the tree; thanks for the report! Commit message: Force some cross-compile tests to the right answer (see the section under "tc-is-cross-compiler") http://sources.gentoo.org/sys-libs/readline/readline-6.3-r1.ebuild?rev=1.1