diff options
author | Neil Roberts <neil@linux.intel.com> | 2012-11-22 17:07:14 +0000 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2013-01-22 17:48:05 +0000 |
commit | 5c8eebb3d9e38776642d0802074293f2fd93c5d6 (patch) | |
tree | 25abc51ec1f1e3b5ef47d5bf2ed324be03aab220 /cogl/cogl-xlib-renderer.h | |
parent | eec0f1cd6594f9403952b0738a2f684560c08442 (diff) | |
download | cogl-5c8eebb3d9e38776642d0802074293f2fd93c5d6.tar.gz |
configure: Don't allow --enable-gdk-pixbuf with --disable-glib
The GDK pixbuf support requires being able to propagate errors from
GDKPixbuf as GErrors. This won't work if we are using the builtin
version of GLib because any attempt to call g_error_free from within
Cogl will use the internal version which will free the error using the
wrong slice allocator. It probably doesn't make much sense to build
without glib but with gdk-pixbuf so there's not much point in trying
to work around this situation.
Previously if you specified --enable-gdk-pixbuf but gdk-pixbuf was not
available it would silently disable it. This pach also fixes it so
that it will report an error in that case.
If --enable-gdk-pixbuf is not specified it will now default to
enabling it only if both glib is enabled and gdk-pixbuf is available.
This patch looks slightly longer than it ought to be because it moves
the check for glib up to above the descisions about the image backend.
Reviewed-by: Robert Bragg <robert@linux.intel.com>
(cherry picked from commit 8b1eabdc08da89a57792f9eb666e893a6cbb4e26)
Diffstat (limited to 'cogl/cogl-xlib-renderer.h')
0 files changed, 0 insertions, 0 deletions