build: Allow more control over cairo use in the clients
authorRob Bradford <rob@linux.intel.com>
Fri, 9 Aug 2013 15:52:46 +0000 (16:52 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 13 Aug 2013 05:18:34 +0000 (22:18 -0700)
commit4c1a9bc68407730983483248983f81289c4b0105
tree92337d76e4d460359371c0b734db61dbe4bd360d
parent473f248d7ef31a81d526257f1b309e549abb195c
build: Allow more control over cairo use in the clients

Previously the configure script would silently disable the use of
accelerated cairo in the clients if cairo-gl could not be found (or
cairo-glesv2 if that was requested.) Conversely the use of cairo-gl
would be automatically enabled if it was found with no way to disable
that feature

This change adds --with-cairo which takes one of "image", "gl" or
"glesv2" (defaulting to "image"). If "gl" or "glesv2" is specified
cairo-egl is checked for as well as the specified renderer. If the check
fails then the configure process errors out.
configure.ac