Commit graph

4 commits

Author SHA1 Message Date
Alan Coopersmith
f85a73865a Add README.md
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-10-18 18:23:00 -07:00
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
Uli Schlachter
9f93cefb40 Fix test suite compilation
This didn't find xcb_errors.h for out-of-tree builds. Fix this by using
$(srcdir) correctly.

Also, the test suite makes use of libxcb and thus should link against it.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-04-04 10:37:05 +02:00
Uli Schlachter
059bfdbed8 Add an autotools-based build system
This is based on util-cursor's build system and libxcb/configure.ac for finding
xcb-proto's XML files.

Signed-off-by: Uli Schlachter <uli.schlachter@informatik.uni-oldenburg.de>
2015-03-25 10:32:21 +01:00