maint.mk: avoid unexpanded \n in two diagnostics
[pspp] / modules / pthread
index 447dea5395d3c1998566f5a13ac3ca99b205a1e0..51d5dbb9d9e8d99814c648e1a61d183e084e6d7c 100644 (file)
@@ -6,6 +6,8 @@ lib/pthread.in.h
 m4/pthread.m4
 
 Depends-on:
+sched
+time
 
 configure.ac:
 gl_PTHREAD_CHECK
@@ -16,7 +18,8 @@ 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 $(srcdir)/pthread.in.h $@ \
+          || cp $(srcdir)/pthread.in.h $@
 MOSTLYCLEANFILES += pthread.h
 
 Include: