XCB utility library that gives human readable names to error, event, & request codes.

  • Uli Schlachter's avatar
    Do not distribute extensions.c and fix out-of-tree builds · 5d660ebe
    Uli Schlachter authored
    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=90328Signed-off-by: Uli Schlachter's avatarUli Schlachter <psychon@znc.in>
    5d660ebe
Name
Last commit
Last update
m4 @ f662e3a9 Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
KNOWN_ISSUES Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
xcb-errors.pc.in Loading commit data...