build: Fix CLUTTER_EGL_BACKEND definition for eglnative and cex100
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 14 Oct 2010 14:33:17 +0000 (15:33 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Mon, 18 Oct 2010 15:09:31 +0000 (16:09 +0100)
CLUTTER_EGL_BACKEND is used to define a special EGL native backend to
use and was introduced for the CEX100 EGL backend. Unfortunately
CLUTTER_EGL_BACKEND was defined to "cex100" for eglnative, which is
obviously wrong.

The paches defines the right values for CLUTTER_EGL_BACKEND for the
eglnative and cex100 flavours.

configure.ac

index 665797d..bb5d2ea 100644 (file)
@@ -272,7 +272,7 @@ AS_CASE([$CLUTTER_FLAVOUR],
         [
           # the GL header is defined in the COGL checks above
           CLUTTER_STAGE_TYPE="CLUTTER_TYPE_STAGE_EGLNATIVE"
-          CLUTTER_EGL_BACKEND="cex100"
+          CLUTTER_EGL_BACKEND="generic"
 
           SUPPORT_EGL=1
           SUPPORT_EGL_PLATFORM_POWERVR_NULL=1
@@ -294,6 +294,7 @@ AS_CASE([$CLUTTER_FLAVOUR],
         [cex100],
         [
           CLUTTER_STAGE_TYPE="CLUTTER_TYPE_STAGE_EGL"
+          CLUTTER_EGL_BACKEND="cex100"
 
           SUPPORT_EGL=1
           SUPPORT_EGL_PLATFORM_POWERVR_GDL=1