summaryrefslogtreecommitdiff
path: root/m4/pthread-thread.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-12-03 04:54:53 +0100
committerBruno Haible <bruno@clisp.org>2019-12-03 04:55:39 +0100
commitaf16e1b401433476796c3bab5245c0a679c4dd26 (patch)
tree7f278d466c51f0f5597d34dce81a7f91defebef0 /m4/pthread-thread.m4
parent9b2dcfaf45493f1527ea8d01f7634407de750978 (diff)
downloadgnulib-af16e1b401433476796c3bab5245c0a679c4dd26.tar.gz
Fix mistakes in --enable-threads=isoc fixes from 2019-12-01.
* m4/pthread-mutex.m4 (gl_PTHREAD_MUTEX): Use LIBPMULTITHREAD, not LIBMULTITHREAD. * m4/pthread-rwlock.m4 (gl_PTHREAD_RWLOCK): Likewise. * m4/pthread-thread.m4 (gl_PTHREAD_THREAD): Likewise. * m4/timer_time.m4 (gl_TIMER_TIME): Likewise. Require gl_PTHREADLIB, not gl_THREADLIB. * modules/timer-time (Depends-on): Add pthread-h. Remove threadlib.
Diffstat (limited to 'm4/pthread-thread.m4')
-rw-r--r--m4/pthread-thread.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/pthread-thread.m4 b/m4/pthread-thread.m4
index eef29c9933..e274d11481 100644
--- a/m4/pthread-thread.m4
+++ b/m4/pthread-thread.m4
@@ -1,4 +1,4 @@
-# pthread-thread.m4 serial 1
+# pthread-thread.m4 serial 2
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,
@@ -41,7 +41,7 @@ AC_DEFUN([gl_PTHREAD_THREAD],
AC_CACHE_CHECK([whether pthread_create exists as a global function],
[gl_cv_func_pthread_create],
[saved_LIBS="$LIBS"
- LIBS="$LIBS $LIBMULTITHREAD"
+ LIBS="$LIBS $LIBPMULTITHREAD"
AC_LINK_IFELSE(
[AC_LANG_SOURCE(
[[extern