]> Savannah Git Hosting - gnulib.git/commit
pthread-h: Respect --enable-threads={posix|windows} option on mingw.
authorBruno Haible <bruno@clisp.org>
Mon, 15 Jul 2019 00:36:21 +0000 (02:36 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 15 Jul 2019 00:36:21 +0000 (02:36 +0200)
commit9d925a90f747a353455b0d1d5e60f7fbe07baee1
tree32938f6c358dc040cb2bbce034c28928e2d59105
parentfba5fd39277dce3cac9fb72394bc7b3af36303a6
pthread-h: Respect --enable-threads={posix|windows} option on mingw.

* m4/pthread_h.m4 (gl_PTHREAD_H): Require gl_THREADLIB. Set
HAVE_PTHREAD_H if gl_threads_api is 'windows'.
(LIB_PTHREAD): Rely on $LIBMULTITHREAD from threadlib.m4.
* modules/pthread (Link): Change to $(LIBMULTITHREAD).
* modules/pthread-h (Depends-on): Add threadlib.
(Link): Change to $(LIBTHREAD).
* modules/pthread-h-c++-tests (test_pthread_c___LDADD): Use
$(LIBMULTITHREAD) instead of $(LIB_PTHREAD).
ChangeLog
m4/pthread_h.m4
modules/pthread
modules/pthread-h
modules/pthread-h-c++-tests