autoupdate
[gnulib.git] / modules / pthread
index b79af69..9b930b1 100644 (file)
@@ -6,6 +6,8 @@ lib/pthread.in.h
 m4/pthread.m4
 
 Depends-on:
+sched
+time
 
 configure.ac:
 gl_PTHREAD_CHECK
@@ -16,11 +18,14 @@ BUILT_SOURCES += $(PTHREAD_H)
 # We need the following in order to create <pthread.h> when the system
 # doesn't have one that works with the given compiler.
 pthread.h: pthread.in.h
-       ln -f pthread.in.h $@ || cp pthread.in.h $@
+       $(AM_V_GEN)ln -f pthread.in.h $@ || cp pthread.in.h $@
 MOSTLYCLEANFILES += pthread.h
 
 Include:
-#include <pthread.h>
+<pthread.h>
+
+Link:
+$(LIB_PTHREAD)
 
 License:
 LGPLv2+