summaryrefslogtreecommitdiff
path: root/legacy/elementary/configure.ac
diff options
context:
space:
mode:
authorNicolas Aguirre <aguirre.nicolas@gmail.com>2011-11-02 19:26:29 +0000
committerNicolas Aguirre <aguirre.nicolas@gmail.com>2011-11-02 19:26:29 +0000
commitec32ba136921148ae8fe9475c6271e14dc5a95f2 (patch)
treecfe336b4bd8b240d4fb129af8238a784d7852ca5 /legacy/elementary/configure.ac
parentd689aa55b2755a247d6b4dc7714bfd00a2c32af0 (diff)
elementary: Add ecore_cocoa backend to elementary
SVN revision: 64657
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 9a46b0b..8e71657 100644
--- a/legacy/elementary/configure.ac
+++ b/legacy/elementary/configure.ac
@@ -327,6 +327,29 @@ if test "x$want_elementary_sdl" = "xyes" -a "x$have_elementary_sdl" = "xno"; the
327 AC_MSG_ERROR([ecore-sdl support requested, but not found by pkg-config.]) 327 AC_MSG_ERROR([ecore-sdl support requested, but not found by pkg-config.])
328fi 328fi
329 329
330have_elementary_cocoa="no"
331want_elementary_cocoa="auto"
332AC_ARG_ENABLE([ecore-cocoa],
333 [AC_HELP_STRING([--disable-ecore-cocoa], [disable ecore-cocoa support. @<:@default=detect@:>@])],
334 [want_elementary_cocoa=$enableval], [])
335
336if test "x$want_elementary_cocoa" != "xno"; then
337 PKG_CHECK_MODULES([ELEMENTARY_COCOA],
338 [ecore-cocoa >= 1.0.0],
339 [
340 AC_DEFINE(HAVE_ELEMENTARY_COCOA, 1, [COCOA support for Elementary])
341 have_elementary_cocoa="yes"
342 requirement_elm="ecore-cocoa >= 1.0.0 ${requirement_elm}"
343 ],
344 [have_elementary_cocoa="no"]
345 )
346else
347 have_elementary_cocoa="no"
348fi
349if test "x$want_elementary_cocoa" = "xyes" -a "x$have_elementary_cocoa" = "xno"; then
350 AC_MSG_ERROR([ecore-cocoa support requested, but not found by pkg-config.])
351fi
352
330have_elementary_win32="no" 353have_elementary_win32="no"
331want_elementary_win32="auto" 354want_elementary_win32="auto"
332AC_ARG_ENABLE([ecore-win32], 355AC_ARG_ENABLE([ecore-win32],
@@ -666,6 +689,7 @@ echo " Engines:"
666echo " X11....................: ${have_elementary_x}" 689echo " X11....................: ${have_elementary_x}"
667echo " Framebuffer............: ${have_elementary_fb}" 690echo " Framebuffer............: ${have_elementary_fb}"
668echo " SDL....................: ${have_elementary_sdl}" 691echo " SDL....................: ${have_elementary_sdl}"
692echo " Cocoa..................: ${have_elementary_cocoa}"
669echo " Windows XP.............: ${have_elementary_win32}" 693echo " Windows XP.............: ${have_elementary_win32}"
670echo " Windows CE.............: ${have_elementary_wince}" 694echo " Windows CE.............: ${have_elementary_wince}"
671echo 695echo