mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
2008-04-29 Robert Bragg <bob@o-hand.com>
* clutter/configure.ac: When looking for a GLES 1 library, also try the name "GLESv1_CM". This also reduces the xfixes version requirement to v3, since we dont need support for Show/HideCursor.
This commit is contained in:
parent
122e1dafd1
commit
cc24c99df2
@ -1,3 +1,11 @@
|
||||
2008-04-29 Robert Bragg <bob@o-hand.com>
|
||||
|
||||
* clutter/configure.ac:
|
||||
When looking for a GLES 1 library, also try the name "GLESv1_CM".
|
||||
|
||||
This also reduces the xfixes version requirement to v3, since we dont
|
||||
need support for Show/HideCursor.
|
||||
|
||||
2008-04-28 Neil Roberts <neil@o-hand.com>
|
||||
|
||||
Fixed 'make dist'
|
||||
|
11
configure.ac
11
configure.ac
@ -136,7 +136,7 @@ if test x$have_x11 = xno; then
|
||||
fi
|
||||
fi
|
||||
|
||||
PKG_CHECK_MODULES(XFIXES, xfixes >= 4, [have_xfixes=yes], [have_xfixes=no])
|
||||
PKG_CHECK_MODULES(XFIXES, xfixes >= 3, [have_xfixes=yes], [have_xfixes=no])
|
||||
if test x$have_xfixes = xyes; then
|
||||
AC_DEFINE(HAVE_XFIXES, 1, [Have the XFIXES X extension])
|
||||
X11_LIBS="$X11_LIBS -lXfixes"
|
||||
@ -190,13 +190,20 @@ case $glesversion in
|
||||
# check for upper/lower case libgles_em
|
||||
# The powervr sdk uses lower case.
|
||||
AC_CHECK_LIB(GLES_CM, eglInitialize, HAVE_LIBGLES=yes, HAVE_LIBGLES=no)
|
||||
if test "x$HAVE_LIBGLES" = "xno"; then
|
||||
|
||||
AC_CHECK_LIB(GLESv1_CM, eglInitialize, HAVE_LIBGLES=yes, HAVE_LIBGLES=no)
|
||||
if test "x$HAVE_LIBGLES" = "xno"; then
|
||||
|
||||
AC_CHECK_LIB(gles_cm, eglInitialize, HAVE_LIBGLES=yes, HAVE_LIBGLES=no)
|
||||
if test "x$HAVE_LIBGLES" = "xno"; then
|
||||
AC_MSG_ERROR([GLES library not found and egl backend requested.]);
|
||||
fi
|
||||
else
|
||||
GLES_LIBS="-lgles_cm"
|
||||
fi
|
||||
else
|
||||
EGL_LIBS="GLESv1_CM"
|
||||
fi
|
||||
|
||||
else
|
||||
GLES_LIBS="-lGLES_CM"
|
||||
|
Loading…
Reference in New Issue
Block a user