summaryrefslogtreecommitdiff
path: root/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
commita99871af49106f4b2027f6d02cec23e319fe6273 (patch)
treefdda53bf0a7b7014103f4c02ee90b8f587c62eb1 /configure.ac
parent4bc5d7be0b787fb3380a976230448cf4f0a7bac3 (diff)
elementary: Add ecore_cocoa backend to elementary
SVN revision: 64657
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac24
1 files changed, 24 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9a46b0b07..8e7165767 100644
--- a/configure.ac
+++ b/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