Fix up fruity flavour configure option.

This commit is contained in:
Richard Purdie 2008-05-01 15:28:56 +00:00
parent a628a7cf5c
commit 24e1448c65
2 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2008-05-01 Richard Purdie <rpurdie@openedhand.com>
* configure.ac:
Fix up fruity flavour configure option.
2008-05-01 Øyvind Kolås <pippin@o-hand.com>
* clutter/cogl/gles/cogl-primitives.c: (_cogl_path_fill_nodes): draw

View File

@ -116,6 +116,14 @@ AC_ARG_WITH([gles],
[Select Clutter GLES version (for EGL backends)]),
glesversion=$with_gles)
if test "x$clutterbackend" = "xfruity"
then
if test "x$glesversion" != "x1.1"; then
AC_MSG_ERROR([Fruity backend only supports GL ES 1.1.]);
fi
glesversion="fruity"
fi
BACKEND_PC_FILES=""
# Check for X though could be redundant if backend does not need it.
@ -222,6 +230,8 @@ case $glesversion in
GLES_LIBS="-lGLESv2 -lEGL"
;;
fruity)
;;
*) AC_MSG_ERROR([Invalid GL ES Version '$glesversion' specified])
;;
@ -338,10 +348,6 @@ case $clutterbackend in
CLUTTER_STAGE_TYPE="CLUTTER_TYPE_STAGE_FRUITY"
AC_DEFINE([HAVE_CLUTTER_FRUITY], 1, [We're building a fruity version of the eglnative backend])
if test "x$glesversion" != "x1.1"; then
AC_MSG_ERROR([Fruity backend only supports GL ES 1.1.]);
fi
EGL_LIBS="-ObjC -framework Foundation -framework CoreFoundation -framework CoreGraphics -framework CoreSurface -framework GraphicsServices -framework OpenGLES -framework LayerKit -framework UIKit"
EGL_CFLAGS=""
;;