>From 7cfff1726cc06ea29bb39788f27ccfd5088e7310 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 13 Jul 2017 19:49:38 +0200 Subject: [PATCH 4/4] Revisit cross-compilation guesses. * m4/wctype_h.m4 (gl_WCTYPE_H): Add comment. --- ChangeLog | 5 +++++ m4/wctype_h.m4 | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ca4730b..20cb4a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2017-07-13 Bruno Haible + Revisit cross-compilation guesses. + * m4/wctype_h.m4 (gl_WCTYPE_H): Add comment. + +2017-07-13 Bruno Haible + Improve cross-compilation guesses for native Windows. * m4/btowc.m4 (gl_FUNC_BTOWC): Add cross-compilation guess for native Windows. diff --git a/m4/wctype_h.m4 b/m4/wctype_h.m4 index 0c8c305..596f26b 100644 --- a/m4/wctype_h.m4 +++ b/m4/wctype_h.m4 @@ -1,4 +1,4 @@ -# wctype_h.m4 serial 20 +# wctype_h.m4 serial 21 dnl A placeholder for ISO C99 , for platforms that lack it. @@ -53,7 +53,8 @@ AC_DEFUN([gl_WCTYPE_H], int main () { return iswprint ('x') == 0; } ]])], [gl_cv_func_iswcntrl_works=yes], [gl_cv_func_iswcntrl_works=no], - [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include + [dnl Guess no on Linux libc5, yes otherwise. + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include #if __GNU_LIBRARY__ == 1 Linux libc5 i18n is broken. #endif]], [])], -- 2.7.4