[cairo-bugs] [Bug 106116] only build GL surface tests if GLX is enabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 18 07:16:15 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106116

--- Comment #1 from Michael Olbrich <m.olbrich at pengutronix.de> ---
Created attachment 138896
  --> https://bugs.freedesktop.org/attachment.cgi?id=138896&action=edit
only build GL surface tests if GLX is enabled

All GL surface tests use GLX. So with --enable-png (to enable tests in
general) and --enable-gl (for CAIRO_HAS_GL_SURFACE) building fails with:
[...]
gl-surface-source.c:33:5: error: unknown type name 'Display'
gl-surface-source.c:34:5: error: unknown type name 'GLXContext'
[...]
And similar errors for the other tests.

Fix this by making sure the GL surface tests are only built is GLX is
enabled.

Signed-off-by: Michael Olbrich <m.olbrich at pengutronix.de>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20180418/98a68b13/attachment.html>


More information about the cairo-bugs mailing list