mirror of
https://github.com/brl/mutter.git
synced 2024-11-30 03:50:47 -05:00
Fix up fruity flavour configure option.
This commit is contained in:
parent
a628a7cf5c
commit
24e1448c65
@ -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
|
||||
|
14
configure.ac
14
configure.ac
@ -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=""
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user