summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--m4/pthread-cond.m418
2 files changed, 15 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 661c2fe42..3c8e78ddf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1 +1,7 @@
12021-04-04 Fabrice Fontaine <fontaine.fabrice@gmail.com>
2
3 pthread-cond: Fix wrong configure results when <pthread.h> is absent.
4 * m4/pthread-cond.m4 (gl_PTHREAD_COND): When <pthread.h> does not exist,
5 set HAVE_PTHREAD_COND_* to 0, not to 1.
6
12021-04-04 Bruno Haible <bruno@clisp.org> 72021-04-04 Bruno Haible <bruno@clisp.org>
diff --git a/m4/pthread-cond.m4 b/m4/pthread-cond.m4
index 75e37c613..8922a8a24 100644
--- a/m4/pthread-cond.m4
+++ b/m4/pthread-cond.m4
@@ -1,2 +1,2 @@
1# pthread-cond.m4 serial 1 1# pthread-cond.m4 serial 2
2dnl Copyright (C) 2019-2021 Free Software Foundation, Inc. 2dnl Copyright (C) 2019-2021 Free Software Foundation, Inc.
@@ -25,10 +25,10 @@ AC_DEFUN([gl_PTHREAD_COND],
25 if test $HAVE_PTHREAD_H = 0; then 25 if test $HAVE_PTHREAD_H = 0; then
26 HAVE_PTHREAD_COND_INIT=1 26 HAVE_PTHREAD_COND_INIT=0
27 HAVE_PTHREAD_CONDATTR_INIT=1 27 HAVE_PTHREAD_CONDATTR_INIT=0
28 HAVE_PTHREAD_CONDATTR_DESTROY=1 28 HAVE_PTHREAD_CONDATTR_DESTROY=0
29 HAVE_PTHREAD_COND_WAIT=1 29 HAVE_PTHREAD_COND_WAIT=0
30 HAVE_PTHREAD_COND_TIMEDWAIT=1 30 HAVE_PTHREAD_COND_TIMEDWAIT=0
31 HAVE_PTHREAD_COND_SIGNAL=1 31 HAVE_PTHREAD_COND_SIGNAL=0
32 HAVE_PTHREAD_COND_BROADCAST=1 32 HAVE_PTHREAD_COND_BROADCAST=0
33 HAVE_PTHREAD_COND_DESTROY=1 33 HAVE_PTHREAD_COND_DESTROY=0
34 fi 34 fi

Return to:

Send suggestions and report system problems to the System administrator.