diff options
author | Youness Alaoui <kakaroto@kakaroto.homelinux.net> | 2011-11-05 17:50:09 +0000 |
---|---|---|
committer | Youness Alaoui <kakaroto@kakaroto.homelinux.net> | 2011-11-05 17:50:09 +0000 |
commit | ea3449cd6ae2825793445cfeaa500fe2119343e5 (patch) | |
tree | 8785f336ff74b4275c4cfb4f43c8cb3668f8397e /configure.ac | |
parent | 41475a78bbaa36f45bb2e42a82981719bf7d5302 (diff) |
Elementary: Add support for the PSL1GHT engine
SVN revision: 64784
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9c88e9790..e5ad88c61 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -304,6 +304,29 @@ if test "x$want_elementary_fb" = "xyes" -a "x$have_elementary_fb" = "xno"; then | |||
304 | AC_MSG_ERROR([ecore-fb support requested, but not found by pkg-config.]) | 304 | AC_MSG_ERROR([ecore-fb support requested, but not found by pkg-config.]) |
305 | fi | 305 | fi |
306 | 306 | ||
307 | have_elementary_psl1ght="no" | ||
308 | want_elementary_psl1ght="auto" | ||
309 | AC_ARG_ENABLE([ecore-psl1ght], | ||
310 | [AC_HELP_STRING([--disable-ecore-psl1ght], [disable ecore-psl1ght support. @<:@default=detect@:>@])], | ||
311 | [want_elementary_psl1ght=$enableval], []) | ||
312 | |||
313 | if test "x$want_elementary_psl1ght" != "xno"; then | ||
314 | PKG_CHECK_MODULES([ELEMENTARY_PSL1GHT], | ||
315 | [ecore-psl1ght >= 1.0.0], | ||
316 | [ | ||
317 | AC_DEFINE(HAVE_ELEMENTARY_PSL1GHT, 1, [PSL1GHT support for Elementary]) | ||
318 | have_elementary_psl1ght="yes" | ||
319 | requirement_elm="ecore-psl1ght >= 1.0.0 ${requirement_elm}" | ||
320 | ], | ||
321 | [have_elementary_psl1ght="no"] | ||
322 | ) | ||
323 | else | ||
324 | have_elementary_psl1ght="no" | ||
325 | fi | ||
326 | if test "x$want_elementary_psl1ght" = "xyes" -a "x$have_elementary_psl1ght" = "xno"; then | ||
327 | AC_MSG_ERROR([ecore-psl1ght support requested, but not found by pkg-config.]) | ||
328 | fi | ||
329 | |||
307 | have_elementary_sdl="no" | 330 | have_elementary_sdl="no" |
308 | want_elementary_sdl="auto" | 331 | want_elementary_sdl="auto" |
309 | AC_ARG_ENABLE([ecore-sdl], | 332 | AC_ARG_ENABLE([ecore-sdl], |
@@ -679,6 +702,7 @@ echo | |||
679 | echo " Engines:" | 702 | echo " Engines:" |
680 | echo " X11....................: ${have_elementary_x}" | 703 | echo " X11....................: ${have_elementary_x}" |
681 | echo " Framebuffer............: ${have_elementary_fb}" | 704 | echo " Framebuffer............: ${have_elementary_fb}" |
705 | echo " PSL1GHT................: ${have_elementary_psl1ght}" | ||
682 | echo " SDL....................: ${have_elementary_sdl}" | 706 | echo " SDL....................: ${have_elementary_sdl}" |
683 | echo " Cocoa..................: ${have_elementary_cocoa}" | 707 | echo " Cocoa..................: ${have_elementary_cocoa}" |
684 | echo " Windows XP.............: ${have_elementary_win32}" | 708 | echo " Windows XP.............: ${have_elementary_win32}" |