1 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3 m4_define([v_maj], [1])
4 m4_define([v_min], [1])
5 m4_define([v_mic], [99])
6 m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n' | sed 's/Unversioneddirectory/0/']))
7 m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
8 ##-- When released, remove the dnl on the below line
9 dnl m4_undefine([v_rev])
10 ##-- When doing snapshots - change soname. remove dnl on below line
11 dnl m4_define([relname], [ver-pre-svn-07])
12 dnl m4_define([v_rel], [-release relname])
13 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
14 m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])], [m4_define([v_ver], [v_maj.v_min.v_mic])])
15 m4_define([lt_cur], m4_eval(v_maj + v_min))
16 m4_define([lt_rev], v_mic)
17 m4_define([lt_age], v_min)
18 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
19 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
21 AC_INIT([ecore], [v_ver], [enlightenment-devel@lists.sourceforge.net])
23 AC_CONFIG_SRCDIR([configure.ac])
24 AC_CONFIG_MACRO_DIR([m4])
26 AC_CONFIG_HEADERS([config.h])
28 #ifndef EFL_CONFIG_H__
29 #define EFL_CONFIG_H__
32 #endif /* EFL_CONFIG_H__ */
35 AM_INIT_AUTOMAKE([1.6 dist-bzip2])
36 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
41 define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
44 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
45 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
46 m4_ifdef([v_rev], , [m4_define([v_rev], [0])])
47 m4_ifdef([v_rel], , [m4_define([v_rel], [])])
48 AC_DEFINE_UNQUOTED(VERS_MAJ, [v_maj], [Major version])
49 AC_DEFINE_UNQUOTED(VERS_MIN, [v_min], [Minor version])
50 AC_DEFINE_UNQUOTED(VERS_MIC, [v_mic], [Micro version])
51 AC_DEFINE_UNQUOTED(VERS_REV, [v_rev], [Revison])
52 version_info="lt_cur:lt_rev:lt_age"
54 AC_SUBST(version_info)
55 AC_SUBST(release_info)
56 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
57 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
61 m4_ifdef([AM_GNU_GETTEXT_VERSION], [
62 AM_GNU_GETTEXT_VERSION([0.17])
65 m4_ifdef([AM_GNU_GETTEXT], [
66 AM_GNU_GETTEXT([external])
67 po_makefile_in=po/Makefile.in
74 if test "x${POSUB}" = "x" ; then
78 AM_CONDITIONAL([HAVE_PO], [test "x${have_po}" = "xyes"])
80 with_max_log_level="<unset>"
81 AC_ARG_WITH(internal-maximum-log-level,
82 [AC_HELP_STRING([--with-internal-maximum-log-level=NUMBER],
83 [limit ecore internal log level to the given number, any call to EINA_LOG() with values greater than this will be compiled out, ignoring runtime settings, but saving function calls.])],
85 if test "x${withval}" != "xno"; then
86 if echo "${withval}" | grep -E '^[[0-9]]+$' >/dev/null 2>/dev/null; then
87 AC_MSG_NOTICE([ignoring any EINA_LOG() with level greater than ${withval}])
88 AC_DEFINE_UNQUOTED(EINA_LOG_LEVEL_MAXIMUM, ${withval}, [if set, logging is limited to this amount.])
89 with_max_log_level="${withval}"
91 AC_MSG_ERROR([--with-internal-maximum-log-level takes a decimal number, got "${withval}" instead.])
97 ### Default options with respect to host
102 # dependencies and options
104 want_local_sockets="yes"
105 want_abstract_sockets="no"
113 want_notify_win32="no"
120 want_ecore_file="yes"
121 #want_ecore_config="no"
123 want_ecore_input="yes"
125 # graphic system modules
126 want_evas_simple_x11="no"
127 want_ecore_x_xcb="no"
129 want_ecore_win32="no"
130 want_ecore_cocoa="no"
132 want_ecore_psl1ght="no"
134 want_ecore_directfb="no"
135 want_ecore_wince="no"
137 # ecore_x options (both xlib and xcb)
138 want_ecore_x_composite="yes"
139 want_ecore_x_damage="yes"
140 want_ecore_x_dpms="yes"
141 want_ecore_x_randr="yes"
142 want_ecore_x_render="yes"
143 want_ecore_x_screensaver="yes"
144 want_ecore_x_shape="yes"
145 want_ecore_x_gesture="no"
146 want_ecore_x_sync="yes"
147 want_ecore_x_xfixes="yes"
148 want_ecore_x_xinerama="yes"
149 want_ecore_x_xprint="yes"
150 want_ecore_x_xtest="yes"
151 want_ecore_x_cursor="yes"
152 want_ecore_x_input="yes"
153 want_ecore_x_dri="yes"
156 want_ecore_evas="yes"
157 want_ecore_evas_software_buffer="yes"
158 want_ecore_evas_software_x11="no"
159 want_ecore_evas_opengl_x11="no"
160 want_ecore_evas_software_16_x11="no"
161 want_ecore_evas_software_8_x11="no"
162 want_ecore_evas_software_xcb="no"
163 want_ecore_evas_software_gdi="no"
164 want_ecore_evas_software_ddraw="no"
165 want_ecore_evas_direct3d="no"
166 want_ecore_evas_opengl_glew="no"
167 want_ecore_evas_software_16_ddraw="no"
168 want_ecore_evas_software_sdl="no"
169 want_ecore_evas_gl_sdl="no"
170 want_ecore_evas_gl_cocoa="no"
171 want_ecore_evas_psl1ght="no"
172 want_ecore_evas_directfb="no"
173 want_ecore_evas_fb="no"
174 want_ecore_evas_software_16_wince="no"
175 want_ecore_evas_ews="yes"
178 want_ecore_imf_xim="no"
184 want_ecore_wince="yes"
185 want_ecore_evas_software_16_wince="yes"
188 want_notify_win32="yes"
194 want_ecore_win32="yes"
195 want_ecore_evas_software_gdi="yes"
196 want_ecore_evas_software_ddraw="yes"
197 want_ecore_evas_direct3d="yes"
198 want_ecore_evas_opengl_glew="yes"
199 want_ecore_evas_software_16_ddraw="auto"
200 want_ecore_evas_software_sdl="yes"
201 want_ecore_evas_gl_sdl="yes"
209 want_ecore_cocoa="yes"
210 want_ecore_evas_software_sdl="yes"
211 want_ecore_evas_gl_sdl="yes"
212 want_ecore_evas_gl_cocoa="yes"
217 want_abstract_sockets="yes"
227 want_ecore_evas_software_x11="yes"
228 want_ecore_evas_opengl_x11="yes"
229 want_ecore_evas_software_16_x11="yes"
230 want_ecore_evas_software_8_x11="yes"
231 want_ecore_evas_software_xcb="no"
232 want_ecore_evas_software_sdl="yes"
233 want_ecore_evas_gl_sdl="yes"
234 want_ecore_evas_gl_cocoa="no"
235 want_ecore_evas_directfb="yes"
236 want_ecore_evas_fb="yes"
237 want_ecore_imf_xim="yes"
241 case "$host_vendor" in
243 want_local_sockets="no"
246 requirements_ecore=""
247 requirements_ecore_con=""
248 #requirements_ecore_config=""
249 requirements_ecore_directfb=""
250 requirements_ecore_evas=""
251 requirements_ecore_fb=""
252 requirements_ecore_file=""
253 requirements_ecore_imf=""
254 requirements_ecore_imf_evas=""
255 requirements_ecore_input=""
256 requirements_ecore_input_evas=""
257 requirements_ecore_ipc=""
258 requirements_ecore_cocoa=""
259 requirements_ecore_sdl=""
260 requirements_ecore_psl1ght=""
261 requirements_ecore_x=""
262 requirements_ecore_win32=""
263 requirements_ecore_wince=""
264 requirements_ecore_imf_xim=""
266 AC_CHECK_DECL([MAXHOSTNAMELEN],[FOUND_MAXHOSTNAMELEN=yes])
268 if test x$FOUND_MAXHOSTNAMELEN != xyes ; then
269 AC_MSG_CHECKING([for header that defines MAXHOSTNAMELEN])
271 FOUND_MAXHOSTNAMELEN='not found'
274 AC_LANG_PROGRAM([#include <sys/param.h>],
275 [int h = MAXHOSTNAMELEN;]),
276 [FOUND_MAXHOSTNAMELEN='sys/param.h'
277 AC_DEFINE(NEED_SYS_PARAM_H,1,
278 [Define to 1 if you need <sys/param.h> to define MAXHOSTNAMELEN])])
281 AC_LANG_PROGRAM([#include <netdb.h>],
282 [int h = MAXHOSTNAMELEN;]),
283 [FOUND_MAXHOSTNAMELEN='netdb.h'
284 AC_DEFINE(NEED_NETDB_H,1,
285 [Define to 1 if you need <netdb.h> to define MAXHOSTNAMELEN])])
287 AC_MSG_RESULT([$FOUND_MAXHOSTNAMELEN])
290 ### Additional options to configure
292 want_glib_integration_always=no
293 AC_ARG_ENABLE(glib-integration-always,
294 AC_HELP_STRING([--enable-glib-integration-always], [enable glib integration when ecore_init() is called always]),
295 [want_glib_integration_always=$enableval])
297 if test "x${want_glib_integration_always}" = "xyes" ; then
298 AC_DEFINE([GLIB_INTEGRATION_ALWAYS], [1], [Always integrate glib if support compiled])
303 AC_ARG_ENABLE(g-main-loop,
304 AC_HELP_STRING([--enable-g-main-loop], [ecore_main_loop based on g_main_loop]),
305 [want_g_main_loop=$enableval])
307 if test "x${want_g_main_loop}" = "xyes" ; then
308 AC_DEFINE([USE_G_MAIN_LOOP], [1], [Use g_main_loop in ecore])
312 if test "x${want_glib_integration_always}" = "xyes" -a "x${want_g_main_loop}" = "xyes"; then
313 AC_MSG_ERROR([--enable-glib-integration-always and --enable-glib-main-loop are mutually exclusive])
316 # local sockets (ecore_con.c)
317 AC_ARG_ENABLE([local-sockets],
318 [AC_HELP_STRING([--disable-local-sockets], [disable local sockets.])],
320 if test "x${enableval}" = "xyes" ; then
321 want_ecore_con_local_sockets="yes"
323 want_ecore_con_local_sockets="no"
326 [want_ecore_con_local_sockets=${want_local_sockets}])
328 if test "x${want_ecore_con_local_sockets}" = "xyes" ; then
329 AC_DEFINE([HAVE_LOCAL_SOCKETS], [1], [Have local sockets support])
332 # abstract sockets (ecore_con.c)
333 AC_ARG_ENABLE([abstract-sockets],
334 [AC_HELP_STRING([--disable-abstract-sockets], [disable abstract sockets.])],
336 if test "x${enableval}" = "xyes" ; then
337 want_ecore_con_abstract_sockets="yes"
339 want_ecore_con_abstract_sockets="no"
342 [want_ecore_con_abstract_sockets=${want_abstract_sockets}])
344 if test "x${want_ecore_con_abstract_sockets}" = "xyes" ; then
345 AC_DEFINE([HAVE_ABSTRACT_SOCKETS], [1], [Have abstract sockets namespace])
348 # Simple X11 build/link
350 AC_ARG_ENABLE(simple-x11,
351 AC_HELP_STRING([--enable-simple-x11], [enable simple x11 linking]),
352 [want_evas_simple_x11=$enableval])
356 [AC_HELP_STRING([--disable-xim], [disable X Input Method.])],
358 if test "x${enableval}" = "xyes" ; then
366 if test "x${want_xim}" = "xyes" ; then
367 AC_DEFINE([ENABLE_XIM], [1], [Enable X Input Method])
372 EFL_CHECK_TESTS([enable_tests="yes"], [enable_tests="no"])
374 ### Checks for programs
376 m4_ifdef([AC_PROG_OBJC],
379 _AM_DEPENDENCIES(OBJC)
382 AC_CHECK_TOOL([OBJC], [gcc])
384 AC_SUBST([OBJCFLAGS])
386 m4_ifndef([am__fastdepOBJC], [
387 AM_CONDITIONAL([am__fastdepOBJC], [false])
393 have_gnu_objc=${ac_cv_objc_compiler_gnu}
395 # doxygen program for documentation building
397 EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
401 EFL_COMPILER_FLAG([-Wall])
402 EFL_COMPILER_FLAG([-W])
405 # The first call to PKG_CHECK_MODULES is done conditionally,
406 # so we should include this here:
409 # Check whether pkg-config supports Requires.private
410 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
411 pkgconfig_requires_private="Requires.private"
413 pkgconfig_requires_private="Requires"
415 AC_SUBST(pkgconfig_requires_private)
417 ### Checks for some build time option
419 AC_CHECK_FUNCS([backtrace], [have_backtrace="yes"], [])
421 want_ecore_timer_dump="no"
423 AC_ARG_ENABLE([ecore-timer-dump],
424 [AC_HELP_STRING([--disable-ecore-timer-dump], [disable tracking of timer allocation. @<:@default=enable@:>@])],
425 [want_ecore_timer_dump=$enableval], [])
427 if test "x$want_ecore_timer_dump" = "xyes" -a "x$have_backtrace" = "xyes"; then
428 AC_DEFINE(WANT_ECORE_TIMER_DUMP, [1], [Want Ecore_Timer dump infrastructure])
431 ### Checks for libraries
433 # Evil library for compilation on Windows
437 PKG_CHECK_MODULES([EVIL], [evil >= 1.0.0])
438 AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if Evil library is installed])
439 requirements_ecore="evil ${requirements_ecore}"
440 requirements_ecore_evas="evil ${requirements_ecore_evas}"
441 requirements_ecore_file="evil ${requirements_ecore_file}"
442 requirements_ecore_imf="evil ${requirements_ecore_imf}"
443 requirements_ecore_imf_evas="evil ${requirements_ecore_imf_evas}"
444 EFL_ECORE_BUILD="-DEFL_ECORE_BUILD"
445 EFL_ECORE_CON_BUILD="-DEFL_ECORE_CON_BUILD"
446 EFL_ECORE_EVAS_BUILD="-DEFL_ECORE_EVAS_BUILD"
447 EFL_ECORE_FILE_BUILD="-DEFL_ECORE_FILE_BUILD"
448 EFL_ECORE_IMF_BUILD="-DEFL_ECORE_IMF_BUILD"
449 EFL_ECORE_IMF_EVAS_BUILD="-DEFL_ECORE_IMF_EVAS_BUILD"
450 EFL_ECORE_INPUT_BUILD="-DEFL_ECORE_INPUT_BUILD"
451 EFL_ECORE_INPUT_EVAS_BUILD="-DEFL_ECORE_INPUT_EVAS_BUILD"
452 EFL_ECORE_IPC_BUILD="-DEFL_ECORE_IPC_BUILD"
460 EFL_ECORE_WINCE_BUILD="-DEFL_ECORE_WINCE_BUILD"
461 requirements_ecore_wince="evil ${requirements_ecore_wince}"
465 EFL_ECORE_WIN32_BUILD="-DEFL_ECORE_WIN32_BUILD"
466 EFL_ECORE_SDL_BUILD="-DEFL_ECORE_SDL_BUILD"
467 requirements_ecore_win32="evil ${requirements_ecore_win32}"
468 requirements_ecore_sdl="evil ${requirements_ecore_sdl}"
474 case "$host_vendor" in
477 PKG_CHECK_MODULES([ESCAPE], [escape])
478 CFLAGS="$CFLAGS $ESCAPE_CFLAGS"
479 AC_DEFINE(HAVE_ESCAPE, 1, [Set to 1 if Escape library is installed])
480 EFL_ECORE_PSL1GHT_BUILD="-DEFL_ECORE_PSL1GHT_BUILD"
481 requirements_ecore="escape ${requirements_ecore}"
482 requirements_ecore_evas="escape ${requirements_ecore_evas}"
483 requirements_ecore_file="escape ${requirements_ecore_file}"
484 requirements_ecore_imf="escape ${requirements_ecore_imf}"
485 requirements_ecore_imf_evas="escape ${requirements_ecore_imf_evas}"
486 requirements_ecore_sdl="escape ${requirements_ecore_sdl}"
487 want_ecore_psl1ght="yes"
488 want_ecore_evas_psl1ght="yes"
492 AC_SUBST(EFL_ECORE_BUILD)
493 AC_SUBST(EFL_ECORE_CON_BUILD)
494 AC_SUBST(EFL_ECORE_EVAS_BUILD)
495 AC_SUBST(EFL_ECORE_FILE_BUILD)
496 AC_SUBST(EFL_ECORE_IMF_BUILD)
497 AC_SUBST(EFL_ECORE_IMF_EVAS_BUILD)
498 AC_SUBST(EFL_ECORE_INPUT_BUILD)
499 AC_SUBST(EFL_ECORE_INPUT_EVAS_BUILD)
500 AC_SUBST(EFL_ECORE_IPC_BUILD)
501 AC_SUBST(EFL_ECORE_WINCE_BUILD)
502 AC_SUBST(EFL_ECORE_WIN32_BUILD)
503 AC_SUBST(EFL_ECORE_SDL_BUILD)
504 AC_SUBST(EFL_ECORE_PSL1GHT_BUILD)
506 AM_CONDITIONAL(ECORE_HAVE_WINCE, test "x${have_wince}" = "xyes")
507 AM_CONDITIONAL(ECORE_HAVE_WIN32, test "x${have_win32}" = "xyes")
508 AM_CONDITIONAL(ECORE_HAVE_PS3, test "x${have_ps3}" = "xyes")
517 WIN32_LIBS="-lws2_32"
521 AC_CHECK_LIB([c], [dlopen],
523 [AC_CHECK_LIB([dl], [dlopen],
526 AC_CHECK_LIB([c], [clock_gettime],
527 [AC_DEFINE(HAVE_CLOCK_GETTIME, [1], [Have clock_gettime()])],
528 [AC_CHECK_LIB([rt], [clock_gettime],
531 AC_DEFINE(HAVE_CLOCK_GETTIME, [1], [Have clock_gettime()])
537 AC_SUBST(dlopen_libs)
542 PKG_CHECK_MODULES(EINA, [eina >= 1.1.0])
543 #FIXME check all the requirements when the eina move will be finished
544 requirements_ecore="eina >= 1.1.0 ${requirements_ecore}"
545 requirements_ecore_con="ecore >= 1.1.0 eina >= 1.1.0 ${requirements_ecore_con}"
546 #requirements_ecore_config="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_config}"
547 requirements_ecore_directfb="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_directfb}"
548 requirements_ecore_evas="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_evas}"
549 requirements_ecore_fb="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_fb}"
550 requirements_ecore_file="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_file}"
551 requirements_ecore_imf="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_imf}"
552 requirements_ecore_imf_evas="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_imf_evas}"
553 requirements_ecore_input="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_input}"
554 requirements_ecore_input_evas="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_input_evas}"
555 requirements_ecore_ipc="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_ipc}"
556 requirements_ecore_cocoa="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_cocoa}"
557 requirements_ecore_sdl="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_sdl}"
558 requirements_ecore_psl1ght="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_sdl}"
559 requirements_ecore_win32="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_win32}"
560 requirements_ecore_wince="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_wince}"
561 requirements_ecore_x="ecore >= 1.1.99 eina >= 1.1.0 ${requirements_ecore_x}"
564 # glib support (main loop integration)
565 AC_ARG_ENABLE([glib],
566 [AC_HELP_STRING([--disable-glib], [disable glib support. @<:@default=detect@:>@])],
567 [want_glib=$enableval], [])
569 if test "x$want_glib" != "xno"; then
570 PKG_CHECK_MODULES([GLIB], [glib-2.0], [have_glib="yes"], [have_glib="no"])
574 if test "x$want_glib" = "xyes" -a "x$have_glib" = "xno"; then
575 AC_MSG_ERROR([GLib support requested, but no GLib found by pkg-config.])
576 elif test "x$have_glib" = "xyes"; then
577 AC_DEFINE(HAVE_GLIB, [1], [Have GLib])
578 requirements_ecore="glib-2.0 ${requirements_ecore}"
582 # SDL library (ecore_sdl)
585 PKG_CHECK_MODULES([SDL], [sdl >= 1.2.0], [have_sdl="yes"], [have_sdl="no"])
586 if test "x${have_sdl}" != "xyes" ; then
587 SDL_CONFIG="sdl-config"
588 AC_ARG_WITH([sdl-config],
589 [AC_HELP_STRING([--with-sdl-config=PATH], [use sdl-config specified])],
592 AC_MSG_NOTICE([using ${SDL_CONFIG} for sdl-config])
595 AC_PATH_PROG([SDL_CONFIG], ["sdl-config"], [""], [$PATH])
597 if test -n "$SDL_CONFIG" ; then
598 SDL_CFLAGS=`$SDL_CONFIG --cflags`
599 SDL_LIBS=`$SDL_CONFIG --libs`
606 if test "x${have_sdl}" = "xyes" ; then
607 PKG_CHECK_EXISTS([sdl >= 1.3.0],
608 [AC_DEFINE(BUILD_ECORE_EVAS_SDL_130, 1, [Support for SVN SDL])])
612 # DirectFB library (ecore_directfb)
614 PKG_CHECK_MODULES([DIRECTFB],
615 [directfb >= 0.9.16],
616 [have_directfb="yes"],
617 [have_directfb="no"])
620 # Eet library (ecore_config)
622 #PKG_CHECK_MODULES([EET],
628 # Xlib and XCB (ecore_x)
632 have_ecore_x_xlib="no"
633 have_ecore_x_xcb="no"
640 ecore_x_libs_private=""
642 AC_ARG_ENABLE(ecore-x-composite,
643 [AC_HELP_STRING([--disable-ecore-x-composite],
644 [disable the ecore_x support for Xcomposite extension.
645 @<:@default=detect@:>@])],
646 [want_ecore_x_composite=$enableval])
648 AC_ARG_ENABLE(ecore-x-damage,
649 [AC_HELP_STRING([--disable-ecore-x-damage],
650 [disable the ecore_x support for Xdamage extension.
651 @<:@default=detect@:>@])],
652 [want_ecore_x_damage=$enableval])
654 AC_ARG_ENABLE(ecore-x-dpms,
655 [AC_HELP_STRING([--disable-ecore-x-dpms],
656 [disable the ecore_x support for Xdpms extension.
657 @<:@default=detect@:>@])],
658 [want_ecore_x_dpms=$enableval])
660 AC_ARG_ENABLE(ecore-x-randr,
661 [AC_HELP_STRING([--disable-ecore-x-randr],
662 [disable the ecore_x support for Xrandr extension.
663 @<:@default=detect@:>@])],
664 [want_ecore_x_randr=$enableval])
666 AC_ARG_ENABLE(ecore-x-render,
667 [AC_HELP_STRING([--disable-ecore-x-render],
668 [disable the ecore_x support for Xrender extension.
669 @<:@default=detect@:>@])],
670 [want_ecore_x_render=$enableval])
672 AC_ARG_ENABLE(ecore-x-screensaver,
673 [AC_HELP_STRING([--disable-ecore-x-screensaver],
674 [disable the ecore_x support for Xscreensaver extension.
675 @<:@default=detect@:>@])],
676 [want_ecore_x_screensaver=$enableval])
678 AC_ARG_ENABLE(ecore-x-shape,
679 [AC_HELP_STRING([--disable-ecore-x-shape],
680 [disable the ecore_x support for Xshape extension.
681 @<:@default=detect@:>@])],
682 [want_ecore_x_shape=$enableval])
684 AC_ARG_ENABLE(ecore-x-gesture,
685 [AC_HELP_STRING([--enable-ecore-x-gesture],
686 [enable the ecore_x support for Xgesture extension.
687 @<:@default=detect@:>@])],
688 [want_ecore_x_gesture=$enableval])
690 AC_ARG_ENABLE(ecore-x-sync,
691 [AC_HELP_STRING([--disable-ecore-x-sync],
692 [disable the ecore_x support for Xsync extension.
693 @<:@default=detect@:>@])],
694 [want_ecore_x_sync=$enableval])
696 AC_ARG_ENABLE(ecore-x-xfixes,
697 [AC_HELP_STRING([--disable-ecore-x-xfixes],
698 [disable the ecore_x support for Xfixes extension.
699 @<:@default=detect@:>@])],
700 [want_ecore_x_xfixes=$enableval])
702 AC_ARG_ENABLE(ecore-x-xinerama,
703 [AC_HELP_STRING([--disable-ecore-x-xinerama],
704 [disable the ecore_x support for Xinerama extension.
705 @<:@default=detect@:>@])],
706 [want_ecore_x_xinerama=$enableval])
708 AC_ARG_ENABLE(ecore-x-xprint,
709 [AC_HELP_STRING([--disable-ecore-x-xprint],
710 [disable the ecore_x support for Xprint extension.
711 @<:@default=detect@:>@])],
712 [want_ecore_x_xprint=$enableval])
714 AC_ARG_ENABLE(ecore-x-xtest,
715 [AC_HELP_STRING([--disable-ecore-x-xtest],
716 [disable the ecore_x support for Xtest extension.
717 @<:@default=detect@:>@])],
718 [want_ecore_x_xtest=$enableval])
720 AC_ARG_ENABLE(ecore-x-cursor,
721 [AC_HELP_STRING([--disable-ecore-x-cursor],
722 [disable the ecore_x support for Xcursor extension.
723 @<:@default=detect@:>@])],
724 [want_ecore_x_cursor=$enableval])
726 AC_ARG_ENABLE(ecore-x-input,
727 [AC_HELP_STRING([--disable-ecore-x-input],
728 [disable the ecore_x support for Xinput/Xinput2 extension.
729 @<:@default=detect@:>@])],
730 [want_ecore_x_input=$enableval])
732 AC_ARG_ENABLE(ecore-x-dri,
733 [AC_HELP_STRING([--disable-ecore-x-dri],
734 [disable the ecore_x support for DRI extension.
735 @<:@default=detect@:>@])],
736 [want_ecore_x_dri=$enableval])
738 AC_ARG_ENABLE(ecore-x-xcb,
739 [AC_HELP_STRING([--enable-ecore-x-xcb],
740 [enable the ecore_x module with XCB backend. @<:@default=disabled@:>@])],
741 [want_ecore_x_xcb=$enableval])
743 AC_MSG_CHECKING(whether ecore_x with XCB backend is to be built)
744 AC_MSG_RESULT($want_ecore_x_xcb)
746 if test "x$want_ecore_x_xcb" = "xyes" ; then
748 AC_MSG_CHECKING([keysym definitions])
749 KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11
750 FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
752 if test -f "$KEYSYMDEFDIR/$i"; then
753 KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
754 elif test "x$i" = "xkeysymdef.h"; then
755 AC_MSG_ERROR([Cannot find keysymdef.h])
758 AC_MSG_RESULT([$KEYSYMDEFS])
762 AC_ARG_WITH([iconv-link],
763 AC_HELP_STRING([--with-iconv-link=ICONV_LINK], [explicitly specify an iconv link option]),
765 LIBS="$withval $LIBS"
769 AC_MSG_CHECKING(for explicit iconv link options)
770 if test "x${iconv_libs}" = "x" ; then
771 AC_MSG_RESULT([no explicit iconv link option])
773 AC_MSG_RESULT([$iconv_libs])
776 if test "x${have_iconv}" = "xno" ; then
777 AC_CHECK_HEADERS([iconv.h], [have_iconv="yes"])
779 if test "x${have_iconv}" = "xyes" ; then
780 AC_MSG_CHECKING([whether iconv() is in libc])
790 size_t count = iconv(ic, NULL, NULL, NULL, NULL);
795 AC_MSG_RESULT([${have_iconv}])
798 if test "x${have_iconv}" = "xno" ; then
799 AC_MSG_CHECKING([whether iconv() is in libiconv.a])
812 count = iconv(ic, NULL, NULL, NULL, NULL);
820 AC_MSG_RESULT([${have_iconv}])
823 if test "x${have_iconv}" = "xno" ; then
824 AC_MSG_CHECKING([whether iconv() is in libiconv_plug.a])
827 LIBS="-liconv_plug $LIBS"
836 size_t count = iconv(ic, NULL, NULL, NULL, NULL);
844 AC_MSG_RESULT([${have_iconv}])
847 if test "x${have_iconv}" = "xyes" ; then
848 AC_DEFINE([HAVE_ICONV], [1], [Set to 1 if iconv library is installed])
852 PKG_CHECK_MODULES(ECORE_XCB, x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8,
853 [ have_ecore_x_xcb="yes"
854 requirements_ecore_x="x11-xcb xcb xcb-shm xcb-event xcb-icccm xcb-util xcb-image xcb-keysyms ${requirements_ecore_x}"
857 PKG_CHECK_MODULES(ECORE_XCB, x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms,
858 [ have_ecore_x_xcb="yes"
859 AC_DEFINE(OLD_XCB_VERSION, 1, [xcb version])
860 requirements_ecore_x="x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms ${requirements_ecore_x}" ],
861 [ have_ecore_x_xcb="no" ])
863 [have_ecore_x_xcb="no" ])
865 if test "x$have_ecore_x_xcb" = "xyes" ; then
867 PKG_CHECK_MODULES([PIXMAN],
871 AC_DEFINE(HAVE_PIXMAN, 1, [have pixman for rendering])
872 requirements_ecore_x="pixman-1 ${requirements_ecore_x}"
875 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
876 AC_MSG_ERROR([Pixman not found (strict dependencies checking)])
880 if test "x$want_ecore_x_composite" != "xno"; then
881 PKG_CHECK_MODULES(XCB_COMPOSITE, xcb-composite,
882 [ have_ecore_x_xcb_composite="yes"
883 requirements_ecore_x="xcb-composite ${requirements_ecore_x}"
884 AC_DEFINE(ECORE_XCB_COMPOSITE, 1, [Build support for XCB composite]) ],
885 [ have_ecore_x_xcb_composite="no" ])
887 have_ecore_x_xcb_composite="no"
888 AC_MSG_NOTICE("composite extension explicitly disabled")
891 if test "x$want_ecore_x_damage" != "xno"; then
892 PKG_CHECK_MODULES(XCB_DAMAGE, xcb-damage,
893 [ have_ecore_x_xcb_damage="yes"
894 requirements_ecore_x="xcb-damage ${requirements_ecore_x}"
895 AC_DEFINE(ECORE_XCB_DAMAGE, 1, [Build support for XCB damage]) ],
896 [ have_ecore_x_xcb_damage="no" ])
898 have_ecore_x_xcb_damage="no"
899 AC_MSG_NOTICE("damage extension explicitly disabled")
902 if test "x$want_ecore_x_dpms" != "xno"; then
903 PKG_CHECK_MODULES(XCB_DPMS, xcb-dpms,
904 [ have_ecore_x_xcb_dpms="yes"
905 requirements_ecore_x="xcb-dpms ${requirements_ecore_x}"
906 AC_DEFINE(ECORE_XCB_DPMS, 1, [Build support for XCB dpms]) ],
907 [ have_ecore_x_xcb_dpms="no" ])
909 have_ecore_x_xcb_dpms="no"
910 AC_MSG_NOTICE("dpms extension explicitly disabled")
913 if test "x$want_ecore_x_randr" != "xno"; then
914 PKG_CHECK_MODULES(XCB_RANDR, xcb-randr,
915 [ have_ecore_x_xcb_randr="yes"
916 requirements_ecore_x="xcb-randr ${requirements_ecore_x}"
917 AC_DEFINE(ECORE_XCB_RANDR, 1, [Build support for XCB randr]) ],
918 [ have_ecore_x_xcb_randr="no" ])
920 have_ecore_x_xcb_randr="no"
921 AC_MSG_NOTICE("randr extension explicitly disabled")
924 if test "x$want_ecore_x_render" != "xno"; then
925 PKG_CHECK_MODULES(XCB_RENDER, xcb-render xcb-renderutil,
926 [ have_ecore_x_xcb_render="yes"
927 requirements_ecore_x="xcb-render xcb-renderutil ${requirements_ecore_x}"
928 AC_DEFINE(ECORE_XCB_RENDER, 1, [Build support for XCB render]) ],
929 [ have_ecore_x_xcb_render="no" ])
931 have_ecore_x_xcb_render="no"
932 AC_MSG_NOTICE("render extension explicitly disabled")
935 if test "x$want_ecore_x_screensaver" != "xno"; then
936 PKG_CHECK_MODULES(XCB_SCREENSAVER, xcb-screensaver,
937 [ have_ecore_x_xcb_screensaver="yes"
938 requirements_ecore_x="xcb-screensaver ${requirements_ecore_x}"
939 AC_DEFINE(ECORE_XCB_SCREENSAVER, 1, [Build support for XCB screensaver]) ],
940 [ have_ecore_x_xcb_screensaver="no" ])
942 have_ecore_x_xcb_screensaver="no"
943 AC_MSG_NOTICE("screensaver extension explicitly disabled")
946 if test "x$want_ecore_x_shape" != "xno"; then
947 PKG_CHECK_MODULES(XCB_SHAPE, xcb-shape,
948 [ have_ecore_x_xcb_shape="yes"
949 requirements_ecore_x="xcb-shape ${requirements_ecore_x}"
950 AC_DEFINE(ECORE_XCB_SHAPE, 1, [Build support for XCB shape]) ],
951 [ have_ecore_x_xcb_shape="no" ])
953 have_ecore_x_xcb_shape="no"
954 AC_MSG_NOTICE("shape extension explicitly disabled")
957 if test "x$want_ecore_x_gesture" != "xno"; then
958 PKG_CHECK_MODULES(XCB_XGESTURE, xcb-gesture,
959 [ have_ecore_x_xcb_gesture="yes"
960 requirements_ecore_x="xcb-gesture ${requirements_ecore_x}"
961 AC_DEFINE(ECORE_XCB_XGESTURE, 1, [Build support for XCB gesture]) ],
962 [ have_ecore_x_xcb_gesture="no" ])
964 have_ecore_x_xcb_gesture="no"
965 AC_MSG_NOTICE("gesture extension explicitly disabled")
968 if test "x$want_ecore_x_sync" != "xno"; then
969 PKG_CHECK_MODULES(XCB_SYNC, xcb-sync,
970 [ have_ecore_x_xcb_sync="yes"
971 requirements_ecore_x="xcb-sync ${requirements_ecore_x}"
972 AC_DEFINE(ECORE_XCB_SYNC, 1, [Build support for XCB sync]) ],
973 [ have_ecore_x_xcb_sync="no" ])
975 have_ecore_x_xcb_sync="no"
976 AC_MSG_NOTICE("sync extension explicitly disabled")
979 if test "x$want_ecore_x_xfixes" != "xno"; then
980 PKG_CHECK_MODULES(XCB_XFIXES, xcb-xfixes,
981 [ have_ecore_x_xcb_xfixes="yes"
982 requirements_ecore_x="xcb-xfixes ${requirements_ecore_x}"
983 AC_DEFINE(ECORE_XCB_XFIXES, 1, [Build support for XCB xfixes]) ],
984 [ have_ecore_x_xcb_xfixes="no" ])
986 have_ecore_x_xcb_xfixes="no"
987 AC_MSG_NOTICE("xfixes extension explicitly disabled")
990 if test "x$want_ecore_x_xinerama" != "xno"; then
991 PKG_CHECK_MODULES(XCB_XINERAMA, xcb-xinerama,
992 [ have_ecore_x_xcb_xinerama="yes"
993 requirements_ecore_x="xcb-xinerama ${requirements_ecore_x}"
994 AC_DEFINE(ECORE_XCB_XINERAMA, 1, [Build support for XCB xinerama]) ],
995 [ have_ecore_x_xcb_xinerama="no" ])
997 have_ecore_x_xcb_xinerama="no"
998 AC_MSG_NOTICE("xinerama extension explicitly disabled")
1001 if test "x$want_ecore_x_xprint" != "xno"; then
1002 PKG_CHECK_MODULES(XCB_XPRINT, xcb-xprint,
1003 [ have_ecore_x_xcb_xprint="yes"
1004 requirements_ecore_x="xcb-xprint ${requirements_ecore_x}"
1005 AC_DEFINE(ECORE_XCB_XPRINT, 1, [Build support for XCB xprint]) ],
1006 [ have_ecore_x_xcb_xprint="no" ])
1008 have_ecore_x_xcb_xprint="no"
1009 AC_MSG_NOTICE("xprint extension explicitly disabled")
1012 if test "x$want_ecore_x_xtest" != "xno"; then
1013 PKG_CHECK_MODULES(XCB_XTEST, xcb-xtest,
1014 [ have_ecore_x_xcb_xtest="yes"
1015 requirements_ecore_x="xcb-xtest ${requirements_ecore_x}"
1016 AC_DEFINE(ECORE_XCB_XTEST, 1, [Build support for XCB xtest]) ],
1017 [ have_ecore_x_xcb_xtest="no" ])
1019 have_ecore_x_xcb_xtest="no"
1020 AC_MSG_NOTICE("xtest extension explicitly disabled")
1023 # input extension disabled currently in xcb as xcb-input has some issues
1024 want_ecore_x_input="no"
1025 if test "x$want_ecore_x_input" != "xno"; then
1026 PKG_CHECK_MODULES(XCB_XINPUT, xcb-xinput,
1027 [ have_ecore_x_xcb_xinput="yes"
1028 requirements_ecore_x="xcb-xinput ${requirements_ecore_x}"
1029 AC_DEFINE(ECORE_XCB_XINPUT, 1, [Build support for XCB xinput]) ],
1030 [ have_ecore_x_xcb_xinput="no" ])
1032 have_ecore_x_xcb_xinput="no"
1033 AC_MSG_NOTICE("xinput extension explicitly disabled")
1036 if test "x$want_ecore_x_cursor" != "xno"; then
1037 PKG_CHECK_MODULES(XCB_CURSOR, xcb-render xcb-renderutil,
1038 [ have_ecore_x_xcb_cursor="yes"
1039 requirements_ecore_x="xcb-render xcb-renderutil ${requirements_ecore_x}"
1040 AC_DEFINE(ECORE_XCB_CURSOR, 1, [Build support for XCB cursor]) ],
1041 [ have_ecore_x_xcb_cursor="no" ])
1043 have_ecore_x_xcb_cursor="no"
1044 AC_MSG_NOTICE("cursor extension explicitly disabled")
1047 # if test "x$want_ecore_x_dri" != "xno"; then
1048 # PKG_CHECK_MODULES(XCB_DRI, xcb-dri2,
1049 # [ have_ecore_x_xcb_dri="yes"
1050 # requirements_ecore_x="xcb-dri2 ${requirements_ecore_x}"
1051 # AC_DEFINE(ECORE_XCB_DRI, 1, [Build support for XCB dri/dri2]) ],
1052 # [ have_ecore_x_xcb_dri="no" ])
1054 # have_ecore_x_xcb_dri="no"
1055 # AC_MSG_NOTICE("dri extension explicitly disabled")
1058 AC_DEFINE(HAVE_ECORE_X_XCB, 1, [Defined to 1 if XCB is enabled.])
1060 x_cflags=$ECORE_XCB_CFLAGS
1061 x_libs=$ECORE_XCB_LIBS
1064 have_ecore_x_xcb_define="-DHAVE_ECORE_X_XCB"
1065 AC_SUBST(have_ecore_x_xcb_define)
1069 if ! test "x$have_ecore_x_xcb" = "xyes" ; then
1071 AC_CHECK_HEADER(X11/X.h,
1073 if test "x$want_evas_simple_x11" = "xyes"; then
1074 x_libs="${x_libs} -lX11 -lXext"
1076 x_dir=${x_dir:-/usr/X11R6}
1077 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
1078 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
1080 have_ecore_x_xlib="yes"
1084 if test "x$have_ecore_x_xlib" = "xyes"; then
1089 CFLAGS="$x_cflags $x_includes"
1091 if test "x$want_ecore_x_cursor" = "xyes"; then
1092 AC_CHECK_HEADER(X11/Xcursor/Xcursor.h,
1094 AC_CHECK_LIB(Xcursor, XcursorImageLoadCursor,
1096 AC_DEFINE(ECORE_XCURSOR, 1, [Build support for Xcursor])
1098 Xcursor_libs="-lXcursor"
1113 #include <X11/Xlib.h>
1121 AC_MSG_NOTICE("Xcursor explicitly disabled")
1124 AC_SUBST(Xcursor_cflags)
1125 AC_SUBST(Xcursor_libs)
1127 ECORE_CHECK_X_EXTENSION([Xkb], [XKB.h], [X11], [XkbSetDetectableAutoRepeat], [$want_ecore_x_xkb])
1128 ECORE_CHECK_X_EXTENSION([Xcomposite], [Xcomposite.h], [Xcomposite], [XCompositeQueryExtension], [$want_ecore_x_composite])
1129 ECORE_CHECK_X_EXTENSION([Xdamage], [Xdamage.h], [Xdamage], [XDamageSubtract], [$want_ecore_x_damage])
1130 ECORE_CHECK_X_EXTENSION([Xdpms], [dpms.h], [Xdpms], [DPMSQueryExtension], [$want_ecore_x_dpms])
1131 if test "x$use_xdpms" = "xno" ; then
1132 ECORE_CHECK_X_EXTENSION([Xdpms], [dpms.h], [Xext], [DPMSQueryExtension], [$want_ecore_x_dpms])
1134 ECORE_CHECK_X_EXTENSION([Xfixes], [Xfixes.h], [Xfixes], [XFixesExpandRegion], [$want_ecore_x_xfixes])
1135 ECORE_CHECK_X_EXTENSION([Xinerama], [Xinerama.h], [Xinerama], [XineramaQueryScreens], [$want_ecore_x_xinerama])
1136 ECORE_CHECK_X_EXTENSION([Xprint], [Print.h], [Xp], [XpQueryScreens], [$want_ecore_x_xprint])
1137 ECORE_CHECK_X_EXTENSION([Xrandr], [Xrandr.h], [Xrandr], [XRRGetScreenResourcesCurrent], [$want_ecore_x_randr])
1138 ECORE_CHECK_X_EXTENSION([Xgesture], [gesture.h], [Xgesture], [XGestureQueryExtension], [$want_ecore_x_gesture])
1139 ECORE_CHECK_X_EXTENSION([Xrender], [Xrender.h], [Xrender], [XRenderFindVisualFormat], [$want_ecore_x_render])
1140 ECORE_CHECK_X_EXTENSION([Xtest], [XTest.h], [Xtst], [XTestFakeKeyEvent], [$want_ecore_x_xtest])
1141 ECORE_CHECK_X_EXTENSION([Xss], [scrnsaver.h], [Xss], [XScreenSaverSelectInput], [$want_ecore_x_screensaver])
1142 ECORE_CHECK_X_EXTENSION([Xi2], [XInput2.h], [Xi], [XIQueryDevice], [$want_ecore_x_input])
1144 ecore_x_libs_private="${Xcursor_libs} ${XKB_LIBS} ${XCOMPOSITE_LIBS} ${XGESTURE_LIBS} ${XDAMAGE_LIBS} ${XDPMS_LIBS} ${XFIXES_LIBS} ${XINERAMA_LIBS} ${XPRINT_LIBS} ${XRANDR_LIBS} ${XRENDER_LIBS} ${XTEST_LIBS} ${XSS_LIBS} ${XI2_LIBS}"
1146 AC_DEFINE(HAVE_ECORE_X_XLIB, 1, [Defined to 1 if Xlib is enabled.])
1149 have_ecore_x_xlib="yes"
1154 AC_SUBST(x_includes)
1156 AC_SUBST(ecore_x_libs_private)
1158 AM_CONDITIONAL(BUILD_ECORE_X_XLIB, test $have_ecore_x_xlib = yes)
1159 AM_CONDITIONAL(BUILD_ECORE_X_XCB, test $have_ecore_x_xcb = yes)
1162 # Evas library (ecore_config, ecore_input_evas, ecore_imf_evas and ecore_evas)
1164 PKG_CHECK_MODULES([EVAS], [evas >= 1.1.99],
1169 ### Checks for header files
1171 AC_CHECK_HEADERS([sys/select.h sys/prctl.h])
1181 AC_DEFINE(HAVE_DLFCN_H, 1, [Define to 1 if you have the <dlfcn.h> header file.])
1182 AC_DEFINE(HAVE_SYS_MMAN_H, 1, [Define to 1 if you have the <sys/mman.h> header file.])
1183 AC_DEFINE(HAVE_SYS_TIME_H, 1, [Define to 1 if you have the <sys/time.h> header file.])
1187 AC_CHECK_HEADERS([dlfcn.h features.h langinfo.h locale.h sys/time.h sys/mman.h signal.h sys/resource.h])
1193 AC_CHECK_HEADERS([arpa/inet.h arpa/nameser.h netinet/tcp.h net/if.h netinet/in.h sys/socket.h sys/un.h ws2tcpip.h netdb.h])
1195 if test "x${ac_cv_header_netdb_h}" = "xyes" ; then
1199 # Framebuffer (ecore_fb)
1201 AC_CHECK_HEADER([linux/fb.h],
1202 [AC_CHECK_HEADER([linux/input.h], [have_fb="yes"])])
1204 # Cocoa header files (ecore_cocoa)
1206 if test "x${want_ecore_cocoa}" = "xyes" ; then
1209 m4_ifdef([AC_PROG_OBJC],
1211 if test "x${have_gnu_objc}" = "xyes" ; then
1212 AC_LANG_PUSH([Objective C])
1214 LIBS="$LIBS -framework Cocoa"
1218 #include <Cocoa/Cocoa.h>
1222 window = [[NSWindow alloc]
1223 initWithContentRect:NSMakeRect(0, 0, 1, 1)
1224 styleMask:(NSTitledWindowMask)
1225 backing:NSBackingStoreBuffered
1232 cocoa_ldflags="-framework Cocoa"
1236 AC_MSG_CHECKING([whether Cocoa framework is supported])
1237 AC_MSG_RESULT([${have_cocoa}])
1238 AC_LANG_POP([Objective C])
1242 AC_SUBST(cocoa_ldflags)
1245 AC_ARG_ENABLE(epoll,
1246 AC_HELP_STRING([--enable-epoll], [enable or disable epoll support]),
1247 [want_epoll=$enableval])
1249 if test "x${want_epoll}" = "xyes" ; then
1250 # check for epoll support
1251 AC_CHECK_HEADERS([sys/epoll.h])
1255 AC_CHECK_HEADERS([sys/timerfd.h])
1256 AC_CHECK_FUNCS(timerfd_create)
1262 if test "x${_efl_have_posix_threads}" = "xyes" ; then
1263 have_threads="POSIX"
1265 if test "x${_efl_have_win32_threads}" = "xyes" ; then
1266 have_threads="Win32"
1272 [have_threads="no"])
1274 ### enable thread safety if we have threads, unless specifically asked not to
1275 if test "x${have_threads}" = "xno"
1277 want_thread_safety="no"
1279 want_thread_safety="no" # to be changed to yes when ready
1280 AC_ARG_ENABLE(thread-safety,
1281 AC_HELP_STRING([--enable-thread-safety], [enable or disable thread safety]),
1282 [want_thread_safety=$enableval])
1285 if test "x${want_thread_safety}" = "xyes"
1287 AC_DEFINE([HAVE_THREAD_SAFETY], [1], [Define to enable thread safety])
1290 ### Checks for types
1291 AC_CHECK_SIZEOF(int, 4)
1292 AC_CHECK_SIZEOF(long, 4)
1295 ### Checks for structures
1298 ### Checks for compiler characteristics
1309 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
1312 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
1313 WIN32_CFLAGS="-mwin32"
1316 WIN32_CPPFLAGS="-D_WIN32_WINNT=0x0501"
1319 AC_SUBST(WIN32_CPPFLAGS)
1320 AC_SUBST(WIN32_CFLAGS)
1323 ### Checks for linker characteristics
1325 # use --enable-auto-import on Windows
1327 lt_enable_auto_import=""
1330 lt_enable_auto_import="-Wl,--enable-auto-import"
1333 AC_SUBST(lt_enable_auto_import)
1335 ### Checks for library functions
1338 AC_CHECK_FUNCS([gettimeofday strlcpy execvp])
1346 int i = isfinite(0);
1349 AC_DEFINE(HAVE_ISFINITE, 1, [Define to 1 if you have `isfinite', as a function or macro.])
1352 [have_isfinite="no"])
1354 AC_MSG_CHECKING([for isfinite])
1355 AC_MSG_RESULT([${have_isfinite}])
1357 have_atfile_source=auto
1358 AC_ARG_ENABLE([atfile-source],
1359 [AC_HELP_STRING([--disable-atfile-source],
1360 [disable use of atfile source functions as openat and mkdirat @<:@default=detect@:>@])],
1362 if test "x${enableval}" = "xyes" ; then
1363 have_atfile_source="yes"
1365 have_atfile_source="no"
1367 [have_atfile_source=auto])
1369 if ! test "x${have_atfile_source}" = "xno" ; then
1370 AC_CHECK_FUNCS(mkdirat,
1372 have_atfile_source="yes"
1373 AC_DEFINE(HAVE_ATFILE_SOURCE, 1, [mkdirat exists])
1376 if test "x${have_atfile_source}" = "xyes" ; then
1377 AC_MSG_ERROR([required atfile-source but no mkdirat()])
1379 have_atfile_source="no"
1383 ### Checks for optionnal feature
1384 AC_CHECK_FUNC([mallinfo],
1387 AC_DEFINE(HAVE_MALLINFO, 1, [Gather memory statistic])
1389 [have_mallinfo="no"])
1396 ECORE_CHECK_MODULE([con], [${want_ecore_con}], [Con], [${have_addrinfo}])
1405 AC_ARG_ENABLE([ipv6],
1406 [AC_HELP_STRING([--disable-ipv6],
1407 [disable ipv6 functionality @<:@default=detect@:>@])],
1409 if test "x${enableval}" = "xyes" ; then
1416 if test "x${have_ecore_con}" = "xyes" ; then
1418 # Verify IPV6 availability in headers
1419 if test "x${want_ipv6}" != "xno" ; then
1420 AC_CHECK_TYPES([struct ipv6_mreq],
1424 #ifdef HAVE_NETINET_IN_H
1425 # include <netinet/in.h>
1427 #ifdef HAVE_WS2TCPIP_H
1428 # include <ws2tcpip.h>
1433 if test "x${have_ipv6}" = "xyes" ; then
1434 AC_DEFINE(HAVE_IPV6, 1, [Define if IPV6 is supported])
1437 ECORE_CHECK_CURL([${want_curl}],
1440 requirements_ecore_con="libcurl ${requirements_ecore_con}"
1444 ECORE_CHECK_GNUTLS([${want_gnutls}],
1445 [have_gnutls="yes"],
1448 ECORE_CHECK_OPENSSL([${want_openssl}],
1449 [have_openssl="yes"],
1450 [have_openssl="no"])
1452 if test "x${have_gnutls}" = "xyes" ; then
1453 requirements_ecore_con="gnutls ${requirements_ecore_con}"
1454 # no need to add it to req_ecore_ipc, since they
1455 # depends on ecore_con anyway.
1457 if test "x${have_openssl}" = "xyes" ; then
1458 requirements_ecore_con="openssl ${requirements_ecore_con}"
1459 # no need to add it to req_ecore_ipc, since they
1460 # depends on ecore_con anyway.
1464 ECORE_CHECK_CARES([${want_cares}],
1467 requirements_ecore_con="libcares ${requirements_ecore_con}"
1473 AM_CONDITIONAL([HAVE_CARES], [test "x${have_cares}" = "xyes"])
1476 ECORE_CHECK_MODULE([ipc], [${want_ecore_ipc}], [Ipc], [${have_ecore_con}],
1478 requirements_ecore_ipc="ecore-con >= 1.1.99 ${requirements_ecore_ipc}"
1479 requirements_ecore_evas="ecore-ipc >= 1.1.99 ${requirements_ecore_evas}"
1483 ECORE_CHECK_MODULE([file], [${want_ecore_file}], [File])
1487 have_notify_win32="no"
1488 if test "x${have_ecore_file}" = "xyes" ; then
1489 ECORE_CHECK_POLL([${want_poll}], [have_poll="yes"], [have_poll="no"])
1490 ECORE_CHECK_INOTIFY([${want_inotify}], [have_inotify="yes"], [have_inotify="no"])
1491 ECORE_CHECK_NOTIFY_WIN32([${want_notify_win32}], [have_notify_win32="yes"], [have_notify_win32="no"])
1493 if test "x${have_ecore_con}" = "xyes" ; then
1494 requirements_ecore_file="ecore-con >= 1.1.99 ${requirements_ecore_file}"
1496 ECORE_CHECK_CURL([${want_curl}],
1499 requirements_ecore_file="libcurl ${requirements_ecore_file}"
1507 #ecore_config_deps="no"
1508 #if test "x${have_eet}" = "xyes" -a "x${have_evas}" -a "x${have_ecore_ipc}" ; then
1509 # ecore_config_deps="yes"
1512 #ECORE_CHECK_MODULE([config], [${want_ecore_config}], [Config], [${ecore_config_deps}],
1513 # [requirements_ecore_config="ecore-ipc >= 1.1.99 evas >= 1.1.99 eet >= 1.5.0 ${requirements_ecore_config}"])
1515 AM_CONDITIONAL(BUILD_ECORE_CONFIG, false)
1519 ECORE_CHECK_MODULE([imf], [${want_ecore_imf}], [Imf])
1523 ecore_imf_evas_deps="no"
1524 if test "x${have_ecore_imf}" = "xyes" -a "x${have_evas}" = "xyes" ; then
1525 ecore_imf_evas_deps="yes"
1528 ECORE_CHECK_MODULE([imf-evas], [${want_ecore_imf}], [Imf_Evas], [${ecore_imf_evas_deps}],
1529 [requirements_ecore_imf_evas="ecore-imf >= 1.1.99 evas >= 1.1.99 ${requirements_ecore_imf_evas}"])
1531 # ecore_input{_evas}
1532 ECORE_CHECK_MODULE([input], [${want_ecore_input}], [Input])
1533 ECORE_CHECK_MODULE([input-evas], [${want_ecore_input}], [Input_Evas], [${have_evas}],
1534 [requirements_ecore_input_evas="ecore-input >= 1.1.99 evas >= 1.1.99 ${requirements_ecore_input}"])
1537 AM_CONDITIONAL(BUILD_ECORE_IMF_XIM, false)
1538 ecore_imf_xim_deps="no"
1539 echo "have_ecore_x_xlib: ${have_ecore_x_xlib}"
1540 if test "x${have_ecore_imf}" = "xyes" \
1541 -a "x${have_ecore_x_xlib}" = "xyes" \
1542 -a "x${have_ecore_input}" = "xyes" ; then
1543 ecore_imf_xim_deps="yes"
1544 AC_DEFINE(BUILD_ECORE_IMF_XIM, 1, [Ecore Imf XIM Support])
1547 ECORE_CHECK_MODULE([imf-xim], [${want_ecore_imf}], [Imf_XIM], [${ecore_imf_xim_deps}],
1548 [requirements_ecore_imf_xim="ecore-imf >= 1.1.99 ecore-x >= 1.1.99 ecore-input >= 1.1.99 ${requirements_ecore_imf_xim}"])
1555 if test "x${have_x}" = "xyes" -a \
1556 "x${have_ecore_input}" = "xyes" ; then
1560 ECORE_CHECK_MODULE([x], [${want_ecore_x}], [X], [${ecore_x_deps}],
1562 ecore_x_libs="$ecore_x_libs $x_libs"
1563 requirements_ecore_x="ecore-input >= 1.1.99 ${requirements_ecore_x}"
1568 ECORE_CHECK_MODULE([win32], [${want_ecore_win32}], [Win32], [${have_ecore_input}],
1570 ecore_win32_libs="-lole32 -lgdi32"
1571 requirements_ecore_win32="ecore-input >= 1.1.99 ${requirements_ecore_win32}"
1573 AC_SUBST(ecore_win32_libs)
1577 ecore_cocoa_deps="no"
1578 if test "x${have_ecore_input}" = "xyes" -a "x${have_cocoa}" = "xyes" ; then
1579 ecore_cocoa_deps="yes"
1582 ECORE_CHECK_MODULE([cocoa], [${want_ecore_cocoa}], [Cocoa], [${ecore_cocoa_deps}],
1583 [requirements_ecore_cocoa="ecore-input >= 1.1.99 ${requirements_ecore_cocoa}"])
1588 if test "x${have_sdl}" = "xyes" -a "x${have_ecore_input}" = "xyes" ; then
1589 ecore_sdl_deps="yes"
1592 ECORE_CHECK_MODULE([sdl], [${want_ecore_sdl}], [Sdl], [${ecore_sdl_deps}],
1593 [requirements_ecore_sdl="ecore-input >= 1.1.99 ${requirements_ecore_sdl}"])
1595 ECORE_CHECK_MODULE([psl1ght], [${want_ecore_psl1ght}], [psl1ght], [${ecore_psl1ght_deps}],
1596 [requirements_ecore_psl1ght="ecore-input >= 1.1.99 ${requirements_ecore_psl1ght}"])
1599 ECORE_CHECK_MODULE([fb], [${want_ecore_fb}], [FB], [$have_fb])
1601 if test "x${have_ecore_fb}" = "xyes" ; then
1602 ECORE_CHECK_TSLIB([${want_tslib}],
1605 requirements_ecore_fb="${_tslib_requirement} ${requirements_ecore_fb}"
1612 ECORE_CHECK_MODULE([directfb], [${want_ecore_directfb}], [DirectFB], [${have_directfb}],
1613 [requirements_ecore_directfb="directfb ${requirements_ecore_directfb}"])
1617 ECORE_CHECK_MODULE([wince], [${want_ecore_wince}], [WinCE], [${have_ecore_input}],
1618 [requirements_ecore_win32="ecore-input >= 1.1.99 ${requirements_ecore_win32}"])
1624 ecore_evas_deps="no"
1625 if test "x${have_evas}" = "xyes" -a "x${have_ecore_input}" = "xyes" -a "x${have_ecore_input_evas}" = "xyes" ; then
1626 ecore_evas_deps="yes"
1629 ECORE_CHECK_MODULE([evas], [${want_ecore_evas}], [Evas], [${ecore_evas_deps}],
1630 [requirements_ecore_evas="ecore-input >= 1.1.99 ecore-input-evas >= 1.1.99 evas >= 1.1.99 ${requirements_ecore_evas}"])
1634 ECORE_EVAS_CHECK_MODULE([software-buffer],
1635 [${want_ecore_evas_software_buffer}],
1641 # ecore_evas_software_x11
1643 ECORE_EVAS_CHECK_MODULE([software-x11],
1644 [${want_ecore_evas_software_x11}],
1648 have_ecore_evas_software_xlib="no"
1649 have_ecore_evas_software_xcb="no"
1650 if test "x$have_ecore_evas_software_x11" = "xyes" ; then
1651 have_ecore_evas_software_xlib=`${PKG_CONFIG} --variable=Xlib evas-software-x11`
1652 if test "x${have_ecore_evas_software_xlib}" = "xstatic"; then
1653 have_ecore_evas_software_xlib="yes"
1655 if test "x${have_ecore_evas_software_xlib}" = "xyes" -a "x${have_ecore_x_xlib}" = "xyes" ; then
1656 AC_DEFINE(BUILD_ECORE_EVAS_SOFTWARE_XLIB, 1, [Evas Software Xlib Engine Support])
1658 have_ecore_evas_software_xcb=`${PKG_CONFIG} --variable=XCB evas-software-x11`
1659 if test "x$have_ecore_evas_software_xcb" = "xstatic"; then
1660 have_ecore_evas_software_xcb="yes"
1662 if test "x$have_ecore_evas_software_xcb" = "xyes" -a "x${have_ecore_x_xcb}" = "xyes" ; then
1663 AC_DEFINE(BUILD_ECORE_EVAS_SOFTWARE_XCB, 1, [Evas Software XCB Engine Support])
1667 # ecore_evas_opengl_x11
1669 ECORE_EVAS_CHECK_MODULE([opengl-x11],
1670 [${want_ecore_evas_opengl_x11}],
1674 have_ecore_evas_opengl_xlib="no"
1675 have_ecore_evas_opengl_xcb="no"
1676 if test "x${have_ecore_evas_opengl_x11}" = "xyes" -o "x${have_ecore_evas_opengl_x11}" = "xstatic" ; then
1677 have_ecore_evas_opengl_xlib=`${PKG_CONFIG} --variable=Xlib evas-opengl-x11`
1678 if test "x${have_ecore_evas_opengl_xlib}" = "xyes" ; then
1679 AC_DEFINE(BUILD_ECORE_EVAS_OPENGL_XLIB, 1, [OpenGL Xlib rendering backend])
1682 # opengl does not work with xcb (yet)
1683 have_ecore_evas_opengl_xcb=`${PKG_CONFIG} --variable=XCB evas-opengl-x11`
1684 if test "x${have_ecore_evas_opengl_xcb}" = "xstatic"; then
1685 have_ecore_evas_opengl_xcb="yes"
1687 if test "x${have_ecore_evas_opengl_xcb}" = "xyes" -a "x${have_ecore_x_xcb}" = "xyes" ; then
1688 PKG_CHECK_MODULES(XCB_X11, x11-xcb,
1689 [ have_ecore_x_opengl_xcb="yes"
1690 requirements_ecore_x="x11-xcb ${requirements_ecore_x}"
1691 AC_DEFINE(BUILD_ECORE_X_OPENGL_XCB, 1, [Build support for XCB-based OpenGL])
1692 AC_DEFINE(BUILD_ECORE_EVAS_OPENGL_XCB, 1, [OpenGL XCB rendering backend])
1694 [ have_ecore_x_opengl_xcb="no" ])
1696 have_ecore_x_opengl_xcb="no"
1697 AC_MSG_NOTICE("XCB-based OpenGL explicitly disabled")
1701 # ecore_evas_software_x11 16 bits
1703 ECORE_EVAS_CHECK_MODULE([software-16-x11],
1704 [${want_ecore_evas_software_16_x11}],
1705 [Software Xlib 16 bits],
1706 [${have_ecore_x_xlib}])
1708 ECORE_EVAS_CHECK_MODULE([software-8-x11],
1709 [$want_ecore_evas_software_8_x11],
1710 [Software 8bit X11],
1714 if test "x$have_ecore_evas_software_x11" = "xyes" -o \
1715 "x$have_ecore_evas_opengl_x11" = "xyes" -o \
1716 "x$have_ecore_evas_software_8_x11" = "xyes" -o \
1717 "x$have_ecore_evas_software_16_x11" = "xyes" -o \
1718 "x$have_ecore_evas_software_xcb" = "xyes"; then
1719 AC_DEFINE(BUILD_ECORE_EVAS_X11, 1, [Support for X Window Engines in Ecore_Evas])
1720 requirements_ecore_evas="ecore-x >= 1.1.99 ${requirements_ecore_evas}"
1725 ECORE_EVAS_CHECK_MODULE([software-gdi],
1726 [${want_ecore_evas_software_gdi}],
1728 [${have_ecore_win32}])
1730 ECORE_EVAS_CHECK_MODULE([software-ddraw],
1731 [${want_ecore_evas_software_ddraw}],
1732 [Software DirectDraw],
1733 [${have_ecore_win32}])
1735 ECORE_EVAS_CHECK_MODULE([direct3d],
1736 [${want_ecore_evas_direct3d}],
1738 [${have_ecore_win32}])
1740 ECORE_EVAS_CHECK_MODULE([opengl-glew],
1741 [${want_ecore_evas_opengl_glew}],
1743 [${have_ecore_win32}])
1745 ECORE_EVAS_CHECK_MODULE([software-16-ddraw],
1746 [${want_ecore_evas_software_16_ddraw}],
1747 [16 bpp Software DirectDraw],
1748 [${have_ecore_win32}])
1750 if test "x${have_ecore_evas_software_gdi}" = "xyes" -o \
1751 "x${have_ecore_evas_software_ddraw}" = "xyes" -o \
1752 "x${have_ecore_evas_direct3d}" = "xyes" -o \
1753 "x${have_ecore_evas_opengl_glew}" = "xyes" -o \
1754 "x${have_ecore_evas_software_16_ddraw}" = "xyes" ; then
1755 AC_DEFINE(BUILD_ECORE_EVAS_WIN32, 1, [Support for Win32 Engine in Ecore_Evas])
1756 requirements_ecore_evas="ecore-win32 >= 1.1.99 ${requirements_ecore_evas}"
1759 # ecore_evas_software_sdl
1761 ECORE_EVAS_CHECK_MODULE([software-sdl],
1762 [${want_ecore_evas_software_sdl}],
1764 [${have_ecore_sdl}],
1765 [requirements_ecore_evas="ecore-sdl >= 1.1.99 ${requirements_ecore_evas}"])
1769 ECORE_EVAS_CHECK_MODULE([opengl-sdl],
1770 [${want_ecore_evas_gl_sdl}],
1772 [${have_ecore_sdl}],
1773 [requirements_ecore_evas="ecore-sdl >= 1.1.99 ${requirements_ecore_evas}"])
1777 ECORE_EVAS_CHECK_MODULE([opengl-cocoa],
1778 [${want_ecore_evas_gl_cocoa}],
1780 [${have_ecore_cocoa}],
1781 [requirements_ecore_evas="ecore-cocoa >= 1.1.99 ${requirements_ecore_evas}"])
1783 # ecore_evas_directfb
1785 ECORE_EVAS_CHECK_MODULE([directfb],
1786 [${want_ecore_evas_directfb}],
1788 [${have_ecore_directfb}],
1789 [requirements_ecore_evas="ecore-directfb >= 1.1.99 ${requirements_ecore_evas}"])
1793 ECORE_EVAS_CHECK_MODULE([fb],
1794 [${want_ecore_evas_fb}],
1795 [Linux Framebuffer],
1797 [requirements_ecore_evas="ecore-fb >= 1.1.99 ${requirements_ecore_evas}"])
1801 ECORE_EVAS_CHECK_MODULE([software-16-wince],
1802 [${want_ecore_evas_software_16_wince}],
1803 [16 bpp Software Windows CE],
1804 [${have_ecore_wince}],
1805 [requirements_ecore_evas="ecore-wince >= 1.1.99 ${requirements_ecore_evas}"])
1809 ECORE_EVAS_CHECK_MODULE_FULL([ews], [software-buffer],
1810 [${want_ecore_evas_ews}],
1811 [Ecore Evas Single Process Windowing System],
1814 # ecore_evas_psl1ght
1816 ECORE_EVAS_CHECK_MODULE([psl1ght],
1817 [${want_ecore_evas_psl1ght}],
1819 [${have_ecore_psl1ght}],
1820 [requirements_ecore_evas="ecore-psl1ght >= 1.1.99 ${requirements_ecore_evas}"])
1822 ### install and build examples
1824 EFL_CHECK_BUILD_EXAMPLES([enable_build_examples="yes"], [enable_build_examples="no"])
1825 EFL_CHECK_INSTALL_EXAMPLES([enable_install_examples="yes"], [enable_install_examples="no"])
1829 AC_SUBST(requirements_ecore)
1830 AC_SUBST(requirements_ecore_con)
1831 #AC_SUBST(requirements_ecore_config)
1832 AC_SUBST(requirements_ecore_directfb)
1833 AC_SUBST(requirements_ecore_evas)
1834 AC_SUBST(requirements_ecore_fb)
1835 AC_SUBST(requirements_ecore_file)
1836 AC_SUBST(requirements_ecore_imf)
1837 AC_SUBST(requirements_ecore_imf_evas)
1838 AC_SUBST(requirements_ecore_input)
1839 AC_SUBST(requirements_ecore_input_evas)
1840 AC_SUBST(requirements_ecore_ipc)
1841 AC_SUBST(requirements_ecore_cocoa)
1842 AC_SUBST(requirements_ecore_sdl)
1843 AC_SUBST(requirements_ecore_psl1ght)
1844 AC_SUBST(requirements_ecore_x)
1845 AC_SUBST(requirements_ecore_win32)
1846 AC_SUBST(requirements_ecore_wince)
1847 AC_SUBST(requirements_ecore_imf_xim)
1876 src/lib/ecore/Makefile
1877 src/lib/ecore_con/Makefile
1878 src/lib/ecore_config/Makefile
1879 src/lib/ecore_directfb/Makefile
1880 src/lib/ecore_evas/Makefile
1881 src/lib/ecore_fb/Makefile
1882 src/lib/ecore_file/Makefile
1883 src/lib/ecore_cocoa/Makefile
1884 src/lib/ecore_sdl/Makefile
1885 src/lib/ecore_psl1ght/Makefile
1886 src/lib/ecore_imf/Makefile
1887 src/lib/ecore_imf_evas/Makefile
1888 src/lib/ecore_input/Makefile
1889 src/lib/ecore_input_evas/Makefile
1890 src/lib/ecore_ipc/Makefile
1891 src/lib/ecore_win32/Makefile
1892 src/lib/ecore_wince/Makefile
1893 src/lib/ecore_x/Makefile
1894 src/lib/ecore_x/xlib/Makefile
1895 src/lib/ecore_x/xcb/Makefile
1896 src/examples/Makefile
1898 src/modules/Makefile
1899 src/modules/immodules/Makefile
1900 src/modules/immodules/xim/Makefile
1908 echo "$PACKAGE $VERSION"
1910 echo "Optional Modules:"
1914 echo " Ecore........................: always"
1915 echo " Thread support.............: $have_threads"
1916 echo " Thread safety..............: $want_thread_safety"
1917 echo " GLib support...............: $have_glib"
1918 echo " Always integrate GLib......: $want_glib_integration_always"
1919 echo " Use g_main_loop............: $want_g_main_loop"
1920 echo " Gathering memory statistic.: $have_mallinfo"
1921 echo " Gathering timer allocation.: $want_ecore_timer_dump"
1922 echo " Ecore_Con....................: $have_ecore_con"
1923 if test "x$have_ecore_con" = "xyes" ; then
1924 echo $ECHO_N " OpenSSL....................: $have_openssl $ECHO_C"
1925 if test "x$have_gnutls" = "xyes" ; then
1930 echo " IPv6.......................: $have_ipv6"
1931 echo " GnuTLS.....................: $have_gnutls"
1932 echo " CURL.......................: $have_curl"
1933 echo " Local Sockets..............: $want_ecore_con_local_sockets"
1934 if test "x$want_ecore_con_local_sockets" = "xyes" ; then
1935 echo " Abstract Sockets.........: $want_ecore_con_abstract_sockets"
1937 echo " c-ares.....................: $have_cares"
1939 echo " Ecore_Ipc....................: $have_ecore_ipc"
1940 if test "x$have_ecore_ipc" = "xyes" ; then
1941 echo $ECHO_N " OpenSSL....................: $have_openssl $ECHO_C"
1942 if test "x$have_gnutls" = "xyes" ; then
1947 echo " GnuTLS.....................: $have_gnutls"
1949 echo " Ecore_File...................: $have_ecore_file"
1950 if test "x$have_ecore_file" = "xyes" ; then
1951 echo " Inotify....................: $have_inotify"
1952 echo " Windows notification.......: $have_notify_win32"
1953 echo " Poll.......................: $have_poll"
1954 echo " CURL.......................: $have_curl"
1956 #echo " Ecore_Config.................: $have_ecore_config (deprecated)"
1957 echo " Ecore_IMF....................: $have_ecore_imf"
1958 echo " XIM........................: $have_ecore_imf_xim"
1959 echo " Ecore_IMF_Evas...............: $have_ecore_imf_evas"
1960 echo " Ecore_Input..................: $have_ecore_input"
1961 echo " Ecore_Input_Evas.............: $have_ecore_input_evas"
1964 echo " Graphic systems:"
1967 if test "x$have_ecore_x" = "xyes" ; then
1968 if test "x$have_ecore_x_xcb" = "xyes" ; then
1969 echo " Ecore_X (XCB backend)........: $have_ecore_x_xcb"
1970 echo " Xprint.....................: $have_ecore_x_xcb_xprint"
1971 echo " Xinerama...................: $have_ecore_x_xcb_xinerama"
1972 echo " Xrandr.....................: $have_ecore_x_xcb_randr"
1973 echo " Xscreensaver...............: $have_ecore_x_xcb_screensaver"
1974 echo " Xshape.....................: $have_ecore_x_xcb_shape"
1975 echo " Xgesture...................: $have_ecore_x_xcb_gesture"
1976 echo " Xsync......................: $have_ecore_x_xcb_sync"
1977 echo " Xrender....................: $have_ecore_x_xcb_render"
1978 echo " Xcomposite.................: $have_ecore_x_xcb_composite"
1979 echo " Xfixes.....................: $have_ecore_x_xcb_xfixes"
1980 echo " Xdamage....................: $have_ecore_x_xcb_damage"
1981 echo " Xdpms......................: $have_ecore_x_xcb_dpms"
1982 echo " Xtest......................: $have_ecore_x_xcb_xtest"
1984 echo " Ecore_X (Xlib backend).......: $have_ecore_x"
1985 echo " Xcursor....................: $use_Xcursor"
1986 echo " Xkb........................: $use_xkb"
1987 echo " Xprint.....................: $use_xprint"
1988 echo " Xinerama...................: $use_xinerama"
1989 echo " Xrandr.....................: $use_xrandr"
1990 echo " Xgesture...................: $use_xgesture"
1991 echo " Xscreensaver...............: $use_xss"
1992 echo " Xrender....................: $use_xrender"
1993 echo " Xcomposite.................: $use_xcomposite"
1994 echo " Xfixes.....................: $use_xfixes"
1995 echo " Xdamage....................: $use_xdamage"
1996 echo " Xdpms......................: $use_xdpms"
1997 echo " Xtest......................: $use_xtest"
1998 echo " XIM........................: $want_xim"
1999 echo " Xi2........................: $use_xi2"
2002 echo " Ecore_X......................: $have_ecore_x"
2004 echo " Ecore_Win32..................: $have_ecore_win32"
2005 echo " Ecore_Cocoa..................: $have_ecore_cocoa"
2006 echo " Ecore_SDL....................: $have_ecore_sdl"
2007 echo " Ecore_FB.....................: $have_ecore_fb"
2008 if test "x${have_ecore_fb}" = "xyes" ; then
2009 echo " Touchscreen................: $have_tslib"
2011 echo " Ecore_DirectFB...............: $have_ecore_directfb"
2012 echo " Ecore_WinCE..................: $have_ecore_wince"
2013 echo " Ecore_PSL1GHT................: $have_ecore_psl1ght"
2019 echo " Ecore_Evas...................: $have_ecore_evas"
2020 if test "x${have_ecore_evas}" = "xyes" ; then
2021 echo " Software Memory Buffer.....: $have_ecore_evas_software_buffer"
2022 if test "x${have_ecore_evas_software_x11}" = "xyes" ; then
2023 echo " Software X11...............: $have_ecore_evas_software_x11 (Xlib=${have_ecore_evas_software_xlib}) (XCB=${have_ecore_evas_software_xcb})"
2025 echo " Software X11...............: $have_ecore_evas_software_x11"
2027 if test "x${have_ecore_evas_opengl_x11}" = "xyes" ; then
2028 echo " OpenGL X11.................: $have_ecore_evas_opengl_x11 (Xlib=${have_ecore_evas_opengl_xlib}) (XCB=${have_ecore_evas_opengl_xcb})"
2030 echo " OpenGL X11.................: $have_ecore_evas_opengl_x11"
2032 echo " Software GDI...............: $have_ecore_evas_software_gdi"
2033 echo " Software DirectDraw........: $have_ecore_evas_software_ddraw"
2034 echo " Direct3D...................: $have_ecore_evas_direct3d"
2035 echo " OpenGL Glew................: $have_ecore_evas_opengl_glew"
2036 echo " Software SDL...............: $have_ecore_evas_software_sdl"
2037 echo " OpenGL SDL.................: $have_ecore_evas_opengl_sdl"
2038 echo " OpenGL Cocoa...............: $have_ecore_evas_opengl_cocoa"
2039 echo " DirectFB...................: $have_ecore_evas_directfb"
2040 echo " PSL1GHT....................: $have_ecore_evas_psl1ght"
2041 echo " Software Framebuffer.......: $have_ecore_evas_fb"
2042 echo " Software 8bit grayscale XCB: $have_ecore_evas_software_8_x11"
2043 echo " Software 16bit X11.........: $have_ecore_evas_software_16_x11"
2044 echo " Software 16bit DirectDraw..: $have_ecore_evas_software_16_ddraw"
2045 echo " Software 16bit WinCE.......: $have_ecore_evas_software_16_wince"
2046 echo " Sing.Proc. Windowing System: $have_ecore_evas_ews"
2049 echo " Tests................: ${enable_tests}"
2050 echo " Maximum log level....: ${with_max_log_level}"
2051 echo "Documentation..........: ${build_doc}"
2053 echo "Compilation............: make (or gmake)"
2054 echo " CPPFLAGS.............: $CPPFLAGS"
2055 echo " CFLAGS...............: $CFLAGS"
2056 echo " CXXFLAGS.............: $CXXFLAGS"
2057 echo " LDFLAGS..............: $LDFLAGS"
2059 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
2060 echo " prefix...............: $prefix"