Find a file
Uli Schlachter 5d660ebe87 Do not distribute extensions.c and fix out-of-tree builds
It all started with src/extensions.c being distributed. Thanks to this, tarballs
shipped with this generated file and actually building this file was skipped.
Fix this by using the nodist_ variant of the SOURCES variable.

Due to this oversight (sorry!), the out-of-tree build wasn't actually tested.
The rule that generates src/extensions.c was missing $(srcdir) in front of the
path to extensions.py. This rule is now fixed and, as suggested by Daphne
Pfister, also changed to explicitly call the python interpreter. Configure is
changed to look for it.

Finally, extensions.c couldn't include errors.h. This worked before, because the
C compiler automatically looks for headers in the same directory as the source
file. However, for out-of-tree builds, the source directory and build directory
are different. Paper over this problem by explicitly making it look in the right
directory.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=90328
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-05-06 08:16:54 +02:00
m4@f662e3a93e Add an autotools-based build system 2015-03-25 10:32:21 +01:00
src Re-add a missing length check 2015-04-06 16:18:22 +02:00
tests tests: Add some XFixes-based tests 2015-04-06 16:44:45 +02:00
.gitignore Add an autotools-based build system 2015-03-25 10:32:21 +01:00
.gitmodules Add an autotools-based build system 2015-03-25 10:32:21 +01:00
autogen.sh Add an autotools-based build system 2015-03-25 10:32:21 +01:00
configure.ac Do not distribute extensions.c and fix out-of-tree builds 2015-05-06 08:16:54 +02:00
COPYING Add COPYING file 2015-04-26 15:59:16 +02:00
KNOWN_ISSUES Update doxygen comments 2015-04-05 14:59:16 +02:00
Makefile.am Do not distribute extensions.c and fix out-of-tree builds 2015-05-06 08:16:54 +02:00
NEWS set version to 1.0 2015-04-26 16:07:45 +02:00
xcb-errors.pc.in Add xcb-proto version to xcb-errors.pc 2015-04-06 16:37:22 +02:00