+2019-09-08 Bruno Haible <bruno@clisp.org>
+
+ Clarify that cross-compilation guesses are guesses.
+ * m4/threads.m4 (gl_THREADS_H): Say "guessing yes" or "guessing no" when
+ cross-compiling.
+
2019-09-08 Bruno Haible <bruno@clisp.org>
chown: Fix configure output (regression from 2019-03-23).
-# threads.m4 serial 5
+# threads.m4 serial 6
dnl Copyright (C) 2019 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
]], [[
x = 42;
]])],
- [gl_cv_thread_local_works=yes],
- [gl_cv_thread_local_works=no])
+ [if test "$cross_compiling" != yes; then
+ gl_cv_thread_local_works=yes
+ else
+ gl_cv_thread_local_works="guessing yes"
+ fi
+ ],
+ [if test "$cross_compiling" != yes; then
+ gl_cv_thread_local_works=no
+ else
+ gl_cv_thread_local_works="guessing no"
+ fi
+ ])
fi
])
case "$gl_cv_thread_local_works" in