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 "${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 m4_define([relname], [ver-svn-06])
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])
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(VERS_MAJ, [v_maj], [Major version])
46 AC_DEFINE_UNQUOTED(VERS_MIN, [v_min], [Minor version])
47 AC_DEFINE_UNQUOTED(VERS_MIC, [v_mic], [Micro version])
48 AC_DEFINE_UNQUOTED(VERS_REV, [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 m4_ifdef([AM_GNU_GETTEXT_VERSION], [
57 AM_GNU_GETTEXT_VERSION([0.12.1])
60 m4_ifdef([AM_GNU_GETTEXT], [
61 AM_GNU_GETTEXT([external])
62 po_makefile_in=po/Makefile.in
63 AM_CONDITIONAL([HAVE_PO], [true])
65 AM_CONDITIONAL([HAVE_PO], [false])
71 with_max_log_level="<unset>"
72 AC_ARG_WITH(internal-maximum-log-level,
73 [AC_HELP_STRING([--with-internal-maximum-log-level=NUMBER],
74 [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.])],
76 if test "x${withval}" != "xno"; then
77 if echo "${withval}" | grep '^[[0-9]]\+$' >/dev/null 2>/dev/null; then
78 AC_MSG_NOTICE([ignoring any EINA_LOG() with level greater than ${withval}])
79 AC_DEFINE_UNQUOTED(EINA_LOG_LEVEL_MAXIMUM, ${withval}, [if set, logging is limited to this amount.])
80 with_max_log_level="${withval}"
82 AC_MSG_ERROR([--with-internal-maximum-log-level takes a decimal number, got "${withval}" instead.])
88 ### Default options with respect to host
90 # dependencies and options
92 want_abstract_sockets="no"
100 want_notify_win32="no"
107 want_ecore_file="yes"
108 want_ecore_config="no"
110 want_ecore_input="yes"
112 # graphic system modules
113 want_evas_simple_x11="no"
114 want_ecore_x_xcb="no"
116 want_ecore_win32="no"
117 want_ecore_cocoa="no"
120 want_ecore_directfb="no"
121 want_ecore_wince="no"
123 # ecore_x options (both xlib and xcb)
124 want_ecore_x_composite="yes"
125 want_ecore_x_damage="yes"
126 want_ecore_x_dpms="yes"
127 want_ecore_x_randr="yes"
128 want_ecore_x_render="yes"
129 want_ecore_x_screensaver="yes"
130 want_ecore_x_shape="yes"
131 want_ecore_x_sync="yes"
132 want_ecore_x_xfixes="yes"
133 want_ecore_x_xinerama="yes"
134 want_ecore_x_xprint="yes"
135 want_ecore_x_xtest="yes"
136 want_ecore_x_cursor="yes"
137 want_ecore_x_input="yes"
140 want_ecore_evas="yes"
141 want_ecore_evas_software_buffer="yes"
142 want_ecore_evas_software_x11="no"
143 want_ecore_evas_xrender_x11="no"
144 want_ecore_evas_opengl_x11="no"
145 want_ecore_evas_software_16_x11="no"
146 want_ecore_evas_software_xcb="no"
147 want_ecore_evas_xrender_xcb="no"
148 want_ecore_evas_software_gdi="no"
149 want_ecore_evas_software_ddraw="no"
150 want_ecore_evas_direct3d="no"
151 want_ecore_evas_opengl_glew="no"
152 want_ecore_evas_software_16_ddraw="no"
153 want_ecore_evas_cocoa="no"
154 want_ecore_evas_software_sdl="no"
155 want_ecore_evas_gl_sdl="no"
156 want_ecore_evas_directfb="no"
157 want_ecore_evas_fb="no"
158 want_ecore_evas_software_16_wince="no"
163 want_ecore_wince="yes"
164 want_ecore_evas_software_16_wince="yes"
167 want_notify_win32="yes"
172 want_ecore_win32="yes"
173 want_ecore_evas_software_gdi="yes"
174 want_ecore_evas_software_ddraw="yes"
175 want_ecore_evas_direct3d="yes"
176 want_ecore_evas_opengl_glew="yes"
177 want_ecore_evas_software_16_ddraw="auto"
178 want_ecore_evas_software_sdl="yes"
179 want_ecore_evas_gl_sdl="yes"
188 want_ecore_cocoa="yes"
189 want_ecore_evas_cocoa="yes"
190 want_ecore_evas_software_sdl="yes"
191 want_ecore_evas_gl_sdl="yes"
196 want_abstract_sockets="yes"
206 want_ecore_evas_software_x11="yes"
207 want_ecore_evas_xrender_x11="yes"
208 want_ecore_evas_opengl_x11="yes"
209 want_ecore_evas_software_16_x11="yes"
210 want_ecore_evas_software_xcb="yes"
211 want_ecore_evas_xrender_xcb="yes"
212 want_ecore_evas_software_sdl="yes"
213 want_ecore_evas_gl_sdl="yes"
214 want_ecore_evas_directfb="yes"
215 want_ecore_evas_fb="yes"
219 requirements_ecore=""
220 requirements_ecore_con=""
221 requirements_ecore_config=""
222 requirements_ecore_directfb=""
223 requirements_ecore_evas=""
224 requirements_ecore_fb=""
225 requirements_ecore_file=""
226 requirements_ecore_imf=""
227 requirements_ecore_imf_evas=""
228 requirements_ecore_input=""
229 requirements_ecore_input_evas=""
230 requirements_ecore_ipc=""
231 requirements_ecore_cocoa=""
232 requirements_ecore_sdl=""
233 requirements_ecore_x=""
234 requirements_ecore_win32=""
235 requirements_ecore_wince=""
237 ### Additional options to configure
239 want_glib_integration_always=no
240 AC_ARG_ENABLE(glib-integration-always,
241 AC_HELP_STRING([--enable-glib-integration-always], [enable glib integration when ecore_init() is called always]),
242 [want_glib_integration_always=$enableval])
244 if test "x${want_glib_integration_always}" = "xyes" ; then
245 AC_DEFINE([GLIB_INTEGRATION_ALWAYS], [1], [Always integrate glib if support compiled])
248 # abstract sockets (ecore_con.c)
249 AC_ARG_ENABLE([abstract-sockets],
250 [AC_HELP_STRING([--disable-abstract-sockets], [disable abstract sockets.])],
252 if test "x${enableval}" = "xyes" ; then
253 want_abstract_sockets="yes"
255 want_abstract_sockets="no"
258 [want_abstract_sockets="yes"])
260 if test "x${want_abstract_sockets}" = "xyes" ; then
261 AC_DEFINE([HAVE_ABSTRACT_SOCKETS], [1], [Have abstract sockets namespace])
264 # Simple X11 build/link
266 AC_ARG_ENABLE(simple-x11,
267 AC_HELP_STRING([--enable-simple-x11], [enable simple x11 linking]),
268 [want_evas_simple_x11=$enableval])
272 [AC_HELP_STRING([--disable-xim], [disable X Input Method.])],
274 if test "x${enableval}" = "xyes" ; then
282 if test "x${want_xim}" = "xyes" ; then
283 AC_DEFINE([ENABLE_XIM], [1], [Enable X Input Method])
288 EFL_CHECK_TESTS([enable_tests="yes"], [enable_tests="no"])
291 ### Checks for programs
293 m4_ifdef([AC_PROG_OBJC],
296 _AM_DEPENDENCIES(OBJC)
299 AC_CHECK_TOOL([OBJC], [gcc])
301 AC_SUBST([OBJCFLAGS])
303 m4_ifndef([am__fastdepOBJC], [
304 AM_CONDITIONAL([am__fastdepOBJC], [false])
305 AC_SUBST([cocoa_ldflags])
311 have_gnu_objc=${ac_cv_objc_compiler_gnu}
313 # doxygen program for documentation building
315 EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
317 # The first call to PKG_CHECK_MODULES is done conditionally,
318 # so we should include this here:
321 # Check whether pkg-config supports Requires.private
322 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
323 pkgconfig_requires_private="Requires.private"
325 pkgconfig_requires_private="Requires"
327 AC_SUBST(pkgconfig_requires_private)
330 ### Checks for libraries
332 # Evil library for compilation on Windows
336 PKG_CHECK_MODULES([EVIL], [evil])
337 AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if Evil library is installed])
338 requirements_ecore="evil ${requirements_ecore}"
339 requirements_ecore_evas="evil ${requirements_ecore_evas}"
340 requirements_ecore_file="evil ${requirements_ecore_file}"
341 requirements_ecore_imf="evil ${requirements_ecore_imf}"
342 requirements_ecore_imf_evas="evil ${requirements_ecore_imf_evas}"
343 EFL_ECORE_BUILD="-DEFL_ECORE_BUILD"
344 EFL_ECORE_FILE_BUILD="-DEFL_ECORE_FILE_BUILD"
345 EFL_ECORE_EVAS_BUILD="-DEFL_ECORE_EVAS_BUILD"
346 EFL_ECORE_IMF_BUILD="-DEFL_ECORE_IMF_BUILD"
347 EFL_ECORE_INPUT_BUILD="-DEFL_ECORE_INPUT_BUILD"
348 EFL_ECORE_INPUT_EVAS_BUILD="-DEFL_ECORE_INPUT_EVAS_BUILD"
356 EFL_ECORE_WINCE_BUILD="-DEFL_ECORE_WINCE_BUILD"
357 requirements_ecore_wince="evil ${requirements_ecore_wince}"
361 EFL_ECORE_WIN32_BUILD="-DEFL_ECORE_WIN32_BUILD"
362 EFL_ECORE_SDL_BUILD="-DEFL_ECORE_SDL_BUILD"
363 requirements_ecore_win32="evil ${requirements_ecore_win32}"
364 requirements_ecore_sdl="evil ${requirements_ecore_sdl}"
369 AC_SUBST(EFL_ECORE_BUILD)
370 AC_SUBST(EFL_ECORE_FILE_BUILD)
371 AC_SUBST(EFL_ECORE_EVAS_BUILD)
372 AC_SUBST(EFL_ECORE_IMF_BUILD)
373 AC_SUBST(EFL_ECORE_INPUT_BUILD)
374 AC_SUBST(EFL_ECORE_INPUT_EVAS_BUILD)
375 AC_SUBST(EFL_ECORE_WINCE_BUILD)
376 AC_SUBST(EFL_ECORE_WIN32_BUILD)
377 AC_SUBST(EFL_ECORE_SDL_BUILD)
379 AM_CONDITIONAL(ECORE_HAVE_WINCE, test "x${have_wince}" = "xyes")
380 AM_CONDITIONAL(ECORE_HAVE_WIN32, test "x${have_win32}" = "xyes")
389 WIN32_LIBS="-lws2_32"
393 AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
397 AC_SUBST(dlopen_libs)
401 PKG_CHECK_MODULES(EINA, [eina-0])
402 #FIXME check all the requirements when the eina move will be finished
403 requirements_ecore="eina-0 ${requirements_ecore}"
404 requirements_ecore_con="ecore eina-0 ${requirements_ecore_con}"
405 requirements_ecore_config="ecore eina-0 ${requirements_ecore_config}"
406 requirements_ecore_directfb="ecore eina-0 ${requirements_ecore_directfb}"
407 requirements_ecore_evas="ecore eina-0 ${requirements_ecore_evas}"
408 requirements_ecore_fb="ecore eina-0 ${requirements_ecore_fb}"
409 requirements_ecore_file="ecore eina-0 ${requirements_ecore_file}"
410 requirements_ecore_imf="ecore eina-0 ${requirements_ecore_imf}"
411 requirements_ecore_imf_evas="ecore eina-0 ${requirements_ecore_imf_evas}"
412 requirements_ecore_input="ecore eina-0 ${requirements_ecore_input}"
413 requirements_ecore_input_evas="ecore eina-0 ${requirements_ecore_input_evas}"
414 requirements_ecore_ipc="ecore eina-0 ${requirements_ecore_ipc}"
415 requirements_ecore_cocoa="ecore eina-0 ${requirements_ecore_cocoa}"
416 requirements_ecore_sdl="ecore eina-0 ${requirements_ecore_sdl}"
417 requirements_ecore_win32="ecore eina-0 ${requirements_ecore_win32}"
418 requirements_ecore_wince="ecore eina-0 ${requirements_ecore_wince}"
419 requirements_ecore_x="ecore eina-0 ${requirements_ecore_x}"
422 # glib support (main loop integration)
423 AC_ARG_ENABLE([glib],
424 [AC_HELP_STRING([--disable-glib], [disable glib support. @<:@default=detect@:>@])],
425 [want_glib=$enableval], [])
427 if test "x$want_glib" != "xno"; then
428 PKG_CHECK_MODULES([GLIB], [glib-2.0], [have_glib="yes"], [have_glib="no"])
432 if test "x$want_glib" = "xyes" -a "x$have_glib" = "xno"; then
433 AC_MSG_ERROR([GLib support requested, but no GLib found by pkg-config.])
434 elif test "x$have_glib" = "xyes"; then
435 AC_DEFINE(HAVE_GLIB, [1], [Have GLib])
436 requirements_ecore="glib-2.0 ${requirements_ecore}"
440 # SDL library (ecore_sdl)
443 SDL_CONFIG="sdl-config"
444 AC_ARG_WITH([sdl-config],
445 [AC_HELP_STRING([--with-sdl-config=PATH], [use sdl-config specified])],
448 AC_MSG_NOTICE([using ${SDL_CONFIG} for sdl-config])
451 AC_PATH_PROG([SDL_CONFIG], ["sdl-config"], [""], [$PATH])
453 if test -n "$SDL_CONFIG" ; then
454 SDL_CFLAGS=`$SDL_CONFIG --cflags`
455 SDL_LIBS=`$SDL_CONFIG --libs`
460 PKG_CHECK_MODULES([SDL], [sdl >= 1.2.0], [have_sdl="yes"], [have_sdl="no"])
463 if test "x${have_sdl}" = "xyes" ; then
464 PKG_CHECK_EXISTS([sdl >= 1.3.0],
465 [AC_DEFINE(BUILD_ECORE_EVAS_SDL_130, 1, [Support for SVN SDL])])
469 # DirectFB library (ecore_directfb)
471 PKG_CHECK_MODULES([DIRECTFB],
472 [directfb >= 0.9.16],
473 [have_directfb="yes"],
474 [have_directfb="no"])
477 # Eet library (ecore_config)
479 PKG_CHECK_MODULES([EET],
485 # Xlib and XCB (ecore_x)
489 have_ecore_x_xlib="no"
490 have_ecore_x_xcb="no"
497 ecore_x_libs_private=""
499 AC_ARG_ENABLE(ecore-x-composite,
500 [AC_HELP_STRING([--disable-ecore-x-composite],
501 [disable the ecore_x support for Xcomposite extension.
502 @<:@default=detect@:>@])],
503 [want_ecore_x_composite=$enableval])
505 AC_ARG_ENABLE(ecore-x-damage,
506 [AC_HELP_STRING([--disable-ecore-x-damage],
507 [disable the ecore_x support for Xdamage extension.
508 @<:@default=detect@:>@])],
509 [want_ecore_x_damage=$enableval])
511 AC_ARG_ENABLE(ecore-x-dpms,
512 [AC_HELP_STRING([--disable-ecore-x-dpms],
513 [disable the ecore_x support for Xdpms extension.
514 @<:@default=detect@:>@])],
515 [want_ecore_x_dpms=$enableval])
517 AC_ARG_ENABLE(ecore-x-randr,
518 [AC_HELP_STRING([--disable-ecore-x-randr],
519 [disable the ecore_x support for Xrandr extension.
520 @<:@default=detect@:>@])],
521 [want_ecore_x_randr=$enableval])
523 AC_ARG_ENABLE(ecore-x-render,
524 [AC_HELP_STRING([--disable-ecore-x-render],
525 [disable the ecore_x support for Xrender extension.
526 @<:@default=detect@:>@])],
527 [want_ecore_x_render=$enableval])
529 AC_ARG_ENABLE(ecore-x-screensaver,
530 [AC_HELP_STRING([--disable-ecore-x-screensaver],
531 [disable the ecore_x support for Xscreensaver extension.
532 @<:@default=detect@:>@])],
533 [want_ecore_x_screensaver=$enableval])
535 AC_ARG_ENABLE(ecore-x-shape,
536 [AC_HELP_STRING([--disable-ecore-x-shape],
537 [disable the ecore_x support for Xshape extension.
538 @<:@default=detect@:>@])],
539 [want_ecore_x_shape=$enableval])
541 AC_ARG_ENABLE(ecore-x-sync,
542 [AC_HELP_STRING([--disable-ecore-x-sync],
543 [disable the ecore_x support for Xsync extension.
544 @<:@default=detect@:>@])],
545 [want_ecore_x_sync=$enableval])
547 AC_ARG_ENABLE(ecore-x-xfixes,
548 [AC_HELP_STRING([--disable-ecore-x-xfixes],
549 [disable the ecore_x support for Xfixes extension.
550 @<:@default=detect@:>@])],
551 [want_ecore_x_xfixes=$enableval])
553 AC_ARG_ENABLE(ecore-x-xinerama,
554 [AC_HELP_STRING([--disable-ecore-x-xinerama],
555 [disable the ecore_x support for Xinerama extension.
556 @<:@default=detect@:>@])],
557 [want_ecore_x_xinerama=$enableval])
559 AC_ARG_ENABLE(ecore-x-xprint,
560 [AC_HELP_STRING([--disable-ecore-x-xprint],
561 [disable the ecore_x support for Xprint extension.
562 @<:@default=detect@:>@])],
563 [want_ecore_x_xprint=$enableval])
565 AC_ARG_ENABLE(ecore-x-xtest,
566 [AC_HELP_STRING([--disable-ecore-x-xtest],
567 [disable the ecore_x support for Xtest extension.
568 @<:@default=detect@:>@])],
569 [want_ecore_x_xtest=$enableval])
571 AC_ARG_ENABLE(ecore-x-cursor,
572 [AC_HELP_STRING([--disable-ecore-x-cursor],
573 [disable the ecore_x support for Xcursor extension.
574 @<:@default=detect@:>@])],
575 [want_ecore_x_cursor=$enableval])
577 AC_ARG_ENABLE(ecore-x-input,
578 [AC_HELP_STRING([--disable-ecore-x-input],
579 [disable the ecore_x support for Xinput/Xinput2 extension.
580 @<:@default=detect@:>@])],
581 [want_ecore_x_input=$enableval])
584 AC_ARG_ENABLE(ecore-x-xcb,
585 [AC_HELP_STRING([--enable-ecore-x-xcb],
586 [enable the ecore_x module with XCB backend. @<:@default=disabled@:>@])],
587 [want_ecore_x_xcb=$enableval],
588 [want_ecore_x_xcb="no"])
590 AC_MSG_CHECKING(whether ecore_x with XCB backend is to be built)
591 AC_MSG_RESULT($want_ecore_x_xcb)
593 if test "x$want_ecore_x_xcb" = "xyes" ; then
594 PKG_CHECK_MODULES(XCB, xcb xcb-icccm xcb-image xcb-keysyms pixman-1,
595 [ have_ecore_x_xcb="yes"
596 requirements_ecore_x="xcb xcb-icccm xcb-image xcb-keysyms pixman-1 ${requirements_ecore_x}" ],
597 [ have_ecore_x_xcb="no" ])
599 if test "x$have_ecore_x_xcb" = "xyes" ; then
600 if test "x$want_ecore_x_composite" != "xno"; then
601 PKG_CHECK_MODULES(XCB_COMPOSITE, xcb-composite,
602 [ have_ecore_x_xcb_composite="yes"
603 requirements_ecore_x="xcb-composite ${requirements_ecore_x}"
604 AC_DEFINE(ECORE_XCB_COMPOSITE, 1, [Build support for XCB composite]) ],
605 [ have_ecore_x_xcb_composite="no" ])
607 have_ecore_x_xcb_composite="no"
608 AC_MSG_NOTICE("composite extension explicitly disabled")
611 if test "x$want_ecore_x_damage" != "xno"; then
612 PKG_CHECK_MODULES(XCB_DAMAGE, xcb-damage,
613 [ have_ecore_x_xcb_damage="yes"
614 requirements_ecore_x="xcb-damage ${requirements_ecore_x}"
615 AC_DEFINE(ECORE_XCB_DAMAGE, 1, [Build support for XCB damage]) ],
616 [ have_ecore_x_xcb_damage="no" ])
618 have_ecore_x_xcb_damage="no"
619 AC_MSG_NOTICE("damage extension explicitly disabled")
622 if test "x$want_ecore_x_dpms" != "xno"; then
623 PKG_CHECK_MODULES(XCB_DPMS, xcb-dpms,
624 [ have_ecore_x_xcb_dpms="yes"
625 requirements_ecore_x="xcb-dpms ${requirements_ecore_x}"
626 AC_DEFINE(ECORE_XCB_DPMS, 1, [Build support for XCB dpms]) ],
627 [ have_ecore_x_xcb_dpms="no" ])
629 have_ecore_x_xcb_dpms="no"
630 AC_MSG_NOTICE("dpms extension explicitly disabled")
633 if test "x$want_ecore_x_randr" != "xno"; then
634 PKG_CHECK_MODULES(XCB_RANDR, xcb-randr,
635 [ have_ecore_x_xcb_randr="yes"
636 requirements_ecore_x="xcb-randr ${requirements_ecore_x}"
637 AC_DEFINE(ECORE_XCB_RANDR, 1, [Build support for XCB randr]) ],
638 [ have_ecore_x_xcb_randr="no" ])
640 have_ecore_x_xcb_randr="no"
641 AC_MSG_NOTICE("randr extension explicitly disabled")
644 if test "x$want_ecore_x_render" != "xno"; then
645 PKG_CHECK_MODULES(XCB_RENDER, xcb-render,
646 [ have_ecore_x_xcb_render="yes"
647 requirements_ecore_x="xcb-render ${requirements_ecore_x}"
648 AC_DEFINE(ECORE_XCB_RENDER, 1, [Build support for XCB render]) ],
649 [ have_ecore_x_xcb_render="no" ])
651 have_ecore_x_xcb_render="no"
652 AC_MSG_NOTICE("render extension explicitly disabled")
655 if test "x$want_ecore_x_screensaver" != "xno"; then
656 PKG_CHECK_MODULES(XCB_SCREENSAVER, xcb-screensaver,
657 [ have_ecore_x_xcb_screensaver="yes"
658 requirements_ecore_x="xcb-screensaver ${requirements_ecore_x}"
659 AC_DEFINE(ECORE_XCB_SCREENSAVER, 1, [Build support for XCB screensaver]) ],
660 [ have_ecore_x_xcb_screensaver="no" ])
662 have_ecore_x_xcb_screensaver="no"
663 AC_MSG_NOTICE("screensaver extension explicitly disabled")
666 if test "x$want_ecore_x_shape" != "xno"; then
667 PKG_CHECK_MODULES(XCB_SHAPE, xcb-shape,
668 [ have_ecore_x_xcb_shape="yes"
669 requirements_ecore_x="xcb-shape ${requirements_ecore_x}"
670 AC_DEFINE(ECORE_XCB_SHAPE, 1, [Build support for XCB shape]) ],
671 [ have_ecore_x_xcb_shape="no" ])
673 have_ecore_x_xcb_shape="no"
674 AC_MSG_NOTICE("shape extension explicitly disabled")
677 if test "x$want_ecore_x_sync" != "xno"; then
678 PKG_CHECK_MODULES(XCB_SYNC, xcb-sync,
679 [ have_ecore_x_xcb_sync="yes"
680 requirements_ecore_x="xcb-sync ${requirements_ecore_x}"
681 AC_DEFINE(ECORE_XCB_SYNC, 1, [Build support for XCB sync]) ],
682 [ have_ecore_x_xcb_sync="no" ])
684 have_ecore_x_xcb_sync="no"
685 AC_MSG_NOTICE("sync extension explicitly disabled")
688 if test "x$want_ecore_x_xfixes" != "xno"; then
689 PKG_CHECK_MODULES(XCB_XFIXES, xcb-xfixes,
690 [ have_ecore_x_xcb_xfixes="yes"
691 requirements_ecore_x="xcb-xfixes ${requirements_ecore_x}"
692 AC_DEFINE(ECORE_XCB_FIXES, 1, [Build support for XCB xfixes]) ],
693 [ have_ecore_x_xcb_xfixes="no" ])
695 have_ecore_x_xcb_xfixes="no"
696 AC_MSG_NOTICE("xfixes extension explicitly disabled")
699 if test "x$want_ecore_x_xinerama" != "xno"; then
700 PKG_CHECK_MODULES(XCB_XINERAMA, xcb-xinerama,
701 [ have_ecore_x_xcb_xinerama="yes"
702 requirements_ecore_x="xcb-xinerama ${requirements_ecore_x}"
703 AC_DEFINE(ECORE_XCB_XINERAMA, 1, [Build support for XCB xinerama]) ],
704 [ have_ecore_x_xcb_xinerama="no" ])
706 have_ecore_x_xcb_xinerama="no"
707 AC_MSG_NOTICE("xinerama extension explicitly disabled")
710 if test "x$want_ecore_x_xprint" != "xno"; then
711 PKG_CHECK_MODULES(XCB_XPRINT, xcb-xprint,
712 [ have_ecore_x_xcb_xprint="yes"
713 requirements_ecore_x="xcb-xprint ${requirements_ecore_x}"
714 AC_DEFINE(ECORE_XCB_XPRINT, 1, [Build support for XCB xprint]) ],
715 [ have_ecore_x_xcb_xprint="no" ])
717 have_ecore_x_xcb_xprint="no"
718 AC_MSG_NOTICE("xprint extension explicitly disabled")
721 if test "x$want_ecore_x_xtest" != "xno"; then
722 PKG_CHECK_MODULES(XCB_XTEST, xcb-xtest,
723 [ have_ecore_x_xcb_xtest="yes"
724 requirements_ecore_x="xcb-xtest ${requirements_ecore_x}"
725 AC_DEFINE(ECORE_XCB_XTEST, 1, [Build support for XCB xtest]) ],
726 [ have_ecore_x_xcb_xtest="no" ])
728 have_ecore_x_xcb_xtest="no"
729 AC_MSG_NOTICE("xtest extension explicitly disabled")
732 AC_DEFINE(HAVE_ECORE_X_XCB, 1, [Defined to 1 if XCB is enabled.])
738 have_ecore_x_xcb_define="-DHAVE_ECORE_X_XCB"
739 AC_SUBST(have_ecore_x_xcb_define)
743 if ! test "x$have_ecore_x_xcb" = "xyes" ; then
745 AC_CHECK_HEADER(X11/X.h,
747 if test "x$want_evas_simple_x11" = "xyes"; then
748 x_libs="${x_libs} -lX11 -lXext"
750 x_dir=${x_dir:-/usr/X11R6}
751 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
752 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
754 have_ecore_x_xlib="yes"
758 if test "x$have_ecore_x_xlib" = "xyes"; then
763 CFLAGS="$x_cflags $x_includes"
765 if test "x$want_ecore_x_cursor" = "xyes"; then
766 AC_CHECK_HEADER(X11/Xcursor/Xcursor.h,
768 AC_CHECK_LIB(Xcursor, XcursorImageLoadCursor,
770 AC_DEFINE(ECORE_XCURSOR, 1, [Build support for Xcursor])
772 Xcursor_libs="-lXcursor"
787 #include <X11/Xlib.h>
795 AC_MSG_NOTICE("Xcursor explicitly disabled")
798 AC_SUBST(Xcursor_cflags)
799 AC_SUBST(Xcursor_libs)
801 ECORE_CHECK_X_EXTENSION([Xkb], [XKB.h], [X11], [XkbSetDetectableAutoRepeat], [$want_ecore_x_xkb])
802 ECORE_CHECK_X_EXTENSION([Xcomposite], [Xcomposite.h], [Xcomposite], [XCompositeQueryExtension], [$want_ecore_x_composite])
803 ECORE_CHECK_X_EXTENSION([Xdamage], [Xdamage.h], [Xdamage], [XDamageSubtract], [$want_ecore_x_damage])
804 ECORE_CHECK_X_EXTENSION([Xdpms], [dpms.h], [Xdpms], [DPMSQueryExtension], [$want_ecore_x_dpms])
805 if test "x$use_xdpms" = "xno" ; then
806 ECORE_CHECK_X_EXTENSION([Xdpms], [dpms.h], [Xext], [DPMSQueryExtension], [$want_ecore_x_dpms])
808 ECORE_CHECK_X_EXTENSION([Xfixes], [Xfixes.h], [Xfixes], [XFixesExpandRegion], [$want_ecore_x_xfixes])
809 ECORE_CHECK_X_EXTENSION([Xinerama], [Xinerama.h], [Xinerama], [XineramaQueryScreens], [$want_ecore_x_xinerama])
810 ECORE_CHECK_X_EXTENSION([Xprint], [Print.h], [Xp], [XpQueryScreens], [$want_ecore_x_xprint])
811 ECORE_CHECK_X_EXTENSION([Xrandr], [Xrandr.h], [Xrandr], [XRRGetScreenResourcesCurrent], [$want_ecore_x_randr])
812 ECORE_CHECK_X_EXTENSION([Xrender], [Xrender.h], [Xrender], [XRenderFindVisualFormat], [$want_ecore_x_render])
813 ECORE_CHECK_X_EXTENSION([Xtest], [XTest.h], [Xtst], [XTestFakeKeyEvent], [$want_ecore_x_xtest])
814 ECORE_CHECK_X_EXTENSION([Xss], [scrnsaver.h], [Xss], [XScreenSaverSelectInput], [$want_ecore_x_screensaver])
815 ECORE_CHECK_X_EXTENSION([Xi2], [XInput2.h], [Xi], [XIQueryDevice], [$want_ecore_x_input])
817 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}"
819 AC_DEFINE(HAVE_ECORE_X_XLIB, 1, [Defined to 1 if Xlib is enabled.])
822 have_ecore_x_xlib="yes"
829 AC_SUBST(ecore_x_libs_private)
831 AM_CONDITIONAL(BUILD_ECORE_X_XLIB, test $have_ecore_x_xlib = yes)
832 AM_CONDITIONAL(BUILD_ECORE_X_XCB, test $have_ecore_x_xcb = yes)
835 # Evas library (ecore_config, ecore_input_evas, ecore_imf_evas and ecore_evas)
837 PKG_CHECK_MODULES([EVAS], [evas >= 0.9.9],
842 ### Checks for header files
849 AC_DEFINE(HAVE_DLFCN_H, 1, [Define to 1 if you have the <dlfcn.h> header file.])
850 AC_DEFINE(HAVE_SYS_MMAN_H, 1, [Define to 1 if you have the <sys/mman.h> header file.])
851 AC_DEFINE(HAVE_SYS_TIME_H, 1, [Define to 1 if you have the <sys/time.h> header file.])
855 AC_CHECK_HEADERS([dlfcn.h features.h langinfo.h locale.h sys/time.h sys/mman.h signal.h sys/resource.h])
861 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])
863 if test "x${ac_cv_header_netdb_h}" = "xyes" ; then
867 # Framebuffer (ecore_fb)
869 AC_CHECK_HEADER([linux/fb.h],
870 [AC_CHECK_HEADER([linux/input.h], [have_fb="yes"])])
872 # Cocoa header files (ecore_cocoa)
876 m4_ifdef([AC_PROG_OBJC], [
877 if test "x${have_gnu_objc}" = "xyes" ; then
878 AC_LANG_PUSH([Objective C])
879 AC_CHECK_HEADER([Cocoa/Cocoa.h],
882 cocoa_ldflags="-framework Cocoa"
884 AC_LANG_POP([Objective C])
887 AC_SUBST(cocoa_ldflags)
889 # basic pthread support
891 EFL_CHECK_PTHREAD([no], [have_pthread="yes"], [have_pthread="no"])
894 AC_CHECK_SIZEOF(int, 4)
895 AC_CHECK_SIZEOF(long, 4)
898 ### Checks for structures
901 ### Checks for compiler characteristics
912 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
915 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
916 WIN32_CFLAGS="-mwin32"
919 WIN32_CPPFLAGS="-D_WIN32_WINNT=0x0501"
922 AC_SUBST(WIN32_CPPFLAGS)
923 AC_SUBST(WIN32_CFLAGS)
926 ### Checks for linker characteristics
928 # use --enable-auto-import on Windows
930 lt_enable_auto_import=""
933 lt_enable_auto_import="-Wl,--enable-auto-import"
936 AC_SUBST(lt_enable_auto_import)
938 ### Checks for library functions
940 AC_CHECK_FUNCS(gettimeofday strlcpy)
942 have_atfile_source=auto
943 AC_ARG_ENABLE(atfile-source,
944 AC_HELP_STRING([--disable-atfile-source],
945 [disable use of atfile source functions as openat and mkdirat @<:@default=detect@:>@]),
946 [have_atfile_source=$enableval], [have_atfile_source=auto])
948 if test "x$have_atfile_source" != "xno"; then
949 AC_CHECK_FUNCS(mkdirat,
951 have_atfile_source=yes
952 AC_DEFINE(HAVE_ATFILE_SOURCE, 1, [mkdirat exists])
955 if test "x$have_atfile_source" = "xyes"; then
956 AC_MSG_ERROR([required atfile-source but no mkdirat()])
958 have_atfile_source=no
962 ### Checks for optionnal feature
963 AC_CHECK_FUNC(mallinfo,
966 AC_DEFINE(HAVE_MALLINFO, 1, [Gather memory statistic])
976 ECORE_CHECK_MODULE([con], [${want_ecore_con}], [Con], [${have_addrinfo}])
982 if test "x${have_ecore_con}" = "xyes" ; then
984 ECORE_CHECK_CURL([${want_curl}],
987 requirements_ecore_con="libcurl ${requirements_ecore_con}"
991 ECORE_CHECK_GNUTLS([${want_gnutls}],
995 ECORE_CHECK_OPENSSL([${want_openssl}],
996 [have_openssl="yes"],
999 if test "x${have_gnutls}" = "xyes" ; then
1000 requirements_ecore_con="gnutls ${requirements_ecore_con}"
1001 # no need to add it to req_ecore_ipc, since they
1002 # depends on ecore_con anyway.
1004 if test "x${have_openssl}" = "xyes" ; then
1005 requirements_ecore_con="openssl ${requirements_ecore_con}"
1006 # no need to add it to req_ecore_ipc, since they
1007 # depends on ecore_con anyway.
1011 ECORE_CHECK_CARES([${want_cares}],
1014 requirements_ecore_con="libcares ${requirements_ecore_con}"
1020 AM_CONDITIONAL([HAVE_CARES], [test "x${have_cares}" = "xyes"])
1023 ECORE_CHECK_MODULE([ipc], [${want_ecore_ipc}], [Ipc], [${have_ecore_con}],
1024 [requirements_ecore_ipc="ecore-con ${requirements_ecore_ipc}"])
1027 ECORE_CHECK_MODULE([file], [${want_ecore_file}], [File])
1031 have_notify_win32="no"
1032 if test "x${have_ecore_file}" = "xyes" ; then
1033 ECORE_CHECK_POLL([${want_poll}], [have_poll="yes"], [have_poll="no"])
1034 ECORE_CHECK_INOTIFY([${want_inotify}], [have_inotify="yes"], [have_inotify="no"])
1035 ECORE_CHECK_NOTIFY_WIN32([${want_notify_win32}], [have_notify_win32="yes"], [have_notify_win32="no"])
1037 if test "x${have_ecore_con}" = "xyes" ; then
1038 requirements_ecore_file="ecore-con ${requirements_ecore_file}"
1043 ecore_config_deps="no"
1044 if test "x${have_eet}" = "xyes" -a "x${have_evas}" -a "x${have_ecore_ipc}" ; then
1045 ecore_config_deps="yes"
1048 ECORE_CHECK_MODULE([config], [${want_ecore_config}], [Config], [${ecore_config_deps}],
1049 [requirements_ecore_config="ecore-ipc evas eet ${requirements_ecore_config}"])
1053 ECORE_CHECK_MODULE([imf], [${want_ecore_imf}], [Imf])
1057 ecore_imf_evas_deps="no"
1058 if test "x${have_ecore_imf}" = "xyes" -a "x${have_evas}" = "xyes" ; then
1059 ecore_imf_evas_deps="yes"
1062 ECORE_CHECK_MODULE([imf-evas], [${want_ecore_imf}], [Imf_Evas], [${ecore_imf_evas_deps}],
1063 [requirements_ecore_imf_evas="ecore-imf evas ${requirements_ecore_imf_evas}"])
1065 # ecore_input{_evas}
1066 ECORE_CHECK_MODULE([input], [${want_ecore_input}], [Input])
1067 ECORE_CHECK_MODULE([input-evas], [${want_ecore_input}], [Input_Evas], [${have_evas}],
1068 [requirements_ecore_input_evas="ecore-input evas ${requirements_ecore_input}"])
1075 if test "x${have_x}" = "xyes" -a \
1076 "x${have_ecore_input}" = "xyes" ; then
1080 ECORE_CHECK_MODULE([x], [${want_ecore_x}], [X], [${ecore_x_deps}],
1082 ecore_x_libs="$ecore_x_libs $x_libs"
1083 requirements_ecore_x="ecore-input ${requirements_ecore_x}"
1088 ECORE_CHECK_MODULE([win32], [${want_ecore_win32}], [Win32], [${have_ecore_input}],
1090 ecore_win32_libs="-lole32 -lgdi32"
1091 requirements_ecore_win32="ecore-input ${requirements_ecore_win32}"
1093 AC_SUBST(ecore_win32_libs)
1097 ecore_cocoa_deps="no"
1098 if test "x${have_ecore_input}" = "xyes" -a "x${have_cocoa}" = "xyes" ; then
1099 ecore_cocoa_deps="yes"
1102 ECORE_CHECK_MODULE([cocoa], [${want_ecore_cocoa}], [Cocoa], [${ecore_cocoa_deps}],
1103 [requirements_ecore_cocoa="ecore-input ${requirements_ecore_cocoa}"])
1108 if test "x${have_sdl}" = "xyes" -a "x${have_ecore_input}" = "xyes" ; then
1109 ecore_sdl_deps="yes"
1112 ECORE_CHECK_MODULE([sdl], [${want_ecore_sdl}], [Sdl], [${ecore_sdl_deps}],
1113 [requirements_ecore_sdl="ecore-input ${requirements_ecore_sdl}"])
1116 ECORE_CHECK_MODULE([fb], [${want_ecore_fb}], [FB], [$have_fb])
1118 if test "x${have_ecore_fb}" = "xyes" ; then
1119 ECORE_CHECK_TSLIB([${want_tslib}],
1122 requirements_ecore_fb="${_tslib_requirement} ${requirements_ecore_fb}"
1129 ECORE_CHECK_MODULE([directfb], [${want_ecore_directfb}], [DirectFB], [${have_directfb}],
1130 [requirements_ecore_directfb="directfb ${requirements_ecore_directfb}"])
1134 ECORE_CHECK_MODULE([wince], [${want_ecore_wince}], [WinCE], [${have_ecore_input}],
1135 [requirements_ecore_win32="ecore-input ${requirements_ecore_win32}"])
1141 ecore_evas_deps="no"
1142 if test "x${have_evas}" = "xyes" -a "x${have_ecore_input}" = "xyes" -a "x${have_ecore_input_evas}" = "xyes" ; then
1143 ecore_evas_deps="yes"
1146 ECORE_CHECK_MODULE([evas], [${want_ecore_evas}], [Evas], [${ecore_evas_deps}],
1147 [requirements_ecore_evas="ecore-input ecore-input-evas evas ${requirements_ecore_evas}"])
1151 ECORE_EVAS_CHECK_MODULE([software-buffer],
1152 [${want_ecore_evas_software_buffer}],
1158 # ecore_evas_software_x11
1160 ECORE_EVAS_CHECK_MODULE([software-x11],
1161 [${want_ecore_evas_software_x11}],
1165 have_ecore_evas_software_xlib=no"
1166 have_ecore_evas_software_xcb=no"
1167 if test "x$have_ecore_evas_software_x11" = "xyes" ; then
1168 have_ecore_evas_software_xlib=`${PKG_CONFIG} --variable=Xlib evas-software-x11`
1169 if test "x${have_ecore_evas_software_xlib}" = "xyes" -a "x${have_ecore_x_xlib}" = "xyes" ; then
1170 AC_DEFINE(BUILD_ECORE_EVAS_SOFTWARE_XLIB, 1, [Evas Software Xlib Engine Support])
1172 have_ecore_evas_software_xcb=`${PKG_CONFIG} --variable=XCB evas-software-x11`
1173 if test "x$have_ecore_evas_software_xcb" = "xyes" -a "x${have_ecore_x_xcb}" = "xyes" ; then
1174 AC_DEFINE(BUILD_ECORE_EVAS_SOFTWARE_XCB, 1, [Evas Software XCB Engine Support])
1178 # ecore_evas_xrender_x11
1180 ECORE_EVAS_CHECK_MODULE([xrender-x11],
1181 [${want_ecore_evas_xrender_x11}],
1183 [${have_ecore_x_xlib}])
1185 # ecore_evas_opengl_x11
1187 ECORE_EVAS_CHECK_MODULE([opengl-x11],
1188 [${want_ecore_evas_opengl_x11}],
1190 [${have_ecore_x_xlib}])
1192 # ecore_evas_software_x11 16 bits
1194 ECORE_EVAS_CHECK_MODULE([software-16-x11],
1195 [${want_ecore_evas_software_16_x11}],
1196 [Software Xlib 16 bits],
1197 [${have_ecore_x_xlib}])
1199 # ecore_evas_xrender_xcb
1201 ECORE_EVAS_CHECK_MODULE([xrender-xcb],
1202 [${want_ecore_evas_xrender_xcb}],
1204 [${ecore_evas_xcb_deps}])
1206 if test "x$have_ecore_evas_software_x11" = "xyes" -o \
1207 "x$have_ecore_evas_xrender_x11" = "xyes" -o \
1208 "x$have_ecore_evas_opengl_x11" = "xyes" -o \
1209 "x$have_ecore_evas_software_16_x11" = "xyes" -o \
1210 "x$have_ecore_evas_software_xcb" = "xyes" -o \
1211 "x$have_ecore_evas_xrender_xcb" = "xyes"; then
1212 AC_DEFINE(BUILD_ECORE_EVAS_X11, 1, [Support for X Window Engines in Ecore_Evas])
1213 requirements_ecore_evas="ecore-x ${requirements_ecore_evas}"
1218 ECORE_EVAS_CHECK_MODULE([software-gdi],
1219 [${want_ecore_evas_software_gdi}],
1221 [${have_ecore_win32}])
1223 ECORE_EVAS_CHECK_MODULE([software-ddraw],
1224 [${want_ecore_evas_software_ddraw}],
1225 [Software DirectDraw],
1226 [${have_ecore_win32}])
1228 ECORE_EVAS_CHECK_MODULE([direct3d],
1229 [${want_ecore_evas_direct3d}],
1231 [${have_ecore_win32}])
1233 ECORE_EVAS_CHECK_MODULE([opengl-glew],
1234 [${want_ecore_evas_opengl_glew}],
1236 [${have_ecore_win32}])
1238 ECORE_EVAS_CHECK_MODULE([software-16-ddraw],
1239 [${want_ecore_evas_software_16_ddraw}],
1240 [16 bpp Software DirectDraw],
1241 [${have_ecore_win32}])
1243 if test "x${have_ecore_evas_software_gdi}" = "xyes" -o \
1244 "x${have_ecore_evas_software_ddraw}" = "xyes" -o \
1245 "x${have_ecore_evas_direct3d}" = "xyes" -o \
1246 "x${have_ecore_evas_opengl_glew}" = "xyes" -o \
1247 "x${have_ecore_evas_software_16_ddraw}" = "xyes" ; then
1248 AC_DEFINE(BUILD_ECORE_EVAS_WIN32, 1, [Support for Win32 Engine in Ecore_Evas])
1249 requirements_ecore_evas="ecore-win32 ${requirements_ecore_evas}"
1254 ECORE_EVAS_CHECK_MODULE([cocoa],
1255 [${want_ecore_evas_cocoa}],
1257 [${have_ecore_cocoa}],
1258 [requirements_ecore_evas="ecore-cocoa ${requirements_ecore_evas}"])
1260 # ecore_evas_software_sdl
1262 ECORE_EVAS_CHECK_MODULE([software-sdl],
1263 [${want_ecore_evas_software_sdl}],
1265 [${have_ecore_sdl}],
1266 [requirements_ecore_evas="ecore-sdl ${requirements_ecore_evas}"])
1270 ECORE_EVAS_CHECK_MODULE([opengl-sdl],
1271 [${want_ecore_evas_gl_sdl}],
1273 [${have_ecore_sdl}],
1274 [requirements_ecore_evas="ecore-sdl ${requirements_ecore_evas}"])
1276 # ecore_evas_directfb
1278 ECORE_EVAS_CHECK_MODULE([directfb],
1279 [${want_ecore_evas_directfb}],
1281 [${have_ecore_directfb}],
1282 [requirements_ecore_evas="ecore-directfb ${requirements_ecore_evas}"])
1286 ECORE_EVAS_CHECK_MODULE([fb],
1287 [${want_ecore_evas_fb}],
1288 [Linux Framebuffer],
1290 [requirements_ecore_evas="ecore-fb ${requirements_ecore_evas}"])
1294 ECORE_EVAS_CHECK_MODULE([software-16-wince],
1295 [${want_ecore_evas_software_16_wince}],
1296 [16 bpp Software Windows CE],
1297 [${have_ecore_wince}],
1298 [requirements_ecore_evas="ecore-wince ${requirements_ecore_evas}"])
1304 AC_SUBST(requirements_ecore)
1305 AC_SUBST(requirements_ecore_con)
1306 AC_SUBST(requirements_ecore_config)
1307 AC_SUBST(requirements_ecore_directfb)
1308 AC_SUBST(requirements_ecore_evas)
1309 AC_SUBST(requirements_ecore_fb)
1310 AC_SUBST(requirements_ecore_file)
1311 AC_SUBST(requirements_ecore_imf)
1312 AC_SUBST(requirements_ecore_imf_evas)
1313 AC_SUBST(requirements_ecore_input)
1314 AC_SUBST(requirements_ecore_input_evas)
1315 AC_SUBST(requirements_ecore_ipc)
1316 AC_SUBST(requirements_ecore_cocoa)
1317 AC_SUBST(requirements_ecore_sdl)
1318 AC_SUBST(requirements_ecore_x)
1319 AC_SUBST(requirements_ecore_win32)
1320 AC_SUBST(requirements_ecore_wince)
1346 src/lib/ecore/Makefile
1347 src/lib/ecore_con/Makefile
1348 src/lib/ecore_config/Makefile
1349 src/lib/ecore_directfb/Makefile
1350 src/lib/ecore_evas/Makefile
1351 src/lib/ecore_fb/Makefile
1352 src/lib/ecore_file/Makefile
1353 src/lib/ecore_cocoa/Makefile
1354 src/lib/ecore_sdl/Makefile
1355 src/lib/ecore_imf/Makefile
1356 src/lib/ecore_imf_evas/Makefile
1357 src/lib/ecore_input/Makefile
1358 src/lib/ecore_input_evas/Makefile
1359 src/lib/ecore_ipc/Makefile
1360 src/lib/ecore_win32/Makefile
1361 src/lib/ecore_wince/Makefile
1362 src/lib/ecore_x/Makefile
1363 src/lib/ecore_x/xlib/Makefile
1364 src/lib/ecore_x/xcb/Makefile
1372 echo "$PACKAGE $VERSION"
1374 echo "Optional Modules:"
1378 echo " Ecore........................: always"
1379 echo " Thread support.............: $have_pthread"
1380 echo " GLib support...............: $have_glib"
1381 echo " Always integrate GLib......: $want_glib_integration_always"
1382 echo " Gathering memory statistic.: $have_mallinfo"
1383 echo " Ecore_Con....................: $have_ecore_con"
1384 if test "x$have_ecore_con" = "xyes" ; then
1385 echo $ECHO_N " OpenSSL....................: $have_openssl $ECHO_C"
1386 if test "x$have_gnutls" = "xyes" ; then
1391 echo " GnuTLS.....................: $have_gnutls"
1392 echo " CURL.......................: $have_curl"
1393 echo " Abstract Sockets...........: $want_abstract_sockets"
1394 echo " c-ares.....................: $have_cares"
1396 echo " Ecore_Ipc....................: $have_ecore_ipc"
1397 if test "x$have_ecore_ipc" = "xyes" ; then
1398 echo $ECHO_N " OpenSSL....................: $have_openssl $ECHO_C"
1399 if test "x$have_gnutls" = "xyes" ; then
1404 echo " GnuTLS.....................: $have_gnutls"
1406 echo " Ecore_File...................: $have_ecore_file"
1407 if test "x$have_ecore_file" = "xyes" ; then
1408 echo " Inotify....................: $have_inotify"
1409 echo " Windows notification.......: $have_notify_win32"
1410 echo " Poll.......................: $have_poll"
1411 echo " CURL.......................: $have_curl"
1413 echo " Ecore_Config.................: $have_ecore_config (deprecated)"
1414 echo " Ecore_IMF....................: $have_ecore_imf"
1415 echo " Ecore_IMF_Evas...............: $have_ecore_imf_evas"
1416 echo " Ecore_Input..................: $have_ecore_input"
1417 echo " Ecore_Input_Evas.............: $have_ecore_input_evas"
1420 echo " Graphic systems:"
1423 if test "x$have_ecore_x" = "xyes" ; then
1424 if test "x$have_ecore_x_xcb" = "xyes" ; then
1425 echo " Ecore_X (XCB backend)........: $have_ecore_x_xcb"
1426 echo " Xprint.....................: $have_ecore_x_xcb_xprint"
1427 echo " Xinerama...................: $have_ecore_x_xcb_xinerama"
1428 echo " Xrandr.....................: $have_ecore_x_xcb_randr"
1429 echo " Xscreensaver...............: $have_ecore_x_xcb_screensaver"
1430 echo " Xshape.....................: $have_ecore_x_xcb_shape"
1431 echo " Xsync......................: $have_ecore_x_xcb_sync"
1432 echo " Xrender....................: $have_ecore_x_xcb_render"
1433 echo " Xcomposite.................: $have_ecore_x_xcb_composite"
1434 echo " Xfixes.....................: $have_ecore_x_xcb_xfixes"
1435 echo " Xdamage....................: $have_ecore_x_xcb_damage"
1436 echo " Xdpms......................: $have_ecore_x_xcb_dpms"
1437 echo " Xtest......................: $have_ecore_x_xcb_xtest"
1439 echo " Ecore_X (Xlib backend).......: $have_ecore_x"
1440 echo " Xcursor....................: $use_Xcursor"
1441 echo " Xkb........................: $use_xkb"
1442 echo " Xprint.....................: $use_xprint"
1443 echo " Xinerama...................: $use_xinerama"
1444 echo " Xrandr.....................: $use_xrandr"
1445 echo " Xscreensaver...............: $use_xss"
1446 echo " Xrender....................: $use_xrender"
1447 echo " Xcomposite.................: $use_xcomposite"
1448 echo " Xfixes.....................: $use_xfixes"
1449 echo " Xdamage....................: $use_xdamage"
1450 echo " Xdpms......................: $use_xdpms"
1451 echo " Xtest......................: $use_xtest"
1452 echo " XIM........................: $want_xim"
1453 echo " Xi2........................: $use_xi2"
1456 echo " Ecore_X......................: $have_ecore_x"
1458 echo " Ecore_Win32..................: $have_ecore_win32"
1459 echo " Ecore_Cocoa..................: $have_ecore_cocoa"
1460 echo " Ecore_SDL....................: $have_ecore_sdl"
1461 echo " Ecore_FB.....................: $have_ecore_fb"
1462 if test "x${have_ecore_fb}" = "xyes" ; then
1463 echo " Touchscreen................: $have_tslib"
1465 echo " Ecore_DirectFB...............: $have_ecore_directfb"
1466 echo " Ecore_WinCE..................: $have_ecore_wince"
1472 echo " Ecore_Evas...................: $have_ecore_evas"
1473 if test "x${have_ecore_evas}" = "xyes" ; then
1474 echo " Software Memory Buffer.....: $have_ecore_evas_software_buffer"
1475 if test "x${have_ecore_evas_software_x11}" = "xyes" ; then
1476 echo " Software X11...............: $have_ecore_evas_software_x11 (Xlib=${have_ecore_evas_software_xlib}) (XCB=${have_ecore_evas_software_xcb})"
1478 echo " Software X11...............: $have_ecore_evas_software_x11"
1480 echo " XRender X11................: $have_ecore_evas_xrender_x11"
1481 echo " OpenGL X11.................: $have_ecore_evas_opengl_x11"
1482 echo " XRender XCB................: $have_ecore_evas_xrender_xcb"
1483 echo " Software GDI...............: $have_ecore_evas_software_gdi"
1484 echo " Software DirectDraw........: $have_ecore_evas_software_ddraw"
1485 echo " Direct3D...................: $have_ecore_evas_direct3d"
1486 echo " OpenGL Glew................: $have_ecore_evas_opengl_glew"
1487 echo " Cocoa......................: $have_ecore_evas_cocoa"
1488 echo " Software SDL...............: $have_ecore_evas_software_sdl"
1489 echo " OpenGL SDL.................: $have_ecore_evas_opengl_sdl"
1490 echo " DirectFB...................: $have_ecore_evas_directfb"
1491 echo " Software Framebuffer.......: $have_ecore_evas_fb"
1492 echo " Software 16bit X11.........: $have_ecore_evas_software_16_x11"
1493 echo " Software 16bit DirectDraw..: $have_ecore_evas_software_16_ddraw"
1494 echo " Software 16bit WinCE.......: $have_ecore_evas_software_16_wince"
1497 echo " Tests................: ${enable_tests}"
1498 echo " Maximum log level....: ${with_max_log_level}"
1499 echo "Documentation..........: ${build_doc}"
1501 echo "Compilation............: make (or gmake)"
1502 echo " CPPFLAGS.............: $CPPFLAGS"
1503 echo " CFLAGS...............: $CFLAGS"
1504 echo " CXXFLAGS.............: $CXXFLAGS"
1505 echo " LDFLAGS..............: $LDFLAGS"
1507 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
1508 echo " prefix...............: $prefix"