mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 21:34:09 +00:00
2008-05-29 Emmanuele Bassi <ebassi@openedhand.com>
* configure.ac: Check the --with switches as soon as we have them, to avoid further checks that will fail anyway.
This commit is contained in:
parent
213953620b
commit
52b231b0b5
@ -1,3 +1,8 @@
|
||||
2008-05-29 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* configure.ac: Check the --with switches as soon as we have them,
|
||||
to avoid further checks that will fail anyway.
|
||||
|
||||
2008-05-29 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* README: Update the configure arguments list.
|
||||
|
15
configure.ac
15
configure.ac
@ -103,19 +103,28 @@ dnl ========================================================================
|
||||
|
||||
backendextra=
|
||||
backendextralib=
|
||||
glesversion=1.1
|
||||
clutterbackend=glx
|
||||
AC_ARG_WITH([flavour],
|
||||
AC_HELP_STRING([--with-flavour=@<:@glx/eglx/eglnative/sdl/osx@:>@],
|
||||
AC_HELP_STRING([--with-flavour=@<:@glx/eglx/eglnative/sdl/osx/win32/fruity@:>@],
|
||||
[Select the Clutter backend]),
|
||||
clutterbackend=$with_flavour)
|
||||
|
||||
case $clutterbackend in
|
||||
glx|eglx|eglnative|sdl|osx|win32|fruity) ;;
|
||||
*) AC_MSG_ERROR([Invalid flavour $clutterbackend]) ;;
|
||||
esac
|
||||
|
||||
glesversion=1.1
|
||||
AC_ARG_WITH([gles],
|
||||
AC_HELP_STRING([--with-gles=@1.1/2.0@:>@],
|
||||
AC_HELP_STRING([--with-gles=@<:@1.1/2.0@:>@],
|
||||
[Select Clutter GLES version (for EGL backends)]),
|
||||
glesversion=$with_gles)
|
||||
|
||||
case $glesversion in
|
||||
1.1|2.0) ;;
|
||||
*) AC_MSG_ERROR([Invalid GL ES version $glesversion])
|
||||
esac
|
||||
|
||||
if test "x$clutterbackend" = "xfruity"
|
||||
then
|
||||
if test "x$glesversion" != "x1.1"; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user