diff options
author | Bruno Haible <bruno@clisp.org> | 2019-12-03 04:54:53 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-12-03 04:55:39 +0100 |
commit | af16e1b401433476796c3bab5245c0a679c4dd26 (patch) | |
tree | 7f278d466c51f0f5597d34dce81a7f91defebef0 /m4/pthread-mutex.m4 | |
parent | 9b2dcfaf45493f1527ea8d01f7634407de750978 (diff) | |
download | gnulib-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-mutex.m4')
-rw-r--r-- | m4/pthread-mutex.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/pthread-mutex.m4 b/m4/pthread-mutex.m4 index abe5f2ffd8..044fa68594 100644 --- a/m4/pthread-mutex.m4 +++ b/m4/pthread-mutex.m4 @@ -1,4 +1,4 @@ -# pthread-mutex.m4 serial 2 +# pthread-mutex.m4 serial 3 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, @@ -43,7 +43,7 @@ AC_DEFUN([gl_PTHREAD_MUTEX], AC_CACHE_CHECK([for pthread_mutexattr_getrobust], [gl_cv_func_pthread_mutexattr_getrobust], [saved_LIBS="$LIBS" - LIBS="$LIBS $LIBMULTITHREAD" + LIBS="$LIBS $LIBPMULTITHREAD" AC_LINK_IFELSE( [AC_LANG_SOURCE( [[extern |