1 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3 m4_define([v_maj], [0])
4 m4_define([v_min], [9])
5 m4_define([v_mic], [9])
6 m4_define([v_rev], m4_esyscmd([svnversion . | awk -F : '{printf("%s", $1);}' | tr 'A-z' ' ' | sed 's/ //g']))
7 m4_ifelse(m4_len[v_rev], [0], [m4_undefine([v_rev])])
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 m4_define([relname], [ver-pre-svn-05])
12 m4_define([v_rel], [-release relname])
13 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
14 m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])],
15 [m4_define([v_ver], [v_maj.v_min.v_mic])])
16 m4_define([lt_rev], m4_eval(v_maj + v_min))
17 m4_define([lt_cur], v_mic)
18 m4_define([lt_age], v_min)
19 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
20 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
22 AC_INIT([ecore], [v_ver], [enlightenment-devel@lists.sourceforge.net])
23 release="ver-pre-svn-05"
25 AC_CONFIG_SRCDIR([configure.ac])
26 AC_CONFIG_MACRO_DIR([m4])
31 AM_INIT_AUTOMAKE([1.6 dist-bzip2])
32 AM_CONFIG_HEADER([config.h])
33 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
38 define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
41 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
42 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
43 m4_ifdef([v_rev], , [m4_define([v_rev], [0])])
44 m4_ifdef([v_rel], , [m4_define([v_rel], [])])
45 AC_DEFINE_UNQUOTED(VMAJ, [v_maj], [Major version])
46 AC_DEFINE_UNQUOTED(VERS_MIN, [v_min], [Minor version])
47 AC_DEFINE_UNQUOTED(VMIC, [v_mic], [Micro version])
48 AC_DEFINE_UNQUOTED(VREV, [v_rev], [Revison])
49 version_info="lt_rev:lt_cur:lt_age"
51 AC_SUBST(version_info)
52 AC_SUBST(release_info)
53 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
54 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
56 AM_GNU_GETTEXT_VERSION([0.12.1])
57 AM_GNU_GETTEXT([external])
61 with_max_log_level="<unset>"
62 AC_ARG_WITH(internal-maximum-log-level,
63 [AC_HELP_STRING([--with-internal-maximum-log-level=NUMBER],
64 [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.])],
66 if test "x${withval}" != "xno"; then
67 if echo "${withval}" | grep '^[[0-9]]\+$' >/dev/null 2>/dev/null; then
68 AC_MSG_NOTICE([ignoring any EINA_LOG() with level greater than ${withval}])
69 AC_DEFINE_UNQUOTED(EINA_LOG_LEVEL_MAXIMUM, ${withval}, [if set, logging is limited to this amount.])
70 with_max_log_level="${withval}"
72 AC_MSG_ERROR([--with-internal-maximum-log-level takes a decimal number, got "${withval}" instead.])
78 ### Default options with respect to host
80 # dependencies and options
82 want_abstract_sockets="no"
90 want_notify_win32="no"
98 want_ecore_config="no"
100 want_ecore_input="yes"
102 # graphic system modules
103 want_evas_simple_x11="no"
104 want_ecore_x_xcb="no"
106 want_ecore_win32="no"
107 want_ecore_cocoa="no"
110 want_ecore_directfb="no"
111 want_ecore_wince="no"
113 # ecore_x options (both xlib and xcb)
114 want_ecore_x_composite="yes"
115 want_ecore_x_damage="yes"
116 want_ecore_x_dpms="yes"
117 want_ecore_x_randr="yes"
118 want_ecore_x_render="yes"
119 want_ecore_x_screensaver="yes"
120 want_ecore_x_shape="yes"
121 want_ecore_x_sync="yes"
122 want_ecore_x_xfixes="yes"
123 want_ecore_x_xinerama="yes"
124 want_ecore_x_xprint="yes"
125 want_ecore_x_xtest="yes"
126 want_ecore_x_cursor="yes"
127 want_ecore_x_input="yes"
130 want_ecore_evas="yes"
131 want_ecore_evas_software_buffer="yes"
132 want_ecore_evas_software_x11="no"
133 want_ecore_evas_xrender_x11="no"
134 want_ecore_evas_opengl_x11="no"
135 want_ecore_evas_software_16_x11="no"
136 want_ecore_evas_software_xcb="no"
137 want_ecore_evas_xrender_xcb="no"
138 want_ecore_evas_software_gdi="no"
139 want_ecore_evas_software_ddraw="no"
140 want_ecore_evas_direct3d="no"
141 want_ecore_evas_opengl_glew="no"
142 want_ecore_evas_software_16_ddraw="no"
143 want_ecore_evas_cocoa="no"
144 want_ecore_evas_software_sdl="no"
145 want_ecore_evas_gl_sdl="no"
146 want_ecore_evas_directfb="no"
147 want_ecore_evas_fb="no"
148 want_ecore_evas_software_16_wince="no"
153 want_ecore_wince="yes"
154 want_ecore_evas_software_16_wince="yes"
157 want_notify_win32="yes"
162 want_ecore_win32="yes"
163 want_ecore_evas_software_gdi="yes"
164 want_ecore_evas_software_ddraw="yes"
165 want_ecore_evas_direct3d="yes"
166 want_ecore_evas_opengl_glew="yes"
167 want_ecore_evas_software_16_ddraw="auto"
168 want_ecore_evas_software_sdl="yes"
169 want_ecore_evas_gl_sdl="yes"
178 want_ecore_cocoa="yes"
179 want_ecore_evas_cocoa="yes"
180 want_ecore_evas_software_sdl="yes"
181 want_ecore_evas_gl_sdl="yes"
186 want_abstract_sockets="yes"
196 want_ecore_evas_software_x11="yes"
197 want_ecore_evas_xrender_x11="yes"
198 want_ecore_evas_opengl_x11="yes"
199 want_ecore_evas_software_16_x11="yes"
200 want_ecore_evas_software_xcb="yes"
201 want_ecore_evas_xrender_xcb="yes"
202 want_ecore_evas_software_sdl="yes"
203 want_ecore_evas_gl_sdl="yes"
204 want_ecore_evas_directfb="yes"
205 want_ecore_evas_fb="yes"
209 requirements_ecore=""
210 requirements_ecore_con=""
211 requirements_ecore_config=""
212 requirements_ecore_directfb=""
213 requirements_ecore_evas=""
214 requirements_ecore_fb=""
215 requirements_ecore_file=""
216 requirements_ecore_imf=""
217 requirements_ecore_imf_evas=""
218 requirements_ecore_input=""
219 requirements_ecore_input_evas=""
220 requirements_ecore_ipc=""
221 requirements_ecore_cocoa=""
222 requirements_ecore_sdl=""
223 requirements_ecore_x=""
224 requirements_ecore_win32=""
225 requirements_ecore_wince=""
227 ### Additional options to configure
229 want_glib_integration_always=no
230 AC_ARG_ENABLE(glib-integration-always,
231 AC_HELP_STRING([--enable-glib-integration-always], [enable glib integration when ecore_init() is called always]),
232 [want_glib_integration_always=$enableval])
234 if test "x${want_glib_integration_always}" = "xyes" ; then
235 AC_DEFINE([GLIB_INTEGRATION_ALWAYS], [1], [Always integrate glib if support compiled])
238 # abstract sockets (ecore_con.c)
239 AC_ARG_ENABLE([abstract-sockets],
240 [AC_HELP_STRING([--disable-abstract-sockets], [disable abstract sockets.])],
242 if test "x${enableval}" = "xyes" ; then
243 want_abstract_sockets="yes"
245 want_abstract_sockets="no"
248 [want_abstract_sockets="yes"])
250 if test "x${want_abstract_sockets}" = "xyes" ; then
251 AC_DEFINE([HAVE_ABSTRACT_SOCKETS], [1], [Have abstract sockets namespace])
254 # Simple X11 build/link
256 AC_ARG_ENABLE(simple-x11,
257 AC_HELP_STRING([--enable-simple-x11], [enable simple x11 linking]),
258 [want_evas_simple_x11=$enableval])
262 [AC_HELP_STRING([--disable-xim], [disable X Input Method.])],
264 if test "x${enableval}" = "xyes" ; then
272 if test "x${want_xim}" = "xyes" ; then
273 AC_DEFINE([ENABLE_XIM], [1], [Enable X Input Method])
278 EFL_CHECK_TESTS([enable_tests="yes"], [enable_tests="no"])
281 ### Checks for programs
283 m4_ifdef([AC_PROG_OBJC],
286 _AM_DEPENDENCIES(OBJC)
289 AC_CHECK_TOOL([OBJC], [gcc])
291 AC_SUBST([OBJCFLAGS])
293 m4_ifndef([am__fastdepOBJC], [
294 AM_CONDITIONAL([am__fastdepOBJC], [false])
295 AC_SUBST([cocoa_ldflags])
301 have_gnu_objc=${ac_cv_objc_compiler_gnu}
303 # doxygen program for documentation building
305 EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
307 # The first call to PKG_CHECK_MODULES is done conditionally,
308 # so we should include this here:
311 # Check whether pkg-config supports Requires.private
312 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
313 pkgconfig_requires_private="Requires.private"
315 pkgconfig_requires_private="Requires"
317 AC_SUBST(pkgconfig_requires_private)
320 ### Checks for libraries
322 # Evil library for compilation on Windows
326 PKG_CHECK_MODULES([EVIL], [evil])
327 AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if Evil library is installed])
328 requirements_ecore="evil ${requirements_ecore}"
329 requirements_ecore_evas="evil ${requirements_ecore_evas}"
330 requirements_ecore_file="evil ${requirements_ecore_file}"
331 requirements_ecore_imf="evil ${requirements_ecore_imf}"
332 requirements_ecore_imf_evas="evil ${requirements_ecore_imf_evas}"
333 EFL_ECORE_BUILD="-DEFL_ECORE_BUILD"
334 EFL_ECORE_FILE_BUILD="-DEFL_ECORE_FILE_BUILD"
335 EFL_ECORE_EVAS_BUILD="-DEFL_ECORE_EVAS_BUILD"
336 EFL_ECORE_IMF_BUILD="-DEFL_ECORE_IMF_BUILD"
337 EFL_ECORE_INPUT_BUILD="-DEFL_ECORE_INPUT_BUILD"
338 EFL_ECORE_INPUT_EVAS_BUILD="-DEFL_ECORE_INPUT_EVAS_BUILD"
346 EFL_ECORE_WINCE_BUILD="-DEFL_ECORE_WINCE_BUILD"
347 requirements_ecore_wince="evil ${requirements_ecore_wince}"
351 EFL_ECORE_WIN32_BUILD="-DEFL_ECORE_WIN32_BUILD"
352 EFL_ECORE_SDL_BUILD="-DEFL_ECORE_SDL_BUILD"
353 requirements_ecore_win32="evil ${requirements_ecore_win32}"
354 requirements_ecore_sdl="evil ${requirements_ecore_sdl}"
359 AC_SUBST(EFL_ECORE_BUILD)
360 AC_SUBST(EFL_ECORE_FILE_BUILD)
361 AC_SUBST(EFL_ECORE_EVAS_BUILD)
362 AC_SUBST(EFL_ECORE_IMF_BUILD)
363 AC_SUBST(EFL_ECORE_INPUT_BUILD)
364 AC_SUBST(EFL_ECORE_INPUT_EVAS_BUILD)
365 AC_SUBST(EFL_ECORE_WINCE_BUILD)
366 AC_SUBST(EFL_ECORE_WIN32_BUILD)
367 AC_SUBST(EFL_ECORE_SDL_BUILD)
369 AM_CONDITIONAL(ECORE_HAVE_WINCE, test "x${have_wince}" = "xyes")
370 AM_CONDITIONAL(ECORE_HAVE_WIN32, test "x${have_win32}" = "xyes")
379 WIN32_LIBS="-lws2_32"
383 AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
387 AC_SUBST(dlopen_libs)
391 PKG_CHECK_MODULES(EINA, [eina-0])
392 #FIXME check all the requirements when the eina move will be finished
393 requirements_ecore="eina-0 ${requirements_ecore}"
394 requirements_ecore_con="ecore eina-0 ${requirements_ecore_con}"
395 requirements_ecore_config="ecore eina-0 ${requirements_ecore_config}"
396 requirements_ecore_directfb="ecore eina-0 ${requirements_ecore_directfb}"
397 requirements_ecore_evas="ecore eina-0 ${requirements_ecore_evas}"
398 requirements_ecore_fb="ecore eina-0 ${requirements_ecore_fb}"
399 requirements_ecore_file="ecore eina-0 ${requirements_ecore_file}"
400 requirements_ecore_imf="ecore eina-0 ${requirements_ecore_imf}"
401 requirements_ecore_imf_evas="ecore eina-0 ${requirements_ecore_imf_evas}"
402 requirements_ecore_input="ecore eina-0 ${requirements_ecore_input}"
403 requirements_ecore_input_evas="ecore eina-0 ${requirements_ecore_input_evas}"
404 requirements_ecore_ipc="ecore eina-0 ${requirements_ecore_ipc}"
405 requirements_ecore_cocoa="ecore eina-0 ${requirements_ecore_cocoa}"
406 requirements_ecore_sdl="ecore eina-0 ${requirements_ecore_sdl}"
407 requirements_ecore_win32="ecore eina-0 ${requirements_ecore_win32}"
408 requirements_ecore_wince="ecore eina-0 ${requirements_ecore_wince}"
409 requirements_ecore_x="ecore eina-0 ${requirements_ecore_x}"
412 # glib support (main loop integration)
413 AC_ARG_ENABLE([glib],
414 [AC_HELP_STRING([--disable-glib], [disable glib support. @<:@default=detect@:>@])],
415 [want_glib=$enableval], [])
417 if test "x$want_glib" != "xno"; then
418 PKG_CHECK_MODULES([GLIB], [glib-2.0], [have_glib="yes"], [have_glib="no"])
422 if test "x$want_glib" = "xyes" -a "x$have_glib" = "xno"; then
423 AC_MSG_ERROR([GLib support requested, but no GLib found by pkg-config.])
424 elif test "x$have_glib" = "xyes"; then
425 AC_DEFINE(HAVE_GLIB, [1], [Have GLib])
426 requirements_ecore="glib-2.0 ${requirements_ecore}"
430 # SDL library (ecore_sdl)
433 SDL_CONFIG="sdl-config"
434 AC_ARG_WITH([sdl-config],
435 [AC_HELP_STRING([--with-sdl-config=PATH], [use sdl-config specified])],
438 AC_MSG_NOTICE([using ${SDL_CONFIG} for sdl-config])
441 AC_PATH_PROG([SDL_CONFIG], ["sdl-config"], [""], [$PATH])
443 if test -n "$SDL_CONFIG" ; then
444 SDL_CFLAGS=`$SDL_CONFIG --cflags`
445 SDL_LIBS=`$SDL_CONFIG --libs`
450 PKG_CHECK_MODULES([SDL], [sdl >= 1.2.0], [have_sdl="yes"], [have_sdl="no"])
453 if test "x${have_sdl}" = "xyes" ; then
454 PKG_CHECK_EXISTS([sdl >= 1.3.0],
455 [AC_DEFINE(BUILD_ECORE_EVAS_SDL_130, 1, [Support for SVN SDL])])
459 # DirectFB library (ecore_directfb)
461 PKG_CHECK_MODULES([DIRECTFB],
462 [directfb >= 0.9.16],
463 [have_directfb="yes"],
464 [have_directfb="no"])
467 # Eet library (ecore_config)
469 PKG_CHECK_MODULES([EET],
475 # Xlib and XCB (ecore_x)
479 have_ecore_x_xlib="no"
480 have_ecore_x_xcb="no"
487 ecore_x_libs_private=""
489 AC_ARG_ENABLE(ecore-x-composite,
490 [AC_HELP_STRING([--disable-ecore-x-composite],
491 [disable the ecore_x support for Xcomposite extension.
492 @<:@default=detect@:>@])],
493 [want_ecore_x_composite=$enableval])
495 AC_ARG_ENABLE(ecore-x-damage,
496 [AC_HELP_STRING([--disable-ecore-x-damage],
497 [disable the ecore_x support for Xdamage extension.
498 @<:@default=detect@:>@])],
499 [want_ecore_x_damage=$enableval])
501 AC_ARG_ENABLE(ecore-x-dpms,
502 [AC_HELP_STRING([--disable-ecore-x-dpms],
503 [disable the ecore_x support for Xdpms extension.
504 @<:@default=detect@:>@])],
505 [want_ecore_x_dpms=$enableval])
507 AC_ARG_ENABLE(ecore-x-randr,
508 [AC_HELP_STRING([--disable-ecore-x-randr],
509 [disable the ecore_x support for Xrandr extension.
510 @<:@default=detect@:>@])],
511 [want_ecore_x_randr=$enableval])
513 AC_ARG_ENABLE(ecore-x-render,
514 [AC_HELP_STRING([--disable-ecore-x-render],
515 [disable the ecore_x support for Xrender extension.
516 @<:@default=detect@:>@])],
517 [want_ecore_x_render=$enableval])
519 AC_ARG_ENABLE(ecore-x-screensaver,
520 [AC_HELP_STRING([--disable-ecore-x-screensaver],
521 [disable the ecore_x support for Xscreensaver extension.
522 @<:@default=detect@:>@])],
523 [want_ecore_x_screensaver=$enableval])
525 AC_ARG_ENABLE(ecore-x-shape,
526 [AC_HELP_STRING([--disable-ecore-x-shape],
527 [disable the ecore_x support for Xshape extension.
528 @<:@default=detect@:>@])],
529 [want_ecore_x_shape=$enableval])
531 AC_ARG_ENABLE(ecore-x-sync,
532 [AC_HELP_STRING([--disable-ecore-x-sync],
533 [disable the ecore_x support for Xsync extension.
534 @<:@default=detect@:>@])],
535 [want_ecore_x_sync=$enableval])
537 AC_ARG_ENABLE(ecore-x-xfixes,
538 [AC_HELP_STRING([--disable-ecore-x-xfixes],
539 [disable the ecore_x support for Xfixes extension.
540 @<:@default=detect@:>@])],
541 [want_ecore_x_xfixes=$enableval])
543 AC_ARG_ENABLE(ecore-x-xinerama,
544 [AC_HELP_STRING([--disable-ecore-x-xinerama],
545 [disable the ecore_x support for Xinerama extension.
546 @<:@default=detect@:>@])],
547 [want_ecore_x_xinerama=$enableval])
549 AC_ARG_ENABLE(ecore-x-xprint,
550 [AC_HELP_STRING([--disable-ecore-x-xprint],
551 [disable the ecore_x support for Xprint extension.
552 @<:@default=detect@:>@])],
553 [want_ecore_x_xprint=$enableval])
555 AC_ARG_ENABLE(ecore-x-xtest,
556 [AC_HELP_STRING([--disable-ecore-x-xtest],
557 [disable the ecore_x support for Xtest extension.
558 @<:@default=detect@:>@])],
559 [want_ecore_x_xtest=$enableval])
561 AC_ARG_ENABLE(ecore-x-cursor,
562 [AC_HELP_STRING([--disable-ecore-x-cursor],
563 [disable the ecore_x support for Xcursor extension.
564 @<:@default=detect@:>@])],
565 [want_ecore_x_cursor=$enableval])
567 AC_ARG_ENABLE(ecore-x-input,
568 [AC_HELP_STRING([--disable-ecore-x-input],
569 [disable the ecore_x support for Xinput/Xinput2 extension.
570 @<:@default=detect@:>@])],
571 [want_ecore_x_input=$enableval])
574 AC_ARG_ENABLE(ecore-x-xcb,
575 [AC_HELP_STRING([--enable-ecore-x-xcb],
576 [enable the ecore_x module with XCB backend. @<:@default=disabled@:>@])],
577 [want_ecore_x_xcb=$enableval],
578 [want_ecore_x_xcb="no"])
580 AC_MSG_CHECKING(whether ecore_x with XCB backend is to be built)
581 AC_MSG_RESULT($want_ecore_x_xcb)
583 if test "x$want_ecore_x_xcb" = "xyes" ; then
584 PKG_CHECK_MODULES(XCB, xcb xcb-icccm xcb-image xcb-keysyms pixman-1,
585 [ have_ecore_x_xcb="yes"
586 requirements_ecore_x="xcb xcb-icccm xcb-image xcb-keysyms pixman-1 ${requirements_ecore_x}" ],
587 [ have_ecore_x_xcb="no" ])
589 if test "x$have_ecore_x_xcb" = "xyes" ; then
590 if test "x$want_ecore_x_composite" != "xno"; then
591 PKG_CHECK_MODULES(XCB_COMPOSITE, xcb-composite,
592 [ have_ecore_x_xcb_composite="yes"
593 requirements_ecore_x="xcb-composite ${requirements_ecore_x}"
594 AC_DEFINE(ECORE_XCB_COMPOSITE, 1, [Build support for XCB composite]) ],
595 [ have_ecore_x_xcb_composite="no" ])
597 have_ecore_x_xcb_composite="no"
598 AC_MSG_NOTICE("composite extension explicitly disabled")
601 if test "x$want_ecore_x_damage" != "xno"; then
602 PKG_CHECK_MODULES(XCB_DAMAGE, xcb-damage,
603 [ have_ecore_x_xcb_damage="yes"
604 requirements_ecore_x="xcb-damage ${requirements_ecore_x}"
605 AC_DEFINE(ECORE_XCB_DAMAGE, 1, [Build support for XCB damage]) ],
606 [ have_ecore_x_xcb_damage="no" ])
608 have_ecore_x_xcb_damage="no"
609 AC_MSG_NOTICE("damage extension explicitly disabled")
612 if test "x$want_ecore_x_dpms" != "xno"; then
613 PKG_CHECK_MODULES(XCB_DPMS, xcb-dpms,
614 [ have_ecore_x_xcb_dpms="yes"
615 requirements_ecore_x="xcb-dpms ${requirements_ecore_x}"
616 AC_DEFINE(ECORE_XCB_DPMS, 1, [Build support for XCB dpms]) ],
617 [ have_ecore_x_xcb_dpms="no" ])
619 have_ecore_x_xcb_dpms="no"
620 AC_MSG_NOTICE("dpms extension explicitly disabled")
623 if test "x$want_ecore_x_randr" != "xno"; then
624 PKG_CHECK_MODULES(XCB_RANDR, xcb-randr,
625 [ have_ecore_x_xcb_randr="yes"
626 requirements_ecore_x="xcb-randr ${requirements_ecore_x}"
627 AC_DEFINE(ECORE_XCB_RANDR, 1, [Build support for XCB randr]) ],
628 [ have_ecore_x_xcb_randr="no" ])
630 have_ecore_x_xcb_randr="no"
631 AC_MSG_NOTICE("randr extension explicitly disabled")
634 if test "x$want_ecore_x_render" != "xno"; then
635 PKG_CHECK_MODULES(XCB_RENDER, xcb-render,
636 [ have_ecore_x_xcb_render="yes"
637 requirements_ecore_x="xcb-render ${requirements_ecore_x}"
638 AC_DEFINE(ECORE_XCB_RENDER, 1, [Build support for XCB render]) ],
639 [ have_ecore_x_xcb_render="no" ])
641 have_ecore_x_xcb_render="no"
642 AC_MSG_NOTICE("render extension explicitly disabled")
645 if test "x$want_ecore_x_screensaver" != "xno"; then
646 PKG_CHECK_MODULES(XCB_SCREENSAVER, xcb-screensaver,
647 [ have_ecore_x_xcb_screensaver="yes"
648 requirements_ecore_x="xcb-screensaver ${requirements_ecore_x}"
649 AC_DEFINE(ECORE_XCB_SCREENSAVER, 1, [Build support for XCB screensaver]) ],
650 [ have_ecore_x_xcb_screensaver="no" ])
652 have_ecore_x_xcb_screensaver="no"
653 AC_MSG_NOTICE("screensaver extension explicitly disabled")
656 if test "x$want_ecore_x_shape" != "xno"; then
657 PKG_CHECK_MODULES(XCB_SHAPE, xcb-shape,
658 [ have_ecore_x_xcb_shape="yes"
659 requirements_ecore_x="xcb-shape ${requirements_ecore_x}"
660 AC_DEFINE(ECORE_XCB_SHAPE, 1, [Build support for XCB shape]) ],
661 [ have_ecore_x_xcb_shape="no" ])
663 have_ecore_x_xcb_shape="no"
664 AC_MSG_NOTICE("shape extension explicitly disabled")
667 if test "x$want_ecore_x_sync" != "xno"; then
668 PKG_CHECK_MODULES(XCB_SYNC, xcb-sync,
669 [ have_ecore_x_xcb_sync="yes"
670 requirements_ecore_x="xcb-sync ${requirements_ecore_x}"
671 AC_DEFINE(ECORE_XCB_SYNC, 1, [Build support for XCB sync]) ],
672 [ have_ecore_x_xcb_sync="no" ])
674 have_ecore_x_xcb_sync="no"
675 AC_MSG_NOTICE("sync extension explicitly disabled")
678 if test "x$want_ecore_x_xfixes" != "xno"; then
679 PKG_CHECK_MODULES(XCB_XFIXES, xcb-xfixes,
680 [ have_ecore_x_xcb_xfixes="yes"
681 requirements_ecore_x="xcb-xfixes ${requirements_ecore_x}"
682 AC_DEFINE(ECORE_XCB_FIXES, 1, [Build support for XCB xfixes]) ],
683 [ have_ecore_x_xcb_xfixes="no" ])
685 have_ecore_x_xcb_xfixes="no"
686 AC_MSG_NOTICE("xfixes extension explicitly disabled")
689 if test "x$want_ecore_x_xinerama" != "xno"; then
690 PKG_CHECK_MODULES(XCB_XINERAMA, xcb-xinerama,
691 [ have_ecore_x_xcb_xinerama="yes"
692 requirements_ecore_x="xcb-xinerama ${requirements_ecore_x}"
693 AC_DEFINE(ECORE_XCB_XINERAMA, 1, [Build support for XCB xinerama]) ],
694 [ have_ecore_x_xcb_xinerama="no" ])
696 have_ecore_x_xcb_xinerama="no"
697 AC_MSG_NOTICE("xinerama extension explicitly disabled")
700 if test "x$want_ecore_x_xprint" != "xno"; then
701 PKG_CHECK_MODULES(XCB_XPRINT, xcb-xprint,
702 [ have_ecore_x_xcb_xprint="yes"
703 requirements_ecore_x="xcb-xprint ${requirements_ecore_x}"
704 AC_DEFINE(ECORE_XCB_XPRINT, 1, [Build support for XCB xprint]) ],
705 [ have_ecore_x_xcb_xprint="no" ])
707 have_ecore_x_xcb_xprint="no"
708 AC_MSG_NOTICE("xprint extension explicitly disabled")
711 if test "x$want_ecore_x_xtest" != "xno"; then
712 PKG_CHECK_MODULES(XCB_XTEST, xcb-xtest,
713 [ have_ecore_x_xcb_xtest="yes"
714 requirements_ecore_x="xcb-xtest ${requirements_ecore_x}"
715 AC_DEFINE(ECORE_XCB_XTEST, 1, [Build support for XCB xtest]) ],
716 [ have_ecore_x_xcb_xtest="no" ])
718 have_ecore_x_xcb_xtest="no"
719 AC_MSG_NOTICE("xtest extension explicitly disabled")
722 AC_DEFINE(HAVE_ECORE_X_XCB, 1, [Defined to 1 if XCB is enabled.])
728 have_ecore_x_xcb_define="-DHAVE_ECORE_X_XCB"
729 AC_SUBST(have_ecore_x_xcb_define)
733 if ! test "x$have_ecore_x_xcb" = "xyes" ; then
735 AC_CHECK_HEADER(X11/X.h,
737 if test "x$want_evas_simple_x11" = "xyes"; then
738 x_libs="${x_libs} -lX11 -lXext"
740 x_dir=${x_dir:-/usr/X11R6}
741 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
742 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
744 have_ecore_x_xlib="yes"
748 if test "x$have_ecore_x_xlib" = "xyes"; then
753 CFLAGS="$x_cflags $x_includes"
755 if test "x$want_ecore_x_cursor" = "xyes"; then
756 AC_CHECK_HEADER(X11/Xcursor/Xcursor.h,
758 AC_CHECK_LIB(Xcursor, XcursorImageLoadCursor,
760 AC_DEFINE(ECORE_XCURSOR, 1, [Build support for Xcursor])
762 Xcursor_libs="-lXcursor"
777 #include <X11/Xlib.h>
785 AC_MSG_NOTICE("Xcursor explicitly disabled")
788 AC_SUBST(Xcursor_cflags)
789 AC_SUBST(Xcursor_libs)
791 ECORE_CHECK_X_EXTENSION([Xkb], [XKB.h], [X11], [XkbSetDetectableAutoRepeat], [$want_ecore_x_xkb])
792 ECORE_CHECK_X_EXTENSION([Xcomposite], [Xcomposite.h], [Xcomposite], [XCompositeQueryExtension], [$want_ecore_x_composite])
793 ECORE_CHECK_X_EXTENSION([Xdamage], [Xdamage.h], [Xdamage], [XDamageSubtract], [$want_ecore_x_damage])
794 ECORE_CHECK_X_EXTENSION([Xdpms], [dpms.h], [Xdpms], [DPMSQueryExtension], [$want_ecore_x_dpms])
795 if test "x$use_xdpms" = "xno" ; then
796 ECORE_CHECK_X_EXTENSION([Xdpms], [dpms.h], [Xext], [DPMSQueryExtension], [$want_ecore_x_dpms])
798 ECORE_CHECK_X_EXTENSION([Xfixes], [Xfixes.h], [Xfixes], [XFixesExpandRegion], [$want_ecore_x_xfixes])
799 ECORE_CHECK_X_EXTENSION([Xinerama], [Xinerama.h], [Xinerama], [XineramaQueryScreens], [$want_ecore_x_xinerama])
800 ECORE_CHECK_X_EXTENSION([Xprint], [Print.h], [Xp], [XpQueryScreens], [$want_ecore_x_xprint])
801 ECORE_CHECK_X_EXTENSION([Xrandr], [Xrandr.h], [Xrandr], [XRRGetScreenResourcesCurrent], [$want_ecore_x_randr])
802 ECORE_CHECK_X_EXTENSION([Xrender], [Xrender.h], [Xrender], [XRenderFindVisualFormat], [$want_ecore_x_render])
803 ECORE_CHECK_X_EXTENSION([Xtest], [XTest.h], [Xtst], [XTestFakeKeyEvent], [$want_ecore_x_xtest])
804 ECORE_CHECK_X_EXTENSION([Xss], [scrnsaver.h], [Xss], [XScreenSaverSelectInput], [$want_ecore_x_screensaver])
805 ECORE_CHECK_X_EXTENSION([Xi2], [XInput2.h], [Xi], [XIQueryDevice], [$want_ecore_x_input])
807 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}"
809 AC_DEFINE(HAVE_ECORE_X_XLIB, 1, [Defined to 1 if Xlib is enabled.])
812 have_ecore_x_xlib="yes"
819 AC_SUBST(ecore_x_libs_private)
821 AM_CONDITIONAL(BUILD_ECORE_X_XLIB, test $have_ecore_x_xlib = yes)
822 AM_CONDITIONAL(BUILD_ECORE_X_XCB, test $have_ecore_x_xcb = yes)
825 # Evas library (ecore_config, ecore_input_evas, ecore_imf_evas and ecore_evas)
827 PKG_CHECK_MODULES([EVAS], [evas >= 0.9.9],
832 ### Checks for header files
839 AC_DEFINE(HAVE_DLFCN_H, 1, [Define to 1 if you have the <dlfcn.h> header file.])
840 AC_DEFINE(HAVE_SYS_MMAN_H, 1, [Define to 1 if you have the <sys/mman.h> header file.])
841 AC_DEFINE(HAVE_SYS_TIME_H, 1, [Define to 1 if you have the <sys/time.h> header file.])
845 AC_CHECK_HEADERS([dlfcn.h features.h langinfo.h locale.h sys/time.h sys/mman.h signal.h sys/resource.h])
851 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])
853 if test "x${ac_cv_header_netdb_h}" = "xyes" ; then
857 # Framebuffer (ecore_fb)
859 AC_CHECK_HEADER([linux/fb.h],
860 [AC_CHECK_HEADER([linux/input.h], [have_fb="yes"])])
862 # Cocoa header files (ecore_cocoa)
866 m4_ifdef([AC_PROG_OBJC], [
867 if test "x${have_gnu_objc}" = "xyes" ; then
868 AC_LANG_PUSH([Objective C])
869 AC_CHECK_HEADER([Cocoa/Cocoa.h],
872 cocoa_ldflags="-framework Cocoa"
874 AC_LANG_POP([Objective C])
877 AC_SUBST(cocoa_ldflags)
879 # basic pthread support
881 EFL_CHECK_PTHREAD([no], [have_pthread="yes"], [have_pthread="no"])
884 AC_CHECK_SIZEOF(int, 4)
885 AC_CHECK_SIZEOF(long, 4)
888 ### Checks for structures
891 ### Checks for compiler characteristics
902 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
905 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
906 WIN32_CFLAGS="-mwin32"
909 WIN32_CPPFLAGS="-D_WIN32_WINNT=0x0501"
912 AC_SUBST(WIN32_CPPFLAGS)
913 AC_SUBST(WIN32_CFLAGS)
916 ### Checks for linker characteristics
918 # use --enable-auto-import on Windows
920 lt_enable_auto_import=""
923 lt_enable_auto_import="-Wl,--enable-auto-import"
926 AC_SUBST(lt_enable_auto_import)
928 ### Checks for library functions
930 AC_CHECK_FUNCS(gettimeofday strlcpy)
932 have_atfile_source=auto
933 AC_ARG_ENABLE(atfile-source,
934 AC_HELP_STRING([--disable-atfile-source],
935 [disable use of atfile source functions as openat and mkdirat @<:@default=detect@:>@]),
936 [have_atfile_source=$enableval], [have_atfile_source=auto])
938 if test "x$have_atfile_source" != "xno"; then
939 AC_CHECK_FUNCS(mkdirat,
941 have_atfile_source=yes
942 AC_DEFINE(HAVE_ATFILE_SOURCE, 1, [mkdirat exists])
945 if test "x$have_atfile_source" = "xyes"; then
946 AC_MSG_ERROR([required atfile-source but no mkdirat()])
948 have_atfile_source=no
952 ### Checks for optionnal feature
953 AC_CHECK_FUNC(mallinfo,
956 AC_DEFINE(HAVE_MALLINFO, 1, [Gather memory statistic])
966 ECORE_CHECK_MODULE([con], [${want_ecore_con}], [Con], [${have_addrinfo}])
972 if test "x${have_ecore_con}" = "xyes" ; then
974 ECORE_CHECK_CURL([${want_curl}],
977 requirements_ecore_con="libcurl ${requirements_ecore_con}"
981 ECORE_CHECK_GNUTLS([${want_gnutls}],
985 ECORE_CHECK_OPENSSL([${want_openssl}],
986 [have_openssl="yes"],
989 if test "x${have_gnutls}" = "xyes" ; then
990 requirements_ecore_con="gnutls ${requirements_ecore_con}"
991 # no need to add it to req_ecore_ipc, since they
992 # depends on ecore_con anyway.
994 if test "x${have_openssl}" = "xyes" ; then
995 requirements_ecore_con="openssl ${requirements_ecore_con}"
996 # no need to add it to req_ecore_ipc, since they
997 # depends on ecore_con anyway.
1001 ECORE_CHECK_CARES([${want_cares}],
1004 requirements_ecore_con="libcares ${requirements_ecore_con}"
1010 AM_CONDITIONAL([HAVE_CARES], [test "x${have_cares}" = "xyes"])
1013 ECORE_CHECK_MODULE([ipc], [${want_ecore_ipc}], [Ipc], [${have_ecore_con}],
1014 [requirements_ecore_ipc="ecore-con ${requirements_ecore_ipc}"])
1017 ECORE_CHECK_MODULE([file], [${want_ecore_file}], [File])
1021 have_notify_win32="no"
1022 if test "x${have_ecore_file}" = "xyes" ; then
1023 ECORE_CHECK_POLL([${want_poll}], [have_poll="yes"], [have_poll="no"])
1024 ECORE_CHECK_INOTIFY([${want_inotify}], [have_inotify="yes"], [have_inotify="no"])
1025 ECORE_CHECK_NOTIFY_WIN32([${want_notify_win32}], [have_notify_win32="yes"], [have_notify_win32="no"])
1027 if test "x${have_ecore_con}" = "xyes" ; then
1028 requirements_ecore_file="ecore-con ${requirements_ecore_file}"
1033 ecore_config_deps="no"
1034 if test "x${have_eet}" = "xyes" -a "x${have_evas}" -a "x${have_ecore_ipc}" ; then
1035 ecore_config_deps="yes"
1038 ECORE_CHECK_MODULE([config], [${want_ecore_config}], [Config], [${ecore_config_deps}],
1039 [requirements_ecore_config="ecore-ipc evas eet ${requirements_ecore_config}"])
1043 ECORE_CHECK_MODULE([imf], [${want_ecore_imf}], [Imf])
1047 ecore_imf_evas_deps="no"
1048 if test "x${have_ecore_imf}" = "xyes" -a "x${have_evas}" = "xyes" ; then
1049 ecore_imf_evas_deps="yes"
1052 ECORE_CHECK_MODULE([imf-evas], [${want_ecore_imf}], [Imf_Evas], [${ecore_imf_evas_deps}],
1053 [requirements_ecore_imf_evas="ecore-imf evas ${requirements_ecore_imf_evas}"])
1055 # ecore_input{_evas}
1056 ECORE_CHECK_MODULE([input], [${want_ecore_input}], [Input])
1057 ECORE_CHECK_MODULE([input-evas], [${want_ecore_input}], [Input_Evas], [${have_evas}],
1058 [requirements_ecore_input_evas="ecore-input evas ${requirements_ecore_input}"])
1065 if test "x${have_x}" = "xyes" -a \
1066 "x${have_ecore_input}" = "xyes" ; then
1070 ECORE_CHECK_MODULE([x], [${want_ecore_x}], [X], [${ecore_x_deps}],
1072 ecore_x_libs="$ecore_x_libs $x_libs"
1073 requirements_ecore_x="ecore-input ${requirements_ecore_x}"
1078 ECORE_CHECK_MODULE([win32], [${want_ecore_win32}], [Win32], [${have_ecore_input}],
1080 ecore_win32_libs="-lole32 -lgdi32"
1081 requirements_ecore_win32="ecore-input ${requirements_ecore_win32}"
1083 AC_SUBST(ecore_win32_libs)
1087 ecore_cocoa_deps="no"
1088 if test "x${have_ecore_input}" = "xyes" -a "x${have_cocoa}" = "xyes" ; then
1089 ecore_cocoa_deps="yes"
1092 ECORE_CHECK_MODULE([cocoa], [${want_ecore_cocoa}], [Cocoa], [${ecore_cocoa_deps}],
1093 [requirements_ecore_cocoa="ecore-input ${requirements_ecore_cocoa}"])
1098 if test "x${have_sdl}" = "xyes" -a "x${have_ecore_input}" = "xyes" ; then
1099 ecore_sdl_deps="yes"
1102 ECORE_CHECK_MODULE([sdl], [${want_ecore_sdl}], [Sdl], [${ecore_sdl_deps}],
1103 [requirements_ecore_sdl="ecore-input ${requirements_ecore_sdl}"])
1106 ECORE_CHECK_MODULE([fb], [${want_ecore_fb}], [FB], [$have_fb])
1108 if test "x${have_ecore_fb}" = "xyes" ; then
1109 ECORE_CHECK_TSLIB([${want_tslib}],
1112 requirements_ecore_fb="${_tslib_requirement} ${requirements_ecore_fb}"
1119 ECORE_CHECK_MODULE([directfb], [${want_ecore_directfb}], [DirectFB], [${have_directfb}],
1120 [requirements_ecore_directfb="directfb ${requirements_ecore_directfb}"])
1124 ECORE_CHECK_MODULE([wince], [${want_ecore_wince}], [WinCE], [${have_ecore_input}],
1125 [requirements_ecore_win32="ecore-input ${requirements_ecore_win32}"])
1131 ecore_evas_deps="no"
1132 if test "x${have_evas}" = "xyes" -a "x${have_ecore_input}" = "xyes" -a "x${have_ecore_input_evas}" = "xyes" ; then
1133 ecore_evas_deps="yes"
1136 ECORE_CHECK_MODULE([evas], [${want_ecore_evas}], [Evas], [${ecore_evas_deps}],
1137 [requirements_ecore_evas="ecore-input ecore-input-evas evas ${requirements_ecore_evas}"])
1141 ECORE_EVAS_CHECK_MODULE([software-buffer],
1142 [${want_ecore_evas_software_buffer}],
1148 # ecore_evas_software_x11
1150 ECORE_EVAS_CHECK_MODULE([software-x11],
1151 [${want_ecore_evas_software_x11}],
1155 have_ecore_evas_software_xlib=no"
1156 have_ecore_evas_software_xcb=no"
1157 if test "x$have_ecore_evas_software_x11" = "xyes" ; then
1158 have_ecore_evas_software_xlib=`${PKG_CONFIG} --variable=Xlib evas-software-x11`
1159 if test "x${have_ecore_evas_software_xlib}" = "xyes" -a "x${have_ecore_x_xlib}" = "xyes" ; then
1160 AC_DEFINE(BUILD_ECORE_EVAS_SOFTWARE_XLIB, 1, [Evas Software Xlib Engine Support])
1162 have_ecore_evas_software_xcb=`${PKG_CONFIG} --variable=XCB evas-software-x11`
1163 if test "x$have_ecore_evas_software_xcb" = "xyes" -a "x${have_ecore_x_xcb}" = "xyes" ; then
1164 AC_DEFINE(BUILD_ECORE_EVAS_SOFTWARE_XCB, 1, [Evas Software XCB Engine Support])
1168 # ecore_evas_xrender_x11
1170 ECORE_EVAS_CHECK_MODULE([xrender-x11],
1171 [${want_ecore_evas_xrender_x11}],
1173 [${have_ecore_x_xlib}])
1175 # ecore_evas_opengl_x11
1177 ECORE_EVAS_CHECK_MODULE([opengl-x11],
1178 [${want_ecore_evas_opengl_x11}],
1180 [${have_ecore_x_xlib}])
1182 # ecore_evas_software_x11 16 bits
1184 ECORE_EVAS_CHECK_MODULE([software-16-x11],
1185 [${want_ecore_evas_software_16_x11}],
1186 [Software Xlib 16 bits],
1187 [${have_ecore_x_xlib}])
1189 # ecore_evas_xrender_xcb
1191 ECORE_EVAS_CHECK_MODULE([xrender-xcb],
1192 [${want_ecore_evas_xrender_xcb}],
1194 [${ecore_evas_xcb_deps}])
1196 if test "x$have_ecore_evas_software_x11" = "xyes" -o \
1197 "x$have_ecore_evas_xrender_x11" = "xyes" -o \
1198 "x$have_ecore_evas_opengl_x11" = "xyes" -o \
1199 "x$have_ecore_evas_software_16_x11" = "xyes" -o \
1200 "x$have_ecore_evas_software_xcb" = "xyes" -o \
1201 "x$have_ecore_evas_xrender_xcb" = "xyes"; then
1202 AC_DEFINE(BUILD_ECORE_EVAS_X11, 1, [Support for X Window Engines in Ecore_Evas])
1203 requirements_ecore_evas="ecore-x ${requirements_ecore_evas}"
1208 ECORE_EVAS_CHECK_MODULE([software-gdi],
1209 [${want_ecore_evas_software_gdi}],
1211 [${have_ecore_win32}])
1213 ECORE_EVAS_CHECK_MODULE([software-ddraw],
1214 [${want_ecore_evas_software_ddraw}],
1215 [Software DirectDraw],
1216 [${have_ecore_win32}])
1218 ECORE_EVAS_CHECK_MODULE([direct3d],
1219 [${want_ecore_evas_direct3d}],
1221 [${have_ecore_win32}])
1223 ECORE_EVAS_CHECK_MODULE([opengl-glew],
1224 [${want_ecore_evas_opengl_glew}],
1226 [${have_ecore_win32}])
1228 ECORE_EVAS_CHECK_MODULE([software-16-ddraw],
1229 [${want_ecore_evas_software_16_ddraw}],
1230 [16 bpp Software DirectDraw],
1231 [${have_ecore_win32}])
1233 if test "x${have_ecore_evas_software_gdi}" = "xyes" -o \
1234 "x${have_ecore_evas_software_ddraw}" = "xyes" -o \
1235 "x${have_ecore_evas_direct3d}" = "xyes" -o \
1236 "x${have_ecore_evas_opengl_glew}" = "xyes" -o \
1237 "x${have_ecore_evas_software_16_ddraw}" = "xyes" ; then
1238 AC_DEFINE(BUILD_ECORE_EVAS_WIN32, 1, [Support for Win32 Engine in Ecore_Evas])
1239 requirements_ecore_evas="ecore-win32 ${requirements_ecore_evas}"
1244 ECORE_EVAS_CHECK_MODULE([cocoa],
1245 [${want_ecore_evas_cocoa}],
1247 [${have_ecore_cocoa}],
1248 [requirements_ecore_evas="ecore-cocoa ${requirements_ecore_evas}"])
1250 # ecore_evas_software_sdl
1252 ECORE_EVAS_CHECK_MODULE([software-sdl],
1253 [${want_ecore_evas_software_sdl}],
1255 [${have_ecore_sdl}],
1256 [requirements_ecore_evas="ecore-sdl ${requirements_ecore_evas}"])
1260 ECORE_EVAS_CHECK_MODULE([opengl-sdl],
1261 [${want_ecore_evas_gl_sdl}],
1263 [${have_ecore_sdl}],
1264 [requirements_ecore_evas="ecore-sdl ${requirements_ecore_evas}"])
1266 # ecore_evas_directfb
1268 ECORE_EVAS_CHECK_MODULE([directfb],
1269 [${want_ecore_evas_directfb}],
1271 [${have_ecore_directfb}],
1272 [requirements_ecore_evas="ecore-directfb ${requirements_ecore_evas}"])
1276 ECORE_EVAS_CHECK_MODULE([fb],
1277 [${want_ecore_evas_fb}],
1278 [Linux Framebuffer],
1280 [requirements_ecore_evas="ecore-fb ${requirements_ecore_evas}"])
1284 ECORE_EVAS_CHECK_MODULE([software-16-wince],
1285 [${want_ecore_evas_software_16_wince}],
1286 [16 bpp Software Windows CE],
1287 [${have_ecore_wince}],
1288 [requirements_ecore_evas="ecore-wince ${requirements_ecore_evas}"])
1294 AC_SUBST(requirements_ecore)
1295 AC_SUBST(requirements_ecore_con)
1296 AC_SUBST(requirements_ecore_config)
1297 AC_SUBST(requirements_ecore_directfb)
1298 AC_SUBST(requirements_ecore_evas)
1299 AC_SUBST(requirements_ecore_fb)
1300 AC_SUBST(requirements_ecore_file)
1301 AC_SUBST(requirements_ecore_imf)
1302 AC_SUBST(requirements_ecore_imf_evas)
1303 AC_SUBST(requirements_ecore_input)
1304 AC_SUBST(requirements_ecore_input_evas)
1305 AC_SUBST(requirements_ecore_ipc)
1306 AC_SUBST(requirements_ecore_cocoa)
1307 AC_SUBST(requirements_ecore_sdl)
1308 AC_SUBST(requirements_ecore_x)
1309 AC_SUBST(requirements_ecore_win32)
1310 AC_SUBST(requirements_ecore_wince)
1336 src/lib/ecore/Makefile
1337 src/lib/ecore_con/Makefile
1338 src/lib/ecore_config/Makefile
1339 src/lib/ecore_directfb/Makefile
1340 src/lib/ecore_evas/Makefile
1341 src/lib/ecore_fb/Makefile
1342 src/lib/ecore_file/Makefile
1343 src/lib/ecore_cocoa/Makefile
1344 src/lib/ecore_sdl/Makefile
1345 src/lib/ecore_imf/Makefile
1346 src/lib/ecore_imf_evas/Makefile
1347 src/lib/ecore_input/Makefile
1348 src/lib/ecore_input_evas/Makefile
1349 src/lib/ecore_ipc/Makefile
1350 src/lib/ecore_win32/Makefile
1351 src/lib/ecore_wince/Makefile
1352 src/lib/ecore_x/Makefile
1353 src/lib/ecore_x/xlib/Makefile
1354 src/lib/ecore_x/xcb/Makefile
1362 echo "$PACKAGE $VERSION"
1364 echo "Optional Modules:"
1368 echo " Ecore........................: always"
1369 echo " Thread support.............: $have_pthread"
1370 echo " GLib support...............: $have_glib"
1371 echo " Always integrate GLib......: $want_glib_integration_always"
1372 echo " Gathering memory statistic.: $have_mallinfo"
1373 echo " Ecore_Con....................: $have_ecore_con"
1374 if test "x$have_ecore_con" = "xyes" ; then
1375 echo $ECHO_N " OpenSSL....................: $have_openssl $ECHO_C"
1376 if test "x$have_gnutls" = "xyes" ; then
1381 echo " GnuTLS.....................: $have_gnutls"
1382 echo " CURL.......................: $have_curl"
1383 echo " Abstract Sockets...........: $want_abstract_sockets"
1384 echo " c-ares.....................: $have_cares"
1386 echo " Ecore_Ipc....................: $have_ecore_ipc"
1387 if test "x$have_ecore_ipc" = "xyes" ; then
1388 echo $ECHO_N " OpenSSL....................: $have_openssl $ECHO_C"
1389 if test "x$have_gnutls" = "xyes" ; then
1394 echo " GnuTLS.....................: $have_gnutls"
1396 echo " Ecore_File...................: $have_ecore_file"
1397 if test "x$have_ecore_file" = "xyes" ; then
1398 echo " Inotify....................: $have_inotify"
1399 echo " Windows notification.......: $have_notify_win32"
1400 echo " Poll.......................: $have_poll"
1401 echo " CURL.......................: $have_curl"
1403 echo " Ecore_Config.................: $have_ecore_config (deprecated)"
1404 echo " Ecore_IMF....................: $have_ecore_imf"
1405 echo " Ecore_IMF_Evas...............: $have_ecore_imf_evas"
1406 echo " Ecore_Input..................: $have_ecore_input"
1407 echo " Ecore_Input_Evas.............: $have_ecore_input_evas"
1410 echo " Graphic systems:"
1413 if test "x$have_ecore_x" = "xyes" ; then
1414 if test "x$have_ecore_x_xcb" = "xyes" ; then
1415 echo " Ecore_X (XCB backend)........: $have_ecore_x_xcb"
1416 echo " Xprint.....................: $have_ecore_x_xcb_xprint"
1417 echo " Xinerama...................: $have_ecore_x_xcb_xinerama"
1418 echo " Xrandr.....................: $have_ecore_x_xcb_randr"
1419 echo " Xscreensaver...............: $have_ecore_x_xcb_screensaver"
1420 echo " Xshape.....................: $have_ecore_x_xcb_shape"
1421 echo " Xsync......................: $have_ecore_x_xcb_sync"
1422 echo " Xrender....................: $have_ecore_x_xcb_render"
1423 echo " Xcomposite.................: $have_ecore_x_xcb_composite"
1424 echo " Xfixes.....................: $have_ecore_x_xcb_xfixes"
1425 echo " Xdamage....................: $have_ecore_x_xcb_damage"
1426 echo " Xdpms......................: $have_ecore_x_xcb_dpms"
1427 echo " Xtest......................: $have_ecore_x_xcb_xtest"
1429 echo " Ecore_X (Xlib backend).......: $have_ecore_x"
1430 echo " Xcursor....................: $use_Xcursor"
1431 echo " Xkb........................: $use_xkb"
1432 echo " Xprint.....................: $use_xprint"
1433 echo " Xinerama...................: $use_xinerama"
1434 echo " Xrandr.....................: $use_xrandr"
1435 echo " Xscreensaver...............: $use_xss"
1436 echo " Xrender....................: $use_xrender"
1437 echo " Xcomposite.................: $use_xcomposite"
1438 echo " Xfixes.....................: $use_xfixes"
1439 echo " Xdamage....................: $use_xdamage"
1440 echo " Xdpms......................: $use_xdpms"
1441 echo " Xtest......................: $use_xtest"
1442 echo " XIM........................: $want_xim"
1443 echo " Xi2........................: $use_xi2"
1446 echo " Ecore_X......................: $have_ecore_x"
1448 echo " Ecore_Win32..................: $have_ecore_win32"
1449 echo " Ecore_Cocoa..................: $have_ecore_cocoa"
1450 echo " Ecore_SDL....................: $have_ecore_sdl"
1451 echo " Ecore_FB.....................: $have_ecore_fb"
1452 if test "x${have_ecore_fb}" = "xyes" ; then
1453 echo " Touchscreen................: $have_tslib"
1455 echo " Ecore_DirectFB...............: $have_ecore_directfb"
1456 echo " Ecore_WinCE..................: $have_ecore_wince"
1462 echo " Ecore_Evas...................: $have_ecore_evas"
1463 if test "x${have_ecore_evas}" = "xyes" ; then
1464 echo " Software Memory Buffer.....: $have_ecore_evas_software_buffer"
1465 if test "x${have_ecore_evas_software_x11}" = "xyes" ; then
1466 echo " Software X11...............: $have_ecore_evas_software_x11 (Xlib=${have_ecore_evas_software_xlib}) (XCB=${have_ecore_evas_software_xcb})"
1468 echo " Software X11...............: $have_ecore_evas_software_x11"
1470 echo " XRender X11................: $have_ecore_evas_xrender_x11"
1471 echo " OpenGL X11.................: $have_ecore_evas_opengl_x11"
1472 echo " XRender XCB................: $have_ecore_evas_xrender_xcb"
1473 echo " Software GDI...............: $have_ecore_evas_software_gdi"
1474 echo " Software DirectDraw........: $have_ecore_evas_software_ddraw"
1475 echo " Direct3D...................: $have_ecore_evas_direct3d"
1476 echo " OpenGL Glew................: $have_ecore_evas_opengl_glew"
1477 echo " Cocoa......................: $have_ecore_evas_cocoa"
1478 echo " Software SDL...............: $have_ecore_evas_software_sdl"
1479 echo " OpenGL SDL.................: $have_ecore_evas_opengl_sdl"
1480 echo " DirectFB...................: $have_ecore_evas_directfb"
1481 echo " Software Framebuffer.......: $have_ecore_evas_fb"
1482 echo " Software 16bit X11.........: $have_ecore_evas_software_16_x11"
1483 echo " Software 16bit DirectDraw..: $have_ecore_evas_software_16_ddraw"
1484 echo " Software 16bit WinCE.......: $have_ecore_evas_software_16_wince"
1487 echo " Tests................: ${enable_tests}"
1488 echo " Maximum log level....: ${with_max_log_level}"
1489 echo "Documentation..........: ${build_doc}"
1491 echo "Compilation............: make (or gmake)"
1492 echo " CPPFLAGS.............: $CPPFLAGS"
1493 echo " CFLAGS...............: $CFLAGS"
1494 echo " CXXFLAGS.............: $CXXFLAGS"
1495 echo " LDFLAGS..............: $LDFLAGS"
1497 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
1498 echo " prefix...............: $prefix"