pthread: fix pthread.h creation for srcdir != builddir
[gnulib.git] / modules / pthread
1 Description:
2 Implement a trivial subset of the pthreads library.
3
4 Files:
5 lib/pthread.in.h
6 m4/pthread.m4
7
8 Depends-on:
9 sched
10 time
11
12 configure.ac:
13 gl_PTHREAD_CHECK
14
15 Makefile.am:
16 BUILT_SOURCES += $(PTHREAD_H)
17
18 # We need the following in order to create <pthread.h> when the system
19 # doesn't have one that works with the given compiler.
20 pthread.h: pthread.in.h
21         $(AM_V_GEN)ln -f $(srcdir)/pthread.in.h $@ \
22           || cp $(srcdir)/pthread.in.h $@
23 MOSTLYCLEANFILES += pthread.h
24
25 Include:
26 <pthread.h>
27
28 Link:
29 $(LIB_PTHREAD)
30
31 License:
32 LGPLv2+
33
34 Maintainer:
35 Glen Lenker and Paul Eggert