<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - only build GL surface tests if GLX is enabled"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106116#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - only build GL surface tests if GLX is enabled"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106116">bug 106116</a>
from <span class="vcard"><a class="email" href="mailto:m.olbrich@pengutronix.de" title="Michael Olbrich <m.olbrich@pengutronix.de>"> <span class="fn">Michael Olbrich</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=138896" name="attach_138896" title="only build GL surface tests if GLX is enabled">attachment 138896</a> <a href="attachment.cgi?id=138896&action=edit" title="only build GL surface tests if GLX is enabled">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=106116&attachment=138896'>[review]</a>
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 <<a href="mailto:m.olbrich@pengutronix.de">m.olbrich@pengutronix.de</a>></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>