summaryrefslogtreecommitdiff
path: root/legacy/elementary/configure.ac
diff options
context:
space:
mode:
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>2011-11-05 17:50:09 +0000
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>2011-11-05 17:50:09 +0000
commit6d0046291002320747c4893d4722a18049287756 (patch)
tree259c37c52a24afdebd85cf7c2065b26a6208fbec /legacy/elementary/configure.ac
parent8e1d95db070727ee34269ed96e5587b2a1001859 (diff)
Elementary: Add support for the PSL1GHT engine
SVN revision: 64784
Diffstat (limited to 'legacy/elementary/configure.ac')
-rw-r--r--legacy/elementary/configure.ac24
1 files changed, 24 insertions, 0 deletions
diff --git a/legacy/elementary/configure.ac b/legacy/elementary/configure.ac
index 9c88e97..e5ad88c 100644
--- a/legacy/elementary/configure.ac
+++ b/legacy/elementary/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.])
305fi 305fi
306 306
307have_elementary_psl1ght="no"
308want_elementary_psl1ght="auto"
309AC_ARG_ENABLE([ecore-psl1ght],
310 [AC_HELP_STRING([--disable-ecore-psl1ght], [disable ecore-psl1ght support. @<:@default=detect@:>@])],
311 [want_elementary_psl1ght=$enableval], [])
312
313if 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 )
323else
324 have_elementary_psl1ght="no"
325fi
326if 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.])
328fi
329
307have_elementary_sdl="no" 330have_elementary_sdl="no"
308want_elementary_sdl="auto" 331want_elementary_sdl="auto"
309AC_ARG_ENABLE([ecore-sdl], 332AC_ARG_ENABLE([ecore-sdl],
@@ -679,6 +702,7 @@ echo
679echo " Engines:" 702echo " Engines:"
680echo " X11....................: ${have_elementary_x}" 703echo " X11....................: ${have_elementary_x}"
681echo " Framebuffer............: ${have_elementary_fb}" 704echo " Framebuffer............: ${have_elementary_fb}"
705echo " PSL1GHT................: ${have_elementary_psl1ght}"
682echo " SDL....................: ${have_elementary_sdl}" 706echo " SDL....................: ${have_elementary_sdl}"
683echo " Cocoa..................: ${have_elementary_cocoa}" 707echo " Cocoa..................: ${have_elementary_cocoa}"
684echo " Windows XP.............: ${have_elementary_win32}" 708echo " Windows XP.............: ${have_elementary_win32}"