From af16e1b401433476796c3bab5245c0a679c4dd26 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 3 Dec 2019 04:54:53 +0100 Subject: 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. --- m4/pthread-thread.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm4/pthread-thread.m4') 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 -- cgit v1.2.1