Mercurial > gnulib
changeset 33241:1f6c34fdc133
pthread: fix pthread.h creation for srcdir != builddir
* modules/pthread (Makefile.am): Fix the rule to work also in a
non-srcdir build.
author | Matthias Bolte <matthias.bolte@googlemail.com> |
---|---|
date | Sat, 14 Aug 2010 01:36:21 +0200 |
parents | 837ccd6b7cab |
children | a816520f0939 |
files | ChangeLog modules/pthread |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri Aug 13 11:50:58 2010 -0700 +++ b/ChangeLog Sat Aug 14 01:36:21 2010 +0200 @@ -1,3 +1,9 @@ +2010-08-14 Matthias Bolte <matthias.bolte@googlemail.com> + + pthread: fix pthread.h creation for srcdir != builddir + * modules/pthread (Makefile.am): Fix the rule to work also in a + non-srcdir build. + 2010-08-13 Karl Berry <karl@gnu.org> * doc/regex.texi (Predefined Syntaxes): @smallexample.
--- a/modules/pthread Fri Aug 13 11:50:58 2010 -0700 +++ b/modules/pthread Sat Aug 14 01:36:21 2010 +0200 @@ -18,7 +18,8 @@ # 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 - $(AM_V_GEN)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: