]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
Revisit cross-compilation guesses.
authorBruno Haible <bruno@clisp.org>
Thu, 13 Jul 2017 17:49:38 +0000 (19:49 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 13 Jul 2017 19:07:23 +0000 (21:07 +0200)
* m4/wctype_h.m4 (gl_WCTYPE_H): Add comment.

ChangeLog
m4/wctype_h.m4

index ca4730b6165ccb57fedd470b13ce66d91f1f179f..20cb4a072e7d677377daba2e3649126b5d3ea5d5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-07-13  Bruno Haible  <bruno@clisp.org>
+
+       Revisit cross-compilation guesses.
+       * m4/wctype_h.m4 (gl_WCTYPE_H): Add comment.
+
 2017-07-13  Bruno Haible  <bruno@clisp.org>
 
        Improve cross-compilation guesses for native Windows.
index 0c8c3053c2e9f2cdd644bc1b85f0f041bb4e8e60..596f26b58249cc3d445aaa3f887ad560c2b48748 100644 (file)
@@ -1,4 +1,4 @@
-# wctype_h.m4 serial 20
+# wctype_h.m4 serial 21
 
 dnl A placeholder for ISO C99 <wctype.h>, 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 <stdlib.h>
+            [dnl Guess no on Linux libc5, yes otherwise.
+             AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>
                           #if __GNU_LIBRARY__ == 1
                           Linux libc5 i18n is broken.
                           #endif]], [])],