1 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3 m4_define([v_maj], [1])
4 m4_define([v_min], [0])
5 m4_define([v_mic], [999])
6 m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
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
68 AM_CONDITIONAL([HAVE_PO], [true])
70 AM_CONDITIONAL([HAVE_PO], [false])
74 with_max_log_level="<unset>"
75 AC_ARG_WITH(internal-maximum-log-level,
76 [AC_HELP_STRING([--with-internal-maximum-log-level=NUMBER],
77 [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.])],
79 if test "x${withval}" != "xno"; then
80 if echo "${withval}" | grep '^[[0-9]]\+$' >/dev/null 2>/dev/null; then
81 AC_MSG_NOTICE([ignoring any EINA_LOG() with level greater than ${withval}])
82 AC_DEFINE_UNQUOTED(EINA_LOG_LEVEL_MAXIMUM, ${withval}, [if set, logging is limited to this amount.])
83 with_max_log_level="${withval}"
85 AC_MSG_ERROR([--with-internal-maximum-log-level takes a decimal number, got "${withval}" instead.])
91 ### Default options with respect to host
96 # dependencies and options
98 want_local_sockets="yes"
99 want_abstract_sockets="no"
107 want_notify_win32="no"
114 want_ecore_file="yes"
115 #want_ecore_config="no"
117 want_ecore_input="yes"
119 # graphic system modules
120 want_evas_simple_x11="no"
121 want_ecore_x_xcb="no"
123 want_ecore_win32="no"
124 want_ecore_cocoa="no"
127 want_ecore_directfb="no"
128 want_ecore_wince="no"
130 # ecore_x options (both xlib and xcb)
131 want_ecore_x_composite="yes"
132 want_ecore_x_damage="yes"
133 want_ecore_x_dpms="yes"
134 want_ecore_x_randr="yes"
135 want_ecore_x_render="yes"
136 want_ecore_x_screensaver="yes"
137 want_ecore_x_shape="yes"
138 want_ecore_x_sync="yes"
139 want_ecore_x_xfixes="yes"
140 want_ecore_x_xinerama="yes"
141 want_ecore_x_xprint="yes"
142 want_ecore_x_xtest="yes"
143 want_ecore_x_cursor="yes"
144 want_ecore_x_input="yes"
145 want_ecore_x_dri="yes"
148 want_ecore_evas="yes"
149 want_ecore_evas_software_buffer="yes"
150 want_ecore_evas_software_x11="no"
151 want_ecore_evas_opengl_x11="no"
152 want_ecore_evas_software_16_x11="no"
153 want_ecore_evas_software_8_x11="no"
154 want_ecore_evas_software_xcb="no"
155 want_ecore_evas_software_gdi="no"
156 want_ecore_evas_software_ddraw="no"
157 want_ecore_evas_direct3d="no"
158 want_ecore_evas_opengl_glew="no"
159 want_ecore_evas_software_16_ddraw="no"
160 want_ecore_evas_software_sdl="no"
161 want_ecore_evas_gl_sdl="no"
162 want_ecore_evas_directfb="no"
163 want_ecore_evas_fb="no"
164 want_ecore_evas_software_16_wince="no"
167 want_ecore_imf_xim="no"
173 want_ecore_wince="yes"
174 want_ecore_evas_software_16_wince="yes"
177 want_notify_win32="yes"
183 want_ecore_win32="yes"
184 want_ecore_evas_software_gdi="yes"
185 want_ecore_evas_software_ddraw="yes"
186 want_ecore_evas_direct3d="yes"
187 want_ecore_evas_opengl_glew="yes"
188 want_ecore_evas_software_16_ddraw="auto"
189 want_ecore_evas_software_sdl="yes"
190 want_ecore_evas_gl_sdl="yes"
198 want_ecore_cocoa="yes"
199 want_ecore_evas_software_sdl="yes"
200 want_ecore_evas_gl_sdl="yes"
205 want_abstract_sockets="yes"
215 want_ecore_evas_software_x11="yes"
216 want_ecore_evas_opengl_x11="yes"
217 want_ecore_evas_software_16_x11="yes"
218 want_ecore_evas_software_8_x11="yes"
219 want_ecore_evas_software_xcb="no"
220 want_ecore_evas_software_sdl="yes"
221 want_ecore_evas_gl_sdl="yes"
222 want_ecore_evas_directfb="yes"
223 want_ecore_evas_fb="yes"
224 want_ecore_imf_xim="yes"
228 case "$host_vendor" in
230 want_local_sockets="no"
233 requirements_ecore=""
234 requirements_ecore_con=""
235 #requirements_ecore_config=""
236 requirements_ecore_directfb=""
237 requirements_ecore_evas=""
238 requirements_ecore_fb=""
239 requirements_ecore_file=""
240 requirements_ecore_imf=""
241 requirements_ecore_imf_evas=""
242 requirements_ecore_input=""
243 requirements_ecore_input_evas=""
244 requirements_ecore_ipc=""
245 requirements_ecore_cocoa=""
246 requirements_ecore_sdl=""
247 requirements_ecore_x=""
248 requirements_ecore_win32=""
249 requirements_ecore_wince=""
250 requirements_ecore_imf_xim=""
252 AC_CHECK_DECL([MAXHOSTNAMELEN],[FOUND_MAXHOSTNAMELEN=yes])
254 if test x$FOUND_MAXHOSTNAMELEN != xyes ; then
255 AC_MSG_CHECKING([for header that defines MAXHOSTNAMELEN])
257 FOUND_MAXHOSTNAMELEN='not found'
260 AC_LANG_PROGRAM([#include <sys/param.h>],
261 [int h = MAXHOSTNAMELEN;]),
262 [FOUND_MAXHOSTNAMELEN='sys/param.h'
263 AC_DEFINE(NEED_SYS_PARAM_H,1,
264 [Define to 1 if you need <sys/param.h> to define MAXHOSTNAMELEN])])
267 AC_LANG_PROGRAM([#include <netdb.h>],
268 [int h = MAXHOSTNAMELEN;]),
269 [FOUND_MAXHOSTNAMELEN='netdb.h'
270 AC_DEFINE(NEED_NETDB_H,1,
271 [Define to 1 if you need <netdb.h> to define MAXHOSTNAMELEN])])
273 AC_MSG_RESULT([$FOUND_MAXHOSTNAMELEN])
276 ### Additional options to configure
278 want_glib_integration_always=no
279 AC_ARG_ENABLE(glib-integration-always,
280 AC_HELP_STRING([--enable-glib-integration-always], [enable glib integration when ecore_init() is called always]),
281 [want_glib_integration_always=$enableval])
283 if test "x${want_glib_integration_always}" = "xyes" ; then
284 AC_DEFINE([GLIB_INTEGRATION_ALWAYS], [1], [Always integrate glib if support compiled])
289 AC_ARG_ENABLE(g-main-loop,
290 AC_HELP_STRING([--enable-g-main-loop], [ecore_main_loop based on g_main_loop]),
291 [want_g_main_loop=$enableval])
293 if test "x${want_g_main_loop}" = "xyes" ; then
294 AC_DEFINE([USE_G_MAIN_LOOP], [1], [Use g_main_loop in ecore])
298 if test "x${want_glib_integration_always}" = "xyes" -a "x${want_g_main_loop}" = "xyes"; then
299 AC_MSG_ERROR([--enable-glib-integration-always and --enable-glib-main-loop are mutually exclusive])
302 # local sockets (ecore_con.c)
303 AC_ARG_ENABLE([local-sockets],
304 [AC_HELP_STRING([--disable-local-sockets], [disable local sockets.])],
306 if test "x${enableval}" = "xyes" ; then
307 want_ecore_con_local_sockets="yes"
309 want_ecore_con_local_sockets="no"
312 [want_ecore_con_local_sockets=${want_local_sockets}])
314 if test "x${want_ecore_con_local_sockets}" = "xyes" ; then
315 AC_DEFINE([HAVE_LOCAL_SOCKETS], [1], [Have local sockets support])
318 # abstract sockets (ecore_con.c)
319 AC_ARG_ENABLE([abstract-sockets],
320 [AC_HELP_STRING([--disable-abstract-sockets], [disable abstract sockets.])],
322 if test "x${enableval}" = "xyes" ; then
323 want_ecore_con_abstract_sockets="yes"
325 want_ecore_con_abstract_sockets="no"
328 [want_ecore_con_abstract_sockets=${want_abstract_sockets}])
330 if test "x${want_ecore_con_abstract_sockets}" = "xyes" ; then
331 AC_DEFINE([HAVE_ABSTRACT_SOCKETS], [1], [Have abstract sockets namespace])
334 # Simple X11 build/link
336 AC_ARG_ENABLE(simple-x11,
337 AC_HELP_STRING([--enable-simple-x11], [enable simple x11 linking]),
338 [want_evas_simple_x11=$enableval])
342 [AC_HELP_STRING([--disable-xim], [disable X Input Method.])],
344 if test "x${enableval}" = "xyes" ; then
352 if test "x${want_xim}" = "xyes" ; then
353 AC_DEFINE([ENABLE_XIM], [1], [Enable X Input Method])
358 EFL_CHECK_TESTS([enable_tests="yes"], [enable_tests="no"])
360 ### Checks for programs
362 m4_ifdef([AC_PROG_OBJC],
365 _AM_DEPENDENCIES(OBJC)
368 AC_CHECK_TOOL([OBJC], [gcc])
370 AC_SUBST([OBJCFLAGS])
372 m4_ifndef([am__fastdepOBJC], [
373 AM_CONDITIONAL([am__fastdepOBJC], [false])
374 AC_SUBST([cocoa_ldflags])
380 have_gnu_objc=${ac_cv_objc_compiler_gnu}
382 # doxygen program for documentation building
384 EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
388 EFL_COMPILER_FLAG([-Wall])
389 EFL_COMPILER_FLAG([-W])
392 # The first call to PKG_CHECK_MODULES is done conditionally,
393 # so we should include this here:
396 # Check whether pkg-config supports Requires.private
397 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
398 pkgconfig_requires_private="Requires.private"
400 pkgconfig_requires_private="Requires"
402 AC_SUBST(pkgconfig_requires_private)
404 ### Checks for some build time option
406 AC_CHECK_FUNCS([backtrace], [have_backtrace="yes"], [])
408 want_ecore_timer_dump="yes"
410 AC_ARG_ENABLE([ecore-timer-dump],
411 [AC_HELP_STRING([--disable-ecore-timer-dump], [disable tracking of timer allocation. @<:@default=enable@:>@])],
412 [want_ecore_timer_dump=$enableval], [])
414 if test "x$want_ecore_timer_dump" = "xyes" -a "x$have_backtrace" = "xyes"; then
415 AC_DEFINE(WANT_ECORE_TIMER_DUMP, [1], [Want Ecore_Timer dump infrastructure])
418 ### Checks for libraries
420 # Evil library for compilation on Windows
424 PKG_CHECK_MODULES([EVIL], [evil])
425 AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if Evil library is installed])
426 requirements_ecore="evil ${requirements_ecore}"
427 requirements_ecore_evas="evil ${requirements_ecore_evas}"
428 requirements_ecore_file="evil ${requirements_ecore_file}"
429 requirements_ecore_imf="evil ${requirements_ecore_imf}"
430 requirements_ecore_imf_evas="evil ${requirements_ecore_imf_evas}"
431 EFL_ECORE_BUILD="-DEFL_ECORE_BUILD"
432 EFL_ECORE_CON_BUILD="-DEFL_ECORE_CON_BUILD"
433 EFL_ECORE_EVAS_BUILD="-DEFL_ECORE_EVAS_BUILD"
434 EFL_ECORE_FILE_BUILD="-DEFL_ECORE_FILE_BUILD"
435 EFL_ECORE_IMF_BUILD="-DEFL_ECORE_IMF_BUILD"
436 EFL_ECORE_IMF_EVAS_BUILD="-DEFL_ECORE_IMF_EVAS_BUILD"
437 EFL_ECORE_INPUT_BUILD="-DEFL_ECORE_INPUT_BUILD"
438 EFL_ECORE_INPUT_EVAS_BUILD="-DEFL_ECORE_INPUT_EVAS_BUILD"
439 EFL_ECORE_IPC_BUILD="-DEFL_ECORE_IPC_BUILD"
447 EFL_ECORE_WINCE_BUILD="-DEFL_ECORE_WINCE_BUILD"
448 requirements_ecore_wince="evil ${requirements_ecore_wince}"
452 EFL_ECORE_WIN32_BUILD="-DEFL_ECORE_WIN32_BUILD"
453 EFL_ECORE_SDL_BUILD="-DEFL_ECORE_SDL_BUILD"
454 requirements_ecore_win32="evil ${requirements_ecore_win32}"
455 requirements_ecore_sdl="evil ${requirements_ecore_sdl}"
460 AC_SUBST(EFL_ECORE_BUILD)
461 AC_SUBST(EFL_ECORE_CON_BUILD)
462 AC_SUBST(EFL_ECORE_EVAS_BUILD)
463 AC_SUBST(EFL_ECORE_FILE_BUILD)
464 AC_SUBST(EFL_ECORE_IMF_BUILD)
465 AC_SUBST(EFL_ECORE_IMF_EVAS_BUILD)
466 AC_SUBST(EFL_ECORE_INPUT_BUILD)
467 AC_SUBST(EFL_ECORE_INPUT_EVAS_BUILD)
468 AC_SUBST(EFL_ECORE_IPC_BUILD)
469 AC_SUBST(EFL_ECORE_WINCE_BUILD)
470 AC_SUBST(EFL_ECORE_WIN32_BUILD)
471 AC_SUBST(EFL_ECORE_SDL_BUILD)
473 AM_CONDITIONAL(ECORE_HAVE_WINCE, test "x${have_wince}" = "xyes")
474 AM_CONDITIONAL(ECORE_HAVE_WIN32, test "x${have_win32}" = "xyes")
483 WIN32_LIBS="-lws2_32"
487 AC_CHECK_LIB([c], [dlopen],
489 [AC_CHECK_LIB([dl], [dlopen],
492 AC_CHECK_LIB([c], [clock_gettime],
493 [AC_DEFINE(HAVE_CLOCK_GETTIME, [1], [Have clock_gettime()])],
494 [AC_CHECK_LIB([rt], [clock_gettime],
497 AC_DEFINE(HAVE_CLOCK_GETTIME, [1], [Have clock_gettime()])
503 AC_SUBST(dlopen_libs)
508 PKG_CHECK_MODULES(EINA, [eina >= 1.0.0])
509 #FIXME check all the requirements when the eina move will be finished
510 requirements_ecore="eina >= 1.0.0 ${requirements_ecore}"
511 requirements_ecore_con="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_con}"
512 #requirements_ecore_config="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_config}"
513 requirements_ecore_directfb="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_directfb}"
514 requirements_ecore_evas="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_evas}"
515 requirements_ecore_fb="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_fb}"
516 requirements_ecore_file="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_file}"
517 requirements_ecore_imf="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_imf}"
518 requirements_ecore_imf_evas="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_imf_evas}"
519 requirements_ecore_input="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_input}"
520 requirements_ecore_input_evas="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_input_evas}"
521 requirements_ecore_ipc="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_ipc}"
522 requirements_ecore_cocoa="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_cocoa}"
523 requirements_ecore_sdl="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_sdl}"
524 requirements_ecore_win32="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_win32}"
525 requirements_ecore_wince="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_wince}"
526 requirements_ecore_x="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_x}"
529 # glib support (main loop integration)
530 AC_ARG_ENABLE([glib],
531 [AC_HELP_STRING([--disable-glib], [disable glib support. @<:@default=detect@:>@])],
532 [want_glib=$enableval], [])
534 if test "x$want_glib" != "xno"; then
535 PKG_CHECK_MODULES([GLIB], [glib-2.0], [have_glib="yes"], [have_glib="no"])
539 if test "x$want_glib" = "xyes" -a "x$have_glib" = "xno"; then
540 AC_MSG_ERROR([GLib support requested, but no GLib found by pkg-config.])
541 elif test "x$have_glib" = "xyes"; then
542 AC_DEFINE(HAVE_GLIB, [1], [Have GLib])
543 requirements_ecore="glib-2.0 ${requirements_ecore}"
547 # SDL library (ecore_sdl)
550 PKG_CHECK_MODULES([SDL], [sdl >= 1.2.0], [have_sdl="yes"], [have_sdl="no"])
551 if test "x${have_sdl}" != "xyes" ; then
552 SDL_CONFIG="sdl-config"
553 AC_ARG_WITH([sdl-config],
554 [AC_HELP_STRING([--with-sdl-config=PATH], [use sdl-config specified])],
557 AC_MSG_NOTICE([using ${SDL_CONFIG} for sdl-config])
560 AC_PATH_PROG([SDL_CONFIG], ["sdl-config"], [""], [$PATH])
562 if test -n "$SDL_CONFIG" ; then
563 SDL_CFLAGS=`$SDL_CONFIG --cflags`
564 SDL_LIBS=`$SDL_CONFIG --libs`
571 if test "x${have_sdl}" = "xyes" ; then
572 PKG_CHECK_EXISTS([sdl >= 1.3.0],
573 [AC_DEFINE(BUILD_ECORE_EVAS_SDL_130, 1, [Support for SVN SDL])])
577 # DirectFB library (ecore_directfb)
579 PKG_CHECK_MODULES([DIRECTFB],
580 [directfb >= 0.9.16],
581 [have_directfb="yes"],
582 [have_directfb="no"])
585 # Eet library (ecore_config)
587 #PKG_CHECK_MODULES([EET],
593 # Xlib and XCB (ecore_x)
597 have_ecore_x_xlib="no"
598 have_ecore_x_xcb="no"
605 ecore_x_libs_private=""
607 AC_ARG_ENABLE(ecore-x-composite,
608 [AC_HELP_STRING([--disable-ecore-x-composite],
609 [disable the ecore_x support for Xcomposite extension.
610 @<:@default=detect@:>@])],
611 [want_ecore_x_composite=$enableval])
613 AC_ARG_ENABLE(ecore-x-damage,
614 [AC_HELP_STRING([--disable-ecore-x-damage],
615 [disable the ecore_x support for Xdamage extension.
616 @<:@default=detect@:>@])],
617 [want_ecore_x_damage=$enableval])
619 AC_ARG_ENABLE(ecore-x-dpms,
620 [AC_HELP_STRING([--disable-ecore-x-dpms],
621 [disable the ecore_x support for Xdpms extension.
622 @<:@default=detect@:>@])],
623 [want_ecore_x_dpms=$enableval])
625 AC_ARG_ENABLE(ecore-x-randr,
626 [AC_HELP_STRING([--disable-ecore-x-randr],
627 [disable the ecore_x support for Xrandr extension.
628 @<:@default=detect@:>@])],
629 [want_ecore_x_randr=$enableval])
631 AC_ARG_ENABLE(ecore-x-render,
632 [AC_HELP_STRING([--disable-ecore-x-render],
633 [disable the ecore_x support for Xrender extension.
634 @<:@default=detect@:>@])],
635 [want_ecore_x_render=$enableval])
637 AC_ARG_ENABLE(ecore-x-screensaver,
638 [AC_HELP_STRING([--disable-ecore-x-screensaver],
639 [disable the ecore_x support for Xscreensaver extension.
640 @<:@default=detect@:>@])],
641 [want_ecore_x_screensaver=$enableval])
643 AC_ARG_ENABLE(ecore-x-shape,
644 [AC_HELP_STRING([--disable-ecore-x-shape],
645 [disable the ecore_x support for Xshape extension.
646 @<:@default=detect@:>@])],
647 [want_ecore_x_shape=$enableval])
649 AC_ARG_ENABLE(ecore-x-sync,
650 [AC_HELP_STRING([--disable-ecore-x-sync],
651 [disable the ecore_x support for Xsync extension.
652 @<:@default=detect@:>@])],
653 [want_ecore_x_sync=$enableval])
655 AC_ARG_ENABLE(ecore-x-xfixes,
656 [AC_HELP_STRING([--disable-ecore-x-xfixes],
657 [disable the ecore_x support for Xfixes extension.
658 @<:@default=detect@:>@])],
659 [want_ecore_x_xfixes=$enableval])
661 AC_ARG_ENABLE(ecore-x-xinerama,
662 [AC_HELP_STRING([--disable-ecore-x-xinerama],
663 [disable the ecore_x support for Xinerama extension.
664 @<:@default=detect@:>@])],
665 [want_ecore_x_xinerama=$enableval])
667 AC_ARG_ENABLE(ecore-x-xprint,
668 [AC_HELP_STRING([--disable-ecore-x-xprint],
669 [disable the ecore_x support for Xprint extension.
670 @<:@default=detect@:>@])],
671 [want_ecore_x_xprint=$enableval])
673 AC_ARG_ENABLE(ecore-x-xtest,
674 [AC_HELP_STRING([--disable-ecore-x-xtest],
675 [disable the ecore_x support for Xtest extension.
676 @<:@default=detect@:>@])],
677 [want_ecore_x_xtest=$enableval])
679 AC_ARG_ENABLE(ecore-x-cursor,
680 [AC_HELP_STRING([--disable-ecore-x-cursor],
681 [disable the ecore_x support for Xcursor extension.
682 @<:@default=detect@:>@])],
683 [want_ecore_x_cursor=$enableval])
685 AC_ARG_ENABLE(ecore-x-input,
686 [AC_HELP_STRING([--disable-ecore-x-input],
687 [disable the ecore_x support for Xinput/Xinput2 extension.
688 @<:@default=detect@:>@])],
689 [want_ecore_x_input=$enableval])
691 AC_ARG_ENABLE(ecore-x-dri,
692 [AC_HELP_STRING([--disable-ecore-x-dri],
693 [disable the ecore_x support for DRI extension.
694 @<:@default=detect@:>@])],
695 [want_ecore_x_dri=$enableval])
697 AC_ARG_ENABLE(ecore-x-xcb,
698 [AC_HELP_STRING([--enable-ecore-x-xcb],
699 [enable the ecore_x module with XCB backend. @<:@default=disabled@:>@])],
700 [want_ecore_x_xcb=$enableval])
702 AC_MSG_CHECKING(whether ecore_x with XCB backend is to be built)
703 AC_MSG_RESULT($want_ecore_x_xcb)
705 if test "x$want_ecore_x_xcb" = "xyes" ; then
707 AC_MSG_CHECKING([keysym definitions])
708 KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11
709 FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
711 if test -f "$KEYSYMDEFDIR/$i"; then
712 KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
713 elif test "x$i" = "xkeysymdef.h"; then
714 AC_MSG_ERROR([Cannot find keysymdef.h])
717 AC_MSG_RESULT([$KEYSYMDEFS])
721 AC_ARG_WITH([iconv-link],
722 AC_HELP_STRING([--with-iconv-link=ICONV_LINK], [explicitly specify an iconv link option]),
724 LIBS="$withval $LIBS"
728 AC_MSG_CHECKING(for explicit iconv link options)
729 if test "x${iconv_libs}" = "x" ; then
730 AC_MSG_RESULT([no explicit iconv link option])
732 AC_MSG_RESULT([$iconv_libs])
735 if test "x${have_iconv}" = "xno" ; then
736 AC_CHECK_HEADERS([iconv.h], [have_iconv="yes"])
738 if test "x${have_iconv}" = "xyes" ; then
739 AC_MSG_CHECKING([whether iconv() is in libc])
749 size_t count = iconv(ic, NULL, NULL, NULL, NULL);
754 AC_MSG_RESULT([${have_iconv}])
757 if test "x${have_iconv}" = "xno" ; then
758 AC_MSG_CHECKING([whether iconv() is in libiconv.a])
771 count = iconv(ic, NULL, NULL, NULL, NULL);
779 AC_MSG_RESULT([${have_iconv}])
782 if test "x${have_iconv}" = "xno" ; then
783 AC_MSG_CHECKING([whether iconv() is in libiconv_plug.a])
786 LIBS="-liconv_plug $LIBS"
795 size_t count = iconv(ic, NULL, NULL, NULL, NULL);
803 AC_MSG_RESULT([${have_iconv}])
806 if test "x${have_iconv}" = "xyes" ; then
807 AC_DEFINE([HAVE_ICONV], [1], [Set to 1 if iconv library is installed])
811 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,
812 [ have_ecore_x_xcb="yes"
813 requirements_ecore_x="x11-xcb xcb xcb-shm xcb-event xcb-icccm xcb-util xcb-image xcb-keysyms ${requirements_ecore_x}"
816 PKG_CHECK_MODULES(ECORE_XCB, x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms,
817 [ have_ecore_x_xcb="yes"
818 AC_DEFINE(OLD_XCB_VERSION, 1, [xcb version])
819 requirements_ecore_x="x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms ${requirements_ecore_x}" ],
820 [ have_ecore_x_xcb="no" ])
822 [have_ecore_x_xcb="no" ])
824 if test "x$have_ecore_x_xcb" = "xyes" ; then
826 PKG_CHECK_MODULES([PIXMAN],
830 AC_DEFINE(HAVE_PIXMAN, 1, [have pixman for rendering])
831 requirements_ecore_x="pixman-1 ${requirements_ecore_x}"
834 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
835 AC_MSG_ERROR([Pixman not found (strict dependencies checking)])
839 if test "x$want_ecore_x_composite" != "xno"; then
840 PKG_CHECK_MODULES(XCB_COMPOSITE, xcb-composite,
841 [ have_ecore_x_xcb_composite="yes"
842 requirements_ecore_x="xcb-composite ${requirements_ecore_x}"
843 AC_DEFINE(ECORE_XCB_COMPOSITE, 1, [Build support for XCB composite]) ],
844 [ have_ecore_x_xcb_composite="no" ])
846 have_ecore_x_xcb_composite="no"
847 AC_MSG_NOTICE("composite extension explicitly disabled")
850 if test "x$want_ecore_x_damage" != "xno"; then
851 PKG_CHECK_MODULES(XCB_DAMAGE, xcb-damage,
852 [ have_ecore_x_xcb_damage="yes"
853 requirements_ecore_x="xcb-damage ${requirements_ecore_x}"
854 AC_DEFINE(ECORE_XCB_DAMAGE, 1, [Build support for XCB damage]) ],
855 [ have_ecore_x_xcb_damage="no" ])
857 have_ecore_x_xcb_damage="no"
858 AC_MSG_NOTICE("damage extension explicitly disabled")
861 if test "x$want_ecore_x_dpms" != "xno"; then
862 PKG_CHECK_MODULES(XCB_DPMS, xcb-dpms,
863 [ have_ecore_x_xcb_dpms="yes"
864 requirements_ecore_x="xcb-dpms ${requirements_ecore_x}"
865 AC_DEFINE(ECORE_XCB_DPMS, 1, [Build support for XCB dpms]) ],
866 [ have_ecore_x_xcb_dpms="no" ])
868 have_ecore_x_xcb_dpms="no"
869 AC_MSG_NOTICE("dpms extension explicitly disabled")
872 if test "x$want_ecore_x_randr" != "xno"; then
873 PKG_CHECK_MODULES(XCB_RANDR, xcb-randr,
874 [ have_ecore_x_xcb_randr="yes"
875 requirements_ecore_x="xcb-randr ${requirements_ecore_x}"
876 AC_DEFINE(ECORE_XCB_RANDR, 1, [Build support for XCB randr]) ],
877 [ have_ecore_x_xcb_randr="no" ])
879 have_ecore_x_xcb_randr="no"
880 AC_MSG_NOTICE("randr extension explicitly disabled")
883 if test "x$want_ecore_x_render" != "xno"; then
884 PKG_CHECK_MODULES(XCB_RENDER, xcb-render xcb-renderutil,
885 [ have_ecore_x_xcb_render="yes"
886 requirements_ecore_x="xcb-render xcb-renderutil ${requirements_ecore_x}"
887 AC_DEFINE(ECORE_XCB_RENDER, 1, [Build support for XCB render]) ],
888 [ have_ecore_x_xcb_render="no" ])
890 have_ecore_x_xcb_render="no"
891 AC_MSG_NOTICE("render extension explicitly disabled")
894 if test "x$want_ecore_x_screensaver" != "xno"; then
895 PKG_CHECK_MODULES(XCB_SCREENSAVER, xcb-screensaver,
896 [ have_ecore_x_xcb_screensaver="yes"
897 requirements_ecore_x="xcb-screensaver ${requirements_ecore_x}"
898 AC_DEFINE(ECORE_XCB_SCREENSAVER, 1, [Build support for XCB screensaver]) ],
899 [ have_ecore_x_xcb_screensaver="no" ])
901 have_ecore_x_xcb_screensaver="no"
902 AC_MSG_NOTICE("screensaver extension explicitly disabled")
905 if test "x$want_ecore_x_shape" != "xno"; then
906 PKG_CHECK_MODULES(XCB_SHAPE, xcb-shape,
907 [ have_ecore_x_xcb_shape="yes"
908 requirements_ecore_x="xcb-shape ${requirements_ecore_x}"
909 AC_DEFINE(ECORE_XCB_SHAPE, 1, [Build support for XCB shape]) ],
910 [ have_ecore_x_xcb_shape="no" ])
912 have_ecore_x_xcb_shape="no"
913 AC_MSG_NOTICE("shape extension explicitly disabled")
916 if test "x$want_ecore_x_sync" != "xno"; then
917 PKG_CHECK_MODULES(XCB_SYNC, xcb-sync,
918 [ have_ecore_x_xcb_sync="yes"
919 requirements_ecore_x="xcb-sync ${requirements_ecore_x}"
920 AC_DEFINE(ECORE_XCB_SYNC, 1, [Build support for XCB sync]) ],
921 [ have_ecore_x_xcb_sync="no" ])
923 have_ecore_x_xcb_sync="no"
924 AC_MSG_NOTICE("sync extension explicitly disabled")
927 if test "x$want_ecore_x_xfixes" != "xno"; then
928 PKG_CHECK_MODULES(XCB_XFIXES, xcb-xfixes,
929 [ have_ecore_x_xcb_xfixes="yes"
930 requirements_ecore_x="xcb-xfixes ${requirements_ecore_x}"
931 AC_DEFINE(ECORE_XCB_XFIXES, 1, [Build support for XCB xfixes]) ],
932 [ have_ecore_x_xcb_xfixes="no" ])
934 have_ecore_x_xcb_xfixes="no"
935 AC_MSG_NOTICE("xfixes extension explicitly disabled")
938 if test "x$want_ecore_x_xinerama" != "xno"; then
939 PKG_CHECK_MODULES(XCB_XINERAMA, xcb-xinerama,
940 [ have_ecore_x_xcb_xinerama="yes"
941 requirements_ecore_x="xcb-xinerama ${requirements_ecore_x}"
942 AC_DEFINE(ECORE_XCB_XINERAMA, 1, [Build support for XCB xinerama]) ],
943 [ have_ecore_x_xcb_xinerama="no" ])
945 have_ecore_x_xcb_xinerama="no"
946 AC_MSG_NOTICE("xinerama extension explicitly disabled")
949 if test "x$want_ecore_x_xprint" != "xno"; then
950 PKG_CHECK_MODULES(XCB_XPRINT, xcb-xprint,
951 [ have_ecore_x_xcb_xprint="yes"
952 requirements_ecore_x="xcb-xprint ${requirements_ecore_x}"
953 AC_DEFINE(ECORE_XCB_XPRINT, 1, [Build support for XCB xprint]) ],
954 [ have_ecore_x_xcb_xprint="no" ])
956 have_ecore_x_xcb_xprint="no"
957 AC_MSG_NOTICE("xprint extension explicitly disabled")
960 if test "x$want_ecore_x_xtest" != "xno"; then
961 PKG_CHECK_MODULES(XCB_XTEST, xcb-xtest,
962 [ have_ecore_x_xcb_xtest="yes"
963 requirements_ecore_x="xcb-xtest ${requirements_ecore_x}"
964 AC_DEFINE(ECORE_XCB_XTEST, 1, [Build support for XCB xtest]) ],
965 [ have_ecore_x_xcb_xtest="no" ])
967 have_ecore_x_xcb_xtest="no"
968 AC_MSG_NOTICE("xtest extension explicitly disabled")
971 # input extension disabled currently in xcb as xcb-input has some issues
972 want_ecore_x_input="no"
973 if test "x$want_ecore_x_input" != "xno"; then
974 PKG_CHECK_MODULES(XCB_XINPUT, xcb-xinput,
975 [ have_ecore_x_xcb_xinput="yes"
976 requirements_ecore_x="xcb-xinput ${requirements_ecore_x}"
977 AC_DEFINE(ECORE_XCB_XINPUT, 1, [Build support for XCB xinput]) ],
978 [ have_ecore_x_xcb_xinput="no" ])
980 have_ecore_x_xcb_xinput="no"
981 AC_MSG_NOTICE("xinput extension explicitly disabled")
984 if test "x$want_ecore_x_cursor" != "xno"; then
985 PKG_CHECK_MODULES(XCB_CURSOR, xcb-render xcb-renderutil,
986 [ have_ecore_x_xcb_cursor="yes"
987 requirements_ecore_x="xcb-render xcb-renderutil ${requirements_ecore_x}"
988 AC_DEFINE(ECORE_XCB_CURSOR, 1, [Build support for XCB cursor]) ],
989 [ have_ecore_x_xcb_cursor="no" ])
991 have_ecore_x_xcb_cursor="no"
992 AC_MSG_NOTICE("cursor extension explicitly disabled")
995 # if test "x$want_ecore_x_dri" != "xno"; then
996 # PKG_CHECK_MODULES(XCB_DRI, xcb-dri2,
997 # [ have_ecore_x_xcb_dri="yes"
998 # requirements_ecore_x="xcb-dri2 ${requirements_ecore_x}"
999 # AC_DEFINE(ECORE_XCB_DRI, 1, [Build support for XCB dri/dri2]) ],
1000 # [ have_ecore_x_xcb_dri="no" ])
1002 # have_ecore_x_xcb_dri="no"
1003 # AC_MSG_NOTICE("dri extension explicitly disabled")
1006 AC_DEFINE(HAVE_ECORE_X_XCB, 1, [Defined to 1 if XCB is enabled.])
1008 x_cflags=$ECORE_XCB_CFLAGS
1009 x_libs=$ECORE_XCB_LIBS
1012 have_ecore_x_xcb_define="-DHAVE_ECORE_X_XCB"
1013 AC_SUBST(have_ecore_x_xcb_define)
1017 if ! test "x$have_ecore_x_xcb" = "xyes" ; then
1019 AC_CHECK_HEADER(X11/X.h,
1021 if test "x$want_evas_simple_x11" = "xyes"; then
1022 x_libs="${x_libs} -lX11 -lXext"
1024 x_dir=${x_dir:-/usr/X11R6}
1025 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
1026 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
1028 have_ecore_x_xlib="yes"
1032 if test "x$have_ecore_x_xlib" = "xyes"; then
1037 CFLAGS="$x_cflags $x_includes"
1039 if test "x$want_ecore_x_cursor" = "xyes"; then
1040 AC_CHECK_HEADER(X11/Xcursor/Xcursor.h,
1042 AC_CHECK_LIB(Xcursor, XcursorImageLoadCursor,
1044 AC_DEFINE(ECORE_XCURSOR, 1, [Build support for Xcursor])
1046 Xcursor_libs="-lXcursor"
1061 #include <X11/Xlib.h>
1069 AC_MSG_NOTICE("Xcursor explicitly disabled")
1072 AC_SUBST(Xcursor_cflags)
1073 AC_SUBST(Xcursor_libs)
1075 ECORE_CHECK_X_EXTENSION([Xkb], [XKB.h], [X11], [XkbSetDetectableAutoRepeat], [$want_ecore_x_xkb])
1076 ECORE_CHECK_X_EXTENSION([Xcomposite], [Xcomposite.h], [Xcomposite], [XCompositeQueryExtension], [$want_ecore_x_composite])
1077 ECORE_CHECK_X_EXTENSION([Xdamage], [Xdamage.h], [Xdamage], [XDamageSubtract], [$want_ecore_x_damage])
1078 ECORE_CHECK_X_EXTENSION([Xdpms], [dpms.h], [Xdpms], [DPMSQueryExtension], [$want_ecore_x_dpms])
1079 if test "x$use_xdpms" = "xno" ; then
1080 ECORE_CHECK_X_EXTENSION([Xdpms], [dpms.h], [Xext], [DPMSQueryExtension], [$want_ecore_x_dpms])
1082 ECORE_CHECK_X_EXTENSION([Xfixes], [Xfixes.h], [Xfixes], [XFixesExpandRegion], [$want_ecore_x_xfixes])
1083 ECORE_CHECK_X_EXTENSION([Xinerama], [Xinerama.h], [Xinerama], [XineramaQueryScreens], [$want_ecore_x_xinerama])
1084 ECORE_CHECK_X_EXTENSION([Xprint], [Print.h], [Xp], [XpQueryScreens], [$want_ecore_x_xprint])
1085 ECORE_CHECK_X_EXTENSION([Xrandr], [Xrandr.h], [Xrandr], [XRRGetScreenResourcesCurrent], [$want_ecore_x_randr])
1086 ECORE_CHECK_X_EXTENSION([Xrender], [Xrender.h], [Xrender], [XRenderFindVisualFormat], [$want_ecore_x_render])
1087 ECORE_CHECK_X_EXTENSION([Xtest], [XTest.h], [Xtst], [XTestFakeKeyEvent], [$want_ecore_x_xtest])
1088 ECORE_CHECK_X_EXTENSION([Xss], [scrnsaver.h], [Xss], [XScreenSaverSelectInput], [$want_ecore_x_screensaver])
1089 ECORE_CHECK_X_EXTENSION([Xi2], [XInput2.h], [Xi], [XIQueryDevice], [$want_ecore_x_input])
1091 ecore_x_libs_private="${Xcursor_libs} ${XKB_LIBS} ${XCOMPOSITE_LIBS} ${XDAMAGE_LIBS} ${XDPMS_LIBS} ${XFIXES_LIBS} ${XINERAMA_LIBS} ${XPRINT_LIBS} ${XRANDR_LIBS} ${XRENDER_LIBS} ${XTEST_LIBS} ${XSS_LIBS} ${XI2_LIBS}"
1093 AC_DEFINE(HAVE_ECORE_X_XLIB, 1, [Defined to 1 if Xlib is enabled.])
1096 have_ecore_x_xlib="yes"
1101 AC_SUBST(x_includes)
1103 AC_SUBST(ecore_x_libs_private)
1105 AM_CONDITIONAL(BUILD_ECORE_X_XLIB, test $have_ecore_x_xlib = yes)
1106 AM_CONDITIONAL(BUILD_ECORE_X_XCB, test $have_ecore_x_xcb = yes)
1109 # Evas library (ecore_config, ecore_input_evas, ecore_imf_evas and ecore_evas)
1111 PKG_CHECK_MODULES([EVAS], [evas >= 1.0.0],
1116 ### Checks for header files
1118 AC_CHECK_HEADERS([sys/select.h])
1128 AC_DEFINE(HAVE_DLFCN_H, 1, [Define to 1 if you have the <dlfcn.h> header file.])
1129 AC_DEFINE(HAVE_SYS_MMAN_H, 1, [Define to 1 if you have the <sys/mman.h> header file.])
1130 AC_DEFINE(HAVE_SYS_TIME_H, 1, [Define to 1 if you have the <sys/time.h> header file.])
1134 AC_CHECK_HEADERS([dlfcn.h features.h langinfo.h locale.h sys/time.h sys/mman.h signal.h sys/resource.h])
1140 AC_CHECK_HEADERS([arpa/inet.h arpa/nameser.h netinet/tcp.h netinet/in.h sys/socket.h sys/un.h ws2tcpip.h netdb.h])
1142 if test "x${ac_cv_header_netdb_h}" = "xyes" ; then
1146 # Framebuffer (ecore_fb)
1148 AC_CHECK_HEADER([linux/fb.h],
1149 [AC_CHECK_HEADER([linux/input.h], [have_fb="yes"])])
1151 # Cocoa header files (ecore_cocoa)
1155 m4_ifdef([AC_PROG_OBJC], [
1156 if test "x${have_gnu_objc}" = "xyes" ; then
1157 AC_LANG_PUSH([Objective C])
1158 AC_CHECK_HEADER([Cocoa/Cocoa.h],
1161 cocoa_ldflags="-framework Cocoa"
1163 AC_LANG_POP([Objective C])
1166 AC_SUBST(cocoa_ldflags)
1169 AC_ARG_ENABLE(epoll,
1170 AC_HELP_STRING([--enable-epoll], [enable or disable epoll support]),
1171 [want_epoll=$enableval])
1173 if test "x${want_epoll}" = "xyes" ; then
1174 # check for epoll support
1175 AC_CHECK_HEADERS([sys/epoll.h])
1179 AC_CHECK_HEADERS([sys/timerfd.h])
1180 AC_CHECK_FUNCS(timerfd_create)
1186 if test "x${_efl_have_posix_threads}" = "xyes" ; then
1187 have_threads="POSIX"
1189 if test "x${_efl_have_win32_threads}" = "xyes" ; then
1190 have_threads="Win32"
1196 [have_threads="no"])
1198 ### enable thread safety if we have threads, unless specifically asked not to
1199 if test "x${have_threads}" = "xno"
1201 want_thread_safety="no"
1203 want_thread_safety="no" # to be changed to yes when ready
1204 AC_ARG_ENABLE(thread-safety,
1205 AC_HELP_STRING([--enable-thread-safety], [enable or disable thread safety]),
1206 [want_thread_safety=$enableval])
1209 if test "x${want_thread_safety}" = "xyes"
1211 AC_DEFINE([HAVE_THREAD_SAFETY], [1], [Define to enable thread safety])
1214 ### Checks for types
1215 AC_CHECK_SIZEOF(int, 4)
1216 AC_CHECK_SIZEOF(long, 4)
1219 ### Checks for structures
1222 ### Checks for compiler characteristics
1233 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
1236 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
1237 WIN32_CFLAGS="-mwin32"
1240 WIN32_CPPFLAGS="-D_WIN32_WINNT=0x0501"
1243 AC_SUBST(WIN32_CPPFLAGS)
1244 AC_SUBST(WIN32_CFLAGS)
1247 ### Checks for linker characteristics
1249 # use --enable-auto-import on Windows
1251 lt_enable_auto_import=""
1254 lt_enable_auto_import="-Wl,--enable-auto-import"
1257 AC_SUBST(lt_enable_auto_import)
1259 ### Checks for library functions
1262 AC_CHECK_FUNCS([gettimeofday strlcpy execvp])
1270 int i = isfinite(0);
1273 AC_DEFINE(HAVE_ISFINITE, 1, [Define to 1 if you have `isfinite', as a function or macro.])
1276 [have_isfinite="no"])
1278 AC_MSG_CHECKING([for isfinite])
1279 AC_MSG_RESULT([${have_isfinite}])
1281 have_atfile_source=auto
1282 AC_ARG_ENABLE([atfile-source],
1283 [AC_HELP_STRING([--disable-atfile-source],
1284 [disable use of atfile source functions as openat and mkdirat @<:@default=detect@:>@])],
1286 if test "x${enableval}" = "xyes" ; then
1287 have_atfile_source="yes"
1289 have_atfile_source="no"
1291 [have_atfile_source=auto])
1293 if ! test "x${have_atfile_source}" = "xno" ; then
1294 AC_CHECK_FUNCS(mkdirat,
1296 have_atfile_source="yes"
1297 AC_DEFINE(HAVE_ATFILE_SOURCE, 1, [mkdirat exists])
1300 if test "x${have_atfile_source}" = "xyes" ; then
1301 AC_MSG_ERROR([required atfile-source but no mkdirat()])
1303 have_atfile_source="no"
1307 ### Checks for optionnal feature
1308 AC_CHECK_FUNC([mallinfo],
1311 AC_DEFINE(HAVE_MALLINFO, 1, [Gather memory statistic])
1313 [have_mallinfo="no"])
1320 ECORE_CHECK_MODULE([con], [${want_ecore_con}], [Con], [${have_addrinfo}])
1326 if test "x${have_ecore_con}" = "xyes" ; then
1328 # Verify IPV6 availability in headers
1330 AC_CHECK_TYPES([struct ipv6_mreq], [have_ipv6="yes"], [have_ipv6="no"],
1332 #ifdef HAVE_NETINET_IN_H
1333 # include <netinet/in.h>
1335 #ifdef HAVE_WS2TCPIP_H
1336 # include <ws2tcpip.h>
1340 if test "x${have_ipv6}" = "xyes" ; then
1341 AC_DEFINE(HAVE_IPV6, 1, [Define if IPV6 is supported])
1344 ECORE_CHECK_CURL([${want_curl}],
1347 requirements_ecore_con="libcurl ${requirements_ecore_con}"
1351 ECORE_CHECK_GNUTLS([${want_gnutls}],
1352 [have_gnutls="yes"],
1355 ECORE_CHECK_OPENSSL([${want_openssl}],
1356 [have_openssl="yes"],
1357 [have_openssl="no"])
1359 if test "x${have_gnutls}" = "xyes" ; then
1360 requirements_ecore_con="gnutls ${requirements_ecore_con}"
1361 # no need to add it to req_ecore_ipc, since they
1362 # depends on ecore_con anyway.
1364 if test "x${have_openssl}" = "xyes" ; then
1365 requirements_ecore_con="openssl ${requirements_ecore_con}"
1366 # no need to add it to req_ecore_ipc, since they
1367 # depends on ecore_con anyway.
1371 ECORE_CHECK_CARES([${want_cares}],
1374 requirements_ecore_con="libcares ${requirements_ecore_con}"
1380 AM_CONDITIONAL([HAVE_CARES], [test "x${have_cares}" = "xyes"])
1383 ECORE_CHECK_MODULE([ipc], [${want_ecore_ipc}], [Ipc], [${have_ecore_con}],
1384 [requirements_ecore_ipc="ecore-con >= 1.0.0 ${requirements_ecore_ipc}"])
1387 ECORE_CHECK_MODULE([file], [${want_ecore_file}], [File])
1391 have_notify_win32="no"
1392 if test "x${have_ecore_file}" = "xyes" ; then
1393 ECORE_CHECK_POLL([${want_poll}], [have_poll="yes"], [have_poll="no"])
1394 ECORE_CHECK_INOTIFY([${want_inotify}], [have_inotify="yes"], [have_inotify="no"])
1395 ECORE_CHECK_NOTIFY_WIN32([${want_notify_win32}], [have_notify_win32="yes"], [have_notify_win32="no"])
1397 if test "x${have_ecore_con}" = "xyes" ; then
1398 requirements_ecore_file="ecore-con >= 1.0.0 ${requirements_ecore_file}"
1400 ECORE_CHECK_CURL([${want_curl}],
1403 requirements_ecore_file="libcurl ${requirements_ecore_file}"
1411 #ecore_config_deps="no"
1412 #if test "x${have_eet}" = "xyes" -a "x${have_evas}" -a "x${have_ecore_ipc}" ; then
1413 # ecore_config_deps="yes"
1416 #ECORE_CHECK_MODULE([config], [${want_ecore_config}], [Config], [${ecore_config_deps}],
1417 # [requirements_ecore_config="ecore-ipc >= 1.0.0 evas >= 1.0.0 eet >= 1.4.0 ${requirements_ecore_config}"])
1419 AM_CONDITIONAL(BUILD_ECORE_CONFIG, false)
1423 ECORE_CHECK_MODULE([imf], [${want_ecore_imf}], [Imf])
1427 ecore_imf_evas_deps="no"
1428 if test "x${have_ecore_imf}" = "xyes" -a "x${have_evas}" = "xyes" ; then
1429 ecore_imf_evas_deps="yes"
1432 ECORE_CHECK_MODULE([imf-evas], [${want_ecore_imf}], [Imf_Evas], [${ecore_imf_evas_deps}],
1433 [requirements_ecore_imf_evas="ecore-imf >= 1.0.0 evas >= 1.0.0 ${requirements_ecore_imf_evas}"])
1435 # ecore_input{_evas}
1436 ECORE_CHECK_MODULE([input], [${want_ecore_input}], [Input])
1437 ECORE_CHECK_MODULE([input-evas], [${want_ecore_input}], [Input_Evas], [${have_evas}],
1438 [requirements_ecore_input_evas="ecore-input >= 1.0.0 evas >= 1.0.0 ${requirements_ecore_input}"])
1441 AM_CONDITIONAL(BUILD_ECORE_IMF_XIM, false)
1442 ecore_imf_xim_deps="no"
1443 echo "have_ecore_x_xlib: ${have_ecore_x_xlib}"
1444 if test "x${have_ecore_imf}" = "xyes" \
1445 -a "x${have_ecore_x_xlib}" = "xyes" \
1446 -a "x${have_ecore_input}" = "xyes" ; then
1447 ecore_imf_xim_deps="yes"
1448 AC_DEFINE(BUILD_ECORE_IMF_XIM, 1, [Ecore Imf XIM Support])
1451 ECORE_CHECK_MODULE([imf-xim], [${want_ecore_imf}], [Imf_XIM], [${ecore_imf_xim_deps}],
1452 [requirements_ecore_imf_xim="ecore-imf >= 1.0.0 ecore-x >= 1.0.0 ecore-input >= 1.0.0 ${requirements_ecore_imf_xim}"])
1459 if test "x${have_x}" = "xyes" -a \
1460 "x${have_ecore_input}" = "xyes" ; then
1464 ECORE_CHECK_MODULE([x], [${want_ecore_x}], [X], [${ecore_x_deps}],
1466 ecore_x_libs="$ecore_x_libs $x_libs"
1467 requirements_ecore_x="ecore-input >= 1.0.0 ${requirements_ecore_x}"
1472 ECORE_CHECK_MODULE([win32], [${want_ecore_win32}], [Win32], [${have_ecore_input}],
1474 ecore_win32_libs="-lole32 -lgdi32"
1475 requirements_ecore_win32="ecore-input >= 1.0.0 ${requirements_ecore_win32}"
1477 AC_SUBST(ecore_win32_libs)
1481 ecore_cocoa_deps="no"
1482 if test "x${have_ecore_input}" = "xyes" -a "x${have_cocoa}" = "xyes" ; then
1483 ecore_cocoa_deps="yes"
1486 ECORE_CHECK_MODULE([cocoa], [${want_ecore_cocoa}], [Cocoa], [${ecore_cocoa_deps}],
1487 [requirements_ecore_cocoa="ecore-input >= 1.0.0 ${requirements_ecore_cocoa}"])
1492 if test "x${have_sdl}" = "xyes" -a "x${have_ecore_input}" = "xyes" ; then
1493 ecore_sdl_deps="yes"
1496 ECORE_CHECK_MODULE([sdl], [${want_ecore_sdl}], [Sdl], [${ecore_sdl_deps}],
1497 [requirements_ecore_sdl="ecore-input >= 1.0.0 ${requirements_ecore_sdl}"])
1500 ECORE_CHECK_MODULE([fb], [${want_ecore_fb}], [FB], [$have_fb])
1502 if test "x${have_ecore_fb}" = "xyes" ; then
1503 ECORE_CHECK_TSLIB([${want_tslib}],
1506 requirements_ecore_fb="${_tslib_requirement} ${requirements_ecore_fb}"
1513 ECORE_CHECK_MODULE([directfb], [${want_ecore_directfb}], [DirectFB], [${have_directfb}],
1514 [requirements_ecore_directfb="directfb ${requirements_ecore_directfb}"])
1518 ECORE_CHECK_MODULE([wince], [${want_ecore_wince}], [WinCE], [${have_ecore_input}],
1519 [requirements_ecore_win32="ecore-input >= 1.0.0 ${requirements_ecore_win32}"])
1525 ecore_evas_deps="no"
1526 if test "x${have_evas}" = "xyes" -a "x${have_ecore_input}" = "xyes" -a "x${have_ecore_input_evas}" = "xyes" ; then
1527 ecore_evas_deps="yes"
1530 ECORE_CHECK_MODULE([evas], [${want_ecore_evas}], [Evas], [${ecore_evas_deps}],
1531 [requirements_ecore_evas="ecore-input >= 1.0.0 ecore-input-evas >= 1.0.0 evas >= 1.0.0 ${requirements_ecore_evas}"])
1535 ECORE_EVAS_CHECK_MODULE([software-buffer],
1536 [${want_ecore_evas_software_buffer}],
1542 # ecore_evas_software_x11
1544 ECORE_EVAS_CHECK_MODULE([software-x11],
1545 [${want_ecore_evas_software_x11}],
1549 have_ecore_evas_software_xlib="no"
1550 have_ecore_evas_software_xcb="no"
1551 if test "x$have_ecore_evas_software_x11" = "xyes" ; then
1552 have_ecore_evas_software_xlib=`${PKG_CONFIG} --variable=Xlib evas-software-x11`
1553 if test "x${have_ecore_evas_software_xlib}" = "xstatic"; then
1554 have_ecore_evas_software_xlib="yes"
1556 if test "x${have_ecore_evas_software_xlib}" = "xyes" -a "x${have_ecore_x_xlib}" = "xyes" ; then
1557 AC_DEFINE(BUILD_ECORE_EVAS_SOFTWARE_XLIB, 1, [Evas Software Xlib Engine Support])
1559 have_ecore_evas_software_xcb=`${PKG_CONFIG} --variable=XCB evas-software-x11`
1560 if test "x$have_ecore_evas_software_xcb" = "xstatic"; then
1561 have_ecore_evas_software_xcb="yes"
1563 if test "x$have_ecore_evas_software_xcb" = "xyes" -a "x${have_ecore_x_xcb}" = "xyes" ; then
1564 AC_DEFINE(BUILD_ECORE_EVAS_SOFTWARE_XCB, 1, [Evas Software XCB Engine Support])
1568 # ecore_evas_opengl_x11
1570 ECORE_EVAS_CHECK_MODULE([opengl-x11],
1571 [${want_ecore_evas_opengl_x11}],
1575 have_ecore_evas_opengl_xlib="no"
1576 have_ecore_evas_opengl_xcb="no"
1577 if test "x${have_ecore_evas_opengl_x11}" = "xyes" -o "x${have_ecore_evas_opengl_x11}" = "xstatic" ; then
1578 have_ecore_evas_opengl_xlib=`${PKG_CONFIG} --variable=Xlib evas-opengl-x11`
1579 if test "x${have_ecore_evas_opengl_xlib}" = "xyes" ; then
1580 AC_DEFINE(BUILD_ECORE_EVAS_OPENGL_XLIB, 1, [OpenGL Xlib rendering backend])
1583 # opengl does not work with xcb (yet)
1584 have_ecore_evas_opengl_xcb=`${PKG_CONFIG} --variable=XCB evas-opengl-x11`
1585 if test "x${have_ecore_evas_opengl_xcb}" = "xstatic"; then
1586 have_ecore_evas_opengl_xcb="yes"
1588 if test "x${have_ecore_evas_opengl_xcb}" = "xyes" -a "x${have_ecore_x_xcb}" = "xyes" ; then
1589 PKG_CHECK_MODULES(XCB_X11, x11-xcb,
1590 [ have_ecore_x_opengl_xcb="yes"
1591 requirements_ecore_x="x11-xcb ${requirements_ecore_x}"
1592 AC_DEFINE(BUILD_ECORE_X_OPENGL_XCB, 1, [Build support for XCB-based OpenGL])
1593 AC_DEFINE(BUILD_ECORE_EVAS_OPENGL_XCB, 1, [OpenGL XCB rendering backend])
1595 [ have_ecore_x_opengl_xcb="no" ])
1597 have_ecore_x_opengl_xcb="no"
1598 AC_MSG_NOTICE("XCB-based OpenGL explicitly disabled")
1602 # ecore_evas_software_x11 16 bits
1604 ECORE_EVAS_CHECK_MODULE([software-16-x11],
1605 [${want_ecore_evas_software_16_x11}],
1606 [Software Xlib 16 bits],
1607 [${have_ecore_x_xlib}])
1609 ECORE_EVAS_CHECK_MODULE([software-8-x11],
1610 [$want_ecore_evas_software_8_x11],
1611 [Software 8bit X11],
1615 if test "x$have_ecore_evas_software_x11" = "xyes" -o \
1616 "x$have_ecore_evas_opengl_x11" = "xyes" -o \
1617 "x$have_ecore_evas_software_8_x11" = "xyes" -o \
1618 "x$have_ecore_evas_software_16_x11" = "xyes" -o \
1619 "x$have_ecore_evas_software_xcb" = "xyes"; then
1620 AC_DEFINE(BUILD_ECORE_EVAS_X11, 1, [Support for X Window Engines in Ecore_Evas])
1621 requirements_ecore_evas="ecore-x >= 1.0.0 ${requirements_ecore_evas}"
1626 ECORE_EVAS_CHECK_MODULE([software-gdi],
1627 [${want_ecore_evas_software_gdi}],
1629 [${have_ecore_win32}])
1631 ECORE_EVAS_CHECK_MODULE([software-ddraw],
1632 [${want_ecore_evas_software_ddraw}],
1633 [Software DirectDraw],
1634 [${have_ecore_win32}])
1636 ECORE_EVAS_CHECK_MODULE([direct3d],
1637 [${want_ecore_evas_direct3d}],
1639 [${have_ecore_win32}])
1641 ECORE_EVAS_CHECK_MODULE([opengl-glew],
1642 [${want_ecore_evas_opengl_glew}],
1644 [${have_ecore_win32}])
1646 ECORE_EVAS_CHECK_MODULE([software-16-ddraw],
1647 [${want_ecore_evas_software_16_ddraw}],
1648 [16 bpp Software DirectDraw],
1649 [${have_ecore_win32}])
1651 if test "x${have_ecore_evas_software_gdi}" = "xyes" -o \
1652 "x${have_ecore_evas_software_ddraw}" = "xyes" -o \
1653 "x${have_ecore_evas_direct3d}" = "xyes" -o \
1654 "x${have_ecore_evas_opengl_glew}" = "xyes" -o \
1655 "x${have_ecore_evas_software_16_ddraw}" = "xyes" ; then
1656 AC_DEFINE(BUILD_ECORE_EVAS_WIN32, 1, [Support for Win32 Engine in Ecore_Evas])
1657 requirements_ecore_evas="ecore-win32 >= 1.0.0 ${requirements_ecore_evas}"
1660 # ecore_evas_software_sdl
1662 ECORE_EVAS_CHECK_MODULE([software-sdl],
1663 [${want_ecore_evas_software_sdl}],
1665 [${have_ecore_sdl}],
1666 [requirements_ecore_evas="ecore-sdl >= 1.0.0 ${requirements_ecore_evas}"])
1670 ECORE_EVAS_CHECK_MODULE([opengl-sdl],
1671 [${want_ecore_evas_gl_sdl}],
1673 [${have_ecore_sdl}],
1674 [requirements_ecore_evas="ecore-sdl >= 1.0.0 ${requirements_ecore_evas}"])
1676 # ecore_evas_directfb
1678 ECORE_EVAS_CHECK_MODULE([directfb],
1679 [${want_ecore_evas_directfb}],
1681 [${have_ecore_directfb}],
1682 [requirements_ecore_evas="ecore-directfb >= 1.0.0 ${requirements_ecore_evas}"])
1686 ECORE_EVAS_CHECK_MODULE([fb],
1687 [${want_ecore_evas_fb}],
1688 [Linux Framebuffer],
1690 [requirements_ecore_evas="ecore-fb >= 1.0.0 ${requirements_ecore_evas}"])
1694 ECORE_EVAS_CHECK_MODULE([software-16-wince],
1695 [${want_ecore_evas_software_16_wince}],
1696 [16 bpp Software Windows CE],
1697 [${have_ecore_wince}],
1698 [requirements_ecore_evas="ecore-wince >= 1.0.0 ${requirements_ecore_evas}"])
1700 ### install and build examples
1702 EFL_CHECK_BUILD_EXAMPLES([enable_build_examples="yes"], [enable_build_examples="no"])
1703 EFL_CHECK_INSTALL_EXAMPLES([enable_install_examples="yes"], [enable_install_examples="no"])
1707 AC_SUBST(requirements_ecore)
1708 AC_SUBST(requirements_ecore_con)
1709 #AC_SUBST(requirements_ecore_config)
1710 AC_SUBST(requirements_ecore_directfb)
1711 AC_SUBST(requirements_ecore_evas)
1712 AC_SUBST(requirements_ecore_fb)
1713 AC_SUBST(requirements_ecore_file)
1714 AC_SUBST(requirements_ecore_imf)
1715 AC_SUBST(requirements_ecore_imf_evas)
1716 AC_SUBST(requirements_ecore_input)
1717 AC_SUBST(requirements_ecore_input_evas)
1718 AC_SUBST(requirements_ecore_ipc)
1719 AC_SUBST(requirements_ecore_cocoa)
1720 AC_SUBST(requirements_ecore_sdl)
1721 AC_SUBST(requirements_ecore_x)
1722 AC_SUBST(requirements_ecore_win32)
1723 AC_SUBST(requirements_ecore_wince)
1724 AC_SUBST(requirements_ecore_imf_xim)
1752 src/lib/ecore/Makefile
1753 src/lib/ecore_con/Makefile
1754 src/lib/ecore_config/Makefile
1755 src/lib/ecore_directfb/Makefile
1756 src/lib/ecore_evas/Makefile
1757 src/lib/ecore_fb/Makefile
1758 src/lib/ecore_file/Makefile
1759 src/lib/ecore_cocoa/Makefile
1760 src/lib/ecore_sdl/Makefile
1761 src/lib/ecore_imf/Makefile
1762 src/lib/ecore_imf_evas/Makefile
1763 src/lib/ecore_input/Makefile
1764 src/lib/ecore_input_evas/Makefile
1765 src/lib/ecore_ipc/Makefile
1766 src/lib/ecore_win32/Makefile
1767 src/lib/ecore_wince/Makefile
1768 src/lib/ecore_x/Makefile
1769 src/lib/ecore_x/xlib/Makefile
1770 src/lib/ecore_x/xcb/Makefile
1771 src/examples/Makefile
1773 src/modules/Makefile
1774 src/modules/immodules/Makefile
1775 src/modules/immodules/xim/Makefile
1784 echo "$PACKAGE $VERSION"
1786 echo "Optional Modules:"
1790 echo " Ecore........................: always"
1791 echo " Thread support.............: $have_threads"
1792 echo " Thread safety..............: $want_thread_safety"
1793 echo " GLib support...............: $have_glib"
1794 echo " Always integrate GLib......: $want_glib_integration_always"
1795 echo " Use g_main_loop............: $want_g_main_loop"
1796 echo " Gathering memory statistic.: $have_mallinfo"
1797 echo " Gathering timer allocation.: $want_ecore_timer_dump"
1798 echo " Ecore_Con....................: $have_ecore_con"
1799 if test "x$have_ecore_con" = "xyes" ; then
1800 echo $ECHO_N " OpenSSL....................: $have_openssl $ECHO_C"
1801 if test "x$have_gnutls" = "xyes" ; then
1806 echo " GnuTLS.....................: $have_gnutls"
1807 echo " CURL.......................: $have_curl"
1808 echo " Local Sockets..............: $want_ecore_con_local_sockets"
1809 if test "x$want_ecore_con_local_sockets" = "xyes" ; then
1810 echo " Abstract Sockets.........: $want_ecore_con_abstract_sockets"
1812 echo " c-ares.....................: $have_cares"
1814 echo " Ecore_Ipc....................: $have_ecore_ipc"
1815 if test "x$have_ecore_ipc" = "xyes" ; then
1816 echo $ECHO_N " OpenSSL....................: $have_openssl $ECHO_C"
1817 if test "x$have_gnutls" = "xyes" ; then
1822 echo " GnuTLS.....................: $have_gnutls"
1824 echo " Ecore_File...................: $have_ecore_file"
1825 if test "x$have_ecore_file" = "xyes" ; then
1826 echo " Inotify....................: $have_inotify"
1827 echo " Windows notification.......: $have_notify_win32"
1828 echo " Poll.......................: $have_poll"
1829 echo " CURL.......................: $have_curl"
1831 #echo " Ecore_Config.................: $have_ecore_config (deprecated)"
1832 echo " Ecore_IMF....................: $have_ecore_imf"
1833 echo " XIM........................: $have_ecore_imf_xim"
1834 echo " Ecore_IMF_Evas...............: $have_ecore_imf_evas"
1835 echo " Ecore_Input..................: $have_ecore_input"
1836 echo " Ecore_Input_Evas.............: $have_ecore_input_evas"
1839 echo " Graphic systems:"
1842 if test "x$have_ecore_x" = "xyes" ; then
1843 if test "x$have_ecore_x_xcb" = "xyes" ; then
1844 echo " Ecore_X (XCB backend)........: $have_ecore_x_xcb"
1845 echo " Xprint.....................: $have_ecore_x_xcb_xprint"
1846 echo " Xinerama...................: $have_ecore_x_xcb_xinerama"
1847 echo " Xrandr.....................: $have_ecore_x_xcb_randr"
1848 echo " Xscreensaver...............: $have_ecore_x_xcb_screensaver"
1849 echo " Xshape.....................: $have_ecore_x_xcb_shape"
1850 echo " Xsync......................: $have_ecore_x_xcb_sync"
1851 echo " Xrender....................: $have_ecore_x_xcb_render"
1852 echo " Xcomposite.................: $have_ecore_x_xcb_composite"
1853 echo " Xfixes.....................: $have_ecore_x_xcb_xfixes"
1854 echo " Xdamage....................: $have_ecore_x_xcb_damage"
1855 echo " Xdpms......................: $have_ecore_x_xcb_dpms"
1856 echo " Xtest......................: $have_ecore_x_xcb_xtest"
1858 echo " Ecore_X (Xlib backend).......: $have_ecore_x"
1859 echo " Xcursor....................: $use_Xcursor"
1860 echo " Xkb........................: $use_xkb"
1861 echo " Xprint.....................: $use_xprint"
1862 echo " Xinerama...................: $use_xinerama"
1863 echo " Xrandr.....................: $use_xrandr"
1864 echo " Xscreensaver...............: $use_xss"
1865 echo " Xrender....................: $use_xrender"
1866 echo " Xcomposite.................: $use_xcomposite"
1867 echo " Xfixes.....................: $use_xfixes"
1868 echo " Xdamage....................: $use_xdamage"
1869 echo " Xdpms......................: $use_xdpms"
1870 echo " Xtest......................: $use_xtest"
1871 echo " XIM........................: $want_xim"
1872 echo " Xi2........................: $use_xi2"
1875 echo " Ecore_X......................: $have_ecore_x"
1877 echo " Ecore_Win32..................: $have_ecore_win32"
1878 echo " Ecore_Cocoa..................: $have_ecore_cocoa"
1879 echo " Ecore_SDL....................: $have_ecore_sdl"
1880 echo " Ecore_FB.....................: $have_ecore_fb"
1881 if test "x${have_ecore_fb}" = "xyes" ; then
1882 echo " Touchscreen................: $have_tslib"
1884 echo " Ecore_DirectFB...............: $have_ecore_directfb"
1885 echo " Ecore_WinCE..................: $have_ecore_wince"
1891 echo " Ecore_Evas...................: $have_ecore_evas"
1892 if test "x${have_ecore_evas}" = "xyes" ; then
1893 echo " Software Memory Buffer.....: $have_ecore_evas_software_buffer"
1894 if test "x${have_ecore_evas_software_x11}" = "xyes" ; then
1895 echo " Software X11...............: $have_ecore_evas_software_x11 (Xlib=${have_ecore_evas_software_xlib}) (XCB=${have_ecore_evas_software_xcb})"
1897 echo " Software X11...............: $have_ecore_evas_software_x11"
1899 if test "x${have_ecore_evas_opengl_x11}" = "xyes" ; then
1900 echo " OpenGL X11.................: $have_ecore_evas_opengl_x11 (Xlib=${have_ecore_evas_opengl_xlib}) (XCB=${have_ecore_evas_opengl_xcb})"
1902 echo " OpenGL X11.................: $have_ecore_evas_opengl_x11"
1904 echo " Software GDI...............: $have_ecore_evas_software_gdi"
1905 echo " Software DirectDraw........: $have_ecore_evas_software_ddraw"
1906 echo " Direct3D...................: $have_ecore_evas_direct3d"
1907 echo " OpenGL Glew................: $have_ecore_evas_opengl_glew"
1908 echo " Software SDL...............: $have_ecore_evas_software_sdl"
1909 echo " OpenGL SDL.................: $have_ecore_evas_opengl_sdl"
1910 echo " DirectFB...................: $have_ecore_evas_directfb"
1911 echo " Software Framebuffer.......: $have_ecore_evas_fb"
1912 echo " Software 8bit grayscale XCB: $have_ecore_evas_software_8_x11"
1913 echo " Software 16bit X11.........: $have_ecore_evas_software_16_x11"
1914 echo " Software 16bit DirectDraw..: $have_ecore_evas_software_16_ddraw"
1915 echo " Software 16bit WinCE.......: $have_ecore_evas_software_16_wince"
1918 echo " Tests................: ${enable_tests}"
1919 echo " Maximum log level....: ${with_max_log_level}"
1920 echo "Documentation..........: ${build_doc}"
1922 echo "Compilation............: make (or gmake)"
1923 echo " CPPFLAGS.............: $CPPFLAGS"
1924 echo " CFLAGS...............: $CFLAGS"
1925 echo " CXXFLAGS.............: $CXXFLAGS"
1926 echo " LDFLAGS..............: $LDFLAGS"
1928 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
1929 echo " prefix...............: $prefix"