This fixes a problem when building out of tree. If exsltconfig.h is
shipped in the tarball, the shipped version will be used instead of
the version generated in the build tree because the source tree
appears earlier in the include path.

Signed-off-by: Thierry Reding <[email protected]>
---
 libexslt/Makefile.am | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libexslt/Makefile.am b/libexslt/Makefile.am
index d0a7f92..d2566be 100644
--- a/libexslt/Makefile.am
+++ b/libexslt/Makefile.am
@@ -10,9 +10,11 @@ exsltincdir = $(includedir)/libexslt
 
 exsltinc_HEADERS =                      \
        exslt.h                         \
-       exsltconfig.h                   \
        exsltexports.h
 
+nodist_exsltinc_HEADERS =              \
+       exsltconfig.h
+
 libexslt_la_SOURCES =                   \
        exslt.c                         \
        common.c                        \
-- 
1.7.12

_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[email protected]
https://mail.gnome.org/mailman/listinfo/xslt

Reply via email to