]> Savannah Git Hosting - gnulib.git/commit
pthread-h: New module.
authorBruno Haible <bruno@clisp.org>
Mon, 15 Jul 2019 00:36:13 +0000 (02:36 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 15 Jul 2019 00:36:13 +0000 (02:36 +0200)
commitc1c1d4f6239eece0857e8c6465e92c0806a7c147
tree893d450b4f2d7093a61939589065b9a865dc17cb
parent3fdb19cf7a5c3c4ada691fdb9d8e01701c747298
pthread-h: New module.

* lib/pthread.in.h: Define replacement functions only if GNULIB_PTHREAD
is 1.
* m4/pthread_h.m4: Renamed from m4/pthread.m4.
(gl_PTHREAD_H): Renamed from gl_PTHREAD_CHECK. Don't test whether
<pthread.h> pollutes the namespace; instead, prepare for generating a
pthread.h always. Substitute HAVE_PTHREAD_H here.
(gl_PTHREAD_H_DEFAULTS): Renamed from gl_PTHREAD_DEFAULTS. Initialize
GNULIB_PTHREAD. Don't initialize HAVE_PTHREAD_H here.
* modules/pthread-h: New file, based on modules/pthread.
* modules/pthread: Rely on 'pthread-h'.
* m4/pthread_mutex_timedlock.m4 (gl_FUNC_PTHREAD_MUTEX_TIMEDLOCK):
Update.
* modules/pthread_mutex_timedlock (Depends-on): Add pthread-h. Remove
pthread.
ChangeLog
lib/pthread.in.h
m4/pthread.m4 [deleted file]
m4/pthread_h.m4 [new file with mode: 0644]
m4/pthread_mutex_timedlock.m4
modules/pthread
modules/pthread-h [new file with mode: 0644]
modules/pthread_mutex_timedlock