]> git.draconx.ca Git - cdecl99.git/blob - lib/local/modules/dx-threadlib
Don't run configure tests for threading if disabled.
[cdecl99.git] / lib / local / modules / dx-threadlib
1 Description:
2 Conditionally pull in gnulib modules for threading support, and work around
3 issues related to conditional execution of threading tests.
4
5 Files:
6
7 Depends-on:
8 gnulib-local
9 threadlib
10 lock [test x"$glthreads_api" != x"none"]
11 tls  [test x"$glthreads_api" != x"none"]
12
13 configure.ac-early:
14 dnl AC_REQUIRE has the effect of making the macro expansion unconditional;
15 dnl we don't want this: gl_PTHREADLIB will be expanded if it is needed.
16 DX_PATCH_MACRO([gl_FUNC_MBRTOWC], [AC_REQUIRE(\[gl_PTHREADLIB\])], [dnl])dnl
17
18 configure.ac:
19 m4_set_add([DX_GNULIB_LOCAL_DIST], [modules/dx-threadlib])dnl
20
21 Makefile.am:
22
23 License:
24 WTFPL2
25
26 Maintainer:
27 Nick Bowler