Mercurial > hg > octave-lojdl > gnulib-hg
changeset 13550:3718704d121f
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 | bb0ceefd22dc |
children | 666f1b5963c2 |
files | ChangeLog modules/pthread |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -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 +++ b/modules/pthread @@ -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: