1 # get rid of that stupid cache mechanism
4 AC_INIT([ecore], [0.9.9.063], [enlightenment-devel@lists.sourceforge.net])
5 release="ver-pre-svn-05"
7 AC_CONFIG_SRCDIR([configure.ac])
8 AC_CONFIG_MACRO_DIR([m4])
13 AM_INIT_AUTOMAKE([1.6 dist-bzip2])
14 AM_CONFIG_HEADER([config.h])
15 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
20 define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
23 VMAJ=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $1);}'`
24 VMIN=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $2);}'`
25 VMIC=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $3);}'`
26 SNAP=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $4);}'`
27 version_info=`expr $VMAJ + $VMIN`":$VMIC:$VMIN"
28 AC_SUBST(version_info)
30 AM_GNU_GETTEXT_VERSION([0.12.1])
31 AM_GNU_GETTEXT([external])
39 ecore_config_release_info="-release $release"
40 ecore_con_release_info="-release $release"
41 ecore_data_release_info="-release $release"
42 ecore_directfb_release_info="-release $release"
43 ecore_evas_release_info="-release $release"
44 ecore_fb_release_info="-release $release"
45 ecore_file_release_info="-release $release"
46 ecore_imf_evas_release_info="-release $release"
47 ecore_imf_release_info="-release $release"
48 ecore_input_release_info="-release $release"
49 ecore_input_evas_release_info="-release $release"
50 ecore_ipc_release_info="-release $release"
51 ecore_quartz_release_info="-release $release"
52 ecore_release_info="-release $release"
53 ecore_sdl_release_info="-release $release"
54 ecore_win32_release_info="-release $release"
55 ecore_x_release_info="-release $release"
58 AC_SUBST(ecore_config_release_info)
59 AC_SUBST(ecore_con_release_info)
60 AC_SUBST(ecore_data_release_info)
61 AC_SUBST(ecore_directfb_release_info)
62 AC_SUBST(ecore_evas_release_info)
63 AC_SUBST(ecore_fb_release_info)
64 AC_SUBST(ecore_file_release_info)
65 AC_SUBST(ecore_imf_evas_release_info)
66 AC_SUBST(ecore_imf_release_info)
67 AC_SUBST(ecore_input_release_info)
68 AC_SUBST(ecore_input_evas_release_info)
69 AC_SUBST(ecore_ipc_release_info)
70 AC_SUBST(ecore_quartz_release_info)
71 AC_SUBST(ecore_release_info)
72 AC_SUBST(ecore_sdl_release_info)
73 AC_SUBST(ecore_win32_release_info)
74 AC_SUBST(ecore_wince_release_info)
75 AC_SUBST(ecore_x_release_info)
77 AC_DEFINE_UNQUOTED(SHARED_LIB_SUFFIX, "$shrext_cmds", [Suffix for shared objects])
79 with_max_log_level="<unset>"
80 AC_ARG_WITH(internal-maximum-log-level,
81 [AC_HELP_STRING([--with-internal-maximum-log-level=NUMBER],
82 [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.])],
84 if test "x${withval}" != "xno"; then
85 if echo "${withval}" | grep '^[[0-9]]\+$' >/dev/null 2>/dev/null; then
86 AC_MSG_NOTICE([ignoring any EINA_LOG() with level greater than ${withval}])
87 AC_DEFINE_UNQUOTED(EINA_LOG_LEVEL_MAXIMUM, ${withval}, [if set, logging is limited to this amount.])
88 with_max_log_level="${withval}"
90 AC_MSG_ERROR([--with-internal-maximum-log-level takes a decimal number, got "${withval}" instead.])
96 ### Default options with respect to host
98 # dependencies and options
100 want_abstract_sockets="no"
108 want_notify_win32="no"
116 want_ecore_file="yes"
117 want_ecore_config="no"
119 want_ecore_input="yes"
121 # graphic system modules
122 want_evas_simple_x11="no"
123 want_ecore_x_xcb="no"
125 want_ecore_win32="no"
126 want_ecore_quartz="no"
129 want_ecore_directfb="no"
130 want_ecore_wince="no"
132 # ecore_x options (both xlib and xcb)
133 want_ecore_x_composite="yes"
134 want_ecore_x_damage="yes"
135 want_ecore_x_dpms="yes"
136 want_ecore_x_randr="yes"
137 want_ecore_x_render="yes"
138 want_ecore_x_screensaver="yes"
139 want_ecore_x_shape="yes"
140 want_ecore_x_sync="yes"
141 want_ecore_x_xfixes="yes"
142 want_ecore_x_xinerama="yes"
143 want_ecore_x_xprint="yes"
144 want_ecore_x_xtest="yes"
145 want_ecore_x_cursor="yes"
146 want_ecore_x_input="yes"
149 want_ecore_evas="yes"
150 want_ecore_evas_software_buffer="yes"
151 want_ecore_evas_software_x11="no"
152 want_ecore_evas_xrender_x11="no"
153 want_ecore_evas_opengl_x11="no"
154 want_ecore_evas_software_16_x11="no"
155 want_ecore_evas_software_xcb="no"
156 want_ecore_evas_xrender_xcb="no"
157 want_ecore_evas_software_gdi="no"
158 want_ecore_evas_software_ddraw="no"
159 want_ecore_evas_direct3d="no"
160 want_ecore_evas_opengl_glew="no"
161 want_ecore_evas_software_16_ddraw="no"
162 want_ecore_evas_quartz="no"
163 want_ecore_evas_software_sdl="no"
164 want_ecore_evas_gl_sdl="no"
165 want_ecore_evas_directfb="no"
166 want_ecore_evas_fb="no"
167 want_ecore_evas_software_16_wince="no"
172 want_ecore_wince="yes"
173 want_ecore_evas_software_16_wince="yes"
176 want_notify_win32="yes"
181 want_ecore_win32="yes"
182 want_ecore_evas_software_gdi="yes"
183 want_ecore_evas_software_ddraw="yes"
184 want_ecore_evas_direct3d="yes"
185 want_ecore_evas_opengl_glew="yes"
186 want_ecore_evas_software_16_ddraw="auto"
187 want_ecore_evas_software_sdl="yes"
188 want_ecore_evas_gl_sdl="yes"
197 want_ecore_quartz="yes"
198 want_ecore_evas_quartz="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_xrender_x11="yes"
217 want_ecore_evas_opengl_x11="yes"
218 want_ecore_evas_software_16_x11="yes"
219 want_ecore_evas_software_xcb="yes"
220 want_ecore_evas_xrender_xcb="yes"
221 want_ecore_evas_software_sdl="yes"
222 want_ecore_evas_gl_sdl="yes"
223 want_ecore_evas_directfb="yes"
224 want_ecore_evas_fb="yes"
228 requirements_ecore=""
229 requirements_ecore_con=""
230 requirements_ecore_config=""
231 requirements_ecore_data=""
232 requirements_ecore_directfb=""
233 requirements_ecore_evas=""
234 requirements_ecore_fb=""
235 requirements_ecore_file=""
236 requirements_ecore_imf=""
237 requirements_ecore_imf_evas=""
238 requirements_ecore_input=""
239 requirements_ecore_input_evas=""
240 requirements_ecore_ipc=""
241 requirements_ecore_quartz=""
242 requirements_ecore_sdl=""
243 requirements_ecore_x=""
244 requirements_ecore_win32=""
245 requirements_ecore_wince=""
247 ### Additional options to configure
249 # abstract sockets (ecore_con.c)
250 AC_ARG_ENABLE([abstract-sockets],
251 [AC_HELP_STRING([--disable-abstract-sockets], [disable abstract sockets.])],
253 if test "x${enableval}" = "xyes" ; then
254 want_abstract_sockets="yes"
256 want_abstract_sockets="no"
259 [want_abstract_sockets="yes"])
261 if test "x${want_abstract_sockets}" = "xyes" ; then
262 AC_DEFINE([HAVE_ABSTRACT_SOCKETS], [1], [Have abstract sockets namespace])
265 # Simple X11 build/link
267 AC_ARG_ENABLE(simple-x11,
268 AC_HELP_STRING([--enable-simple-x11], [enable simple x11 linking]),
269 [want_evas_simple_x11=$enableval])
273 [AC_HELP_STRING([--enable-xim], [enable X Input Method.])],
275 if test "x${enableval}" = "xyes" ; then
283 if test "x${want_xim}" = "xyes" ; then
284 AC_DEFINE([ENABLE_XIM], [1], [Enable X Input Method])
289 EFL_CHECK_TESTS([enable_tests="yes"], [enable_tests="no"])
292 ### Checks for programs
294 m4_ifdef([AC_PROG_OBJC],
297 _AM_DEPENDENCIES(OBJC)
300 AC_CHECK_TOOL([OBJC], [gcc])
302 AC_SUBST([OBJCFLAGS])
307 have_gnu_objc=${ac_cv_objc_compiler_gnu}
309 # doxygen program for documentation building
311 EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
313 # The first call to PKG_CHECK_MODULES is done conditionally,
314 # so we should include this here:
317 # Check whether pkg-config supports Requires.private
318 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
319 pkgconfig_requires_private="Requires.private"
321 pkgconfig_requires_private="Requires"
323 AC_SUBST(pkgconfig_requires_private)
326 ### Checks for libraries
328 # Evil library for compilation on Windows
332 PKG_CHECK_MODULES([EVIL], [evil])
333 AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if Evil library is installed])
334 requirements_ecore="evil ${requirements_ecore}"
335 requirements_ecore_evas="evil ${requirements_ecore_evas}"
336 requirements_ecore_file="evil ${requirements_ecore_file}"
337 requirements_ecore_imf="evil ${requirements_ecore_imf}"
338 requirements_ecore_imf_evas="evil ${requirements_ecore_imf_evas}"
339 EFL_ECORE_BUILD="-DEFL_ECORE_BUILD"
340 EFL_ECORE_FILE_BUILD="-DEFL_ECORE_FILE_BUILD"
341 EFL_ECORE_EVAS_BUILD="-DEFL_ECORE_EVAS_BUILD"
342 EFL_ECORE_IMF_BUILD="-DEFL_ECORE_IMF_BUILD"
343 EFL_ECORE_INPUT_BUILD="-DEFL_ECORE_INPUT_BUILD"
351 EFL_ECORE_WINCE_BUILD="-DEFL_ECORE_WINCE_BUILD"
352 requirements_ecore_wince="evil ${requirements_ecore_wince}"
356 EFL_ECORE_WIN32_BUILD="-DEFL_ECORE_WIN32_BUILD"
357 EFL_ECORE_SDL_BUILD="-DEFL_ECORE_SDL_BUILD"
358 requirements_ecore_win32="evil ${requirements_ecore_win32}"
359 requirements_ecore_sdl="evil ${requirements_ecore_sdl}"
364 AC_SUBST(EFL_ECORE_BUILD)
365 AC_SUBST(EFL_ECORE_FILE_BUILD)
366 AC_SUBST(EFL_ECORE_EVAS_BUILD)
367 AC_SUBST(EFL_ECORE_IMF_BUILD)
368 AC_SUBST(EFL_ECORE_INPUT_BUILD)
369 AC_SUBST(EFL_ECORE_WINCE_BUILD)
370 AC_SUBST(EFL_ECORE_WIN32_BUILD)
371 AC_SUBST(EFL_ECORE_SDL_BUILD)
373 AM_CONDITIONAL(ECORE_HAVE_WINCE, test "x${have_wince}" = "xyes")
374 AM_CONDITIONAL(ECORE_HAVE_WIN32, test "x${have_win32}" = "xyes")
383 WIN32_LIBS="-lws2_32"
387 AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
391 AC_SUBST(dlopen_libs)
395 PKG_CHECK_MODULES(EINA, [eina-0])
396 #FIXME check all the requirements when the eina move will be finished
397 requirements_ecore="eina-0 ${requirements_ecore}"
398 requirements_ecore_con="ecore eina-0 ${requirements_ecore_con}"
399 requirements_ecore_config="ecore eina-0 ${requirements_ecore_config}"
400 requirements_ecore_data="ecore eina-0 ${requirements_ecore_data}"
401 requirements_ecore_directfb="ecore eina-0 ${requirements_ecore_directfb}"
402 requirements_ecore_evas="ecore eina-0 ${requirements_ecore_evas}"
403 requirements_ecore_fb="ecore eina-0 ${requirements_ecore_fb}"
404 requirements_ecore_file="ecore eina-0 ${requirements_ecore_file}"
405 requirements_ecore_imf="ecore eina-0 ${requirements_ecore_imf}"
406 requirements_ecore_imf_evas="ecore eina-0 ${requirements_ecore_imf_evas}"
407 requirements_ecore_input="ecore eina-0 ${requirements_ecore_input}"
408 requirements_ecore_input_evas="ecore eina-0 ${requirements_ecore_input_evas}"
409 requirements_ecore_ipc="ecore eina-0 ${requirements_ecore_ipc}"
410 requirements_ecore_quartz="ecore eina-0 ${requirements_ecore_quartz}"
411 requirements_ecore_sdl="ecore eina-0 ${requirements_ecore_sdl}"
412 requirements_ecore_win32="ecore eina-0 ${requirements_ecore_win32}"
413 requirements_ecore_wince="ecore eina-0 ${requirements_ecore_wince}"
414 requirements_ecore_x="ecore eina-0 ${requirements_ecore_x}"
417 # glib support (main loop integration)
418 AC_ARG_ENABLE([glib],
419 [AC_HELP_STRING([--disable-glib], [disable glib support. @<:@default=detect@:>@])],
420 [want_glib=$enableval], [])
422 if test "x$want_glib" != "xno"; then
423 PKG_CHECK_MODULES([GLIB], [glib-2.0], [have_glib="yes"], [have_glib="no"])
427 if test "x$want_glib" = "xyes" -a "x$have_glib" = "xno"; then
428 AC_MSG_ERROR([GLib support requested, but no GLib found by pkg-config.])
429 elif test "x$have_glib" = "xyes"; then
430 AC_DEFINE(HAVE_GLIB, [1], [Have GLib])
431 requirements_ecore="glib-2.0 ${requirements_ecore}"
435 # SDL library (ecore_sdl)
438 SDL_CONFIG="sdl-config"
439 AC_ARG_WITH([sdl-config],
440 [AC_HELP_STRING([--with-sdl-config=PATH], [use sdl-config specified])],
443 AC_MSG_NOTICE([using ${SDL_CONFIG} for sdl-config])
446 AC_PATH_PROG([SDL_CONFIG], ["sdl-config"], [""], [$PATH])
448 if test -n "$SDL_CONFIG" ; then
449 SDL_CFLAGS=`$SDL_CONFIG --cflags`
450 SDL_LIBS=`$SDL_CONFIG --libs`
455 PKG_CHECK_MODULES([SDL], [sdl >= 1.2.0], [have_sdl="yes"], [have_sdl="no"])
458 if test "x${have_sdl}" = "xyes" ; then
459 PKG_CHECK_EXISTS([sdl >= 1.3.0],
460 [AC_DEFINE(BUILD_ECORE_EVAS_SDL_130, 1, [Support for SVN SDL])])
464 # DirectFB library (ecore_directfb)
466 PKG_CHECK_MODULES([DIRECTFB],
467 [directfb >= 0.9.16],
468 [have_directfb="yes"],
469 [have_directfb="no"])
472 # Eet library (ecore_config)
474 PKG_CHECK_MODULES([EET],
480 # Xlib and XCB (ecore_x)
484 have_ecore_x_xlib="no"
485 have_ecore_x_xcb="no"
492 ecore_x_libs_private=""
494 AC_ARG_ENABLE(ecore-x-composite,
495 [AC_HELP_STRING([--disable-ecore-x-composite],
496 [disable the ecore_x support for Xcomposite extension.
497 @<:@default=detect@:>@])],
498 [want_ecore_x_composite=$enableval])
500 AC_ARG_ENABLE(ecore-x-damage,
501 [AC_HELP_STRING([--disable-ecore-x-damage],
502 [disable the ecore_x support for Xdamage extension.
503 @<:@default=detect@:>@])],
504 [want_ecore_x_damage=$enableval])
506 AC_ARG_ENABLE(ecore-x-dpms,
507 [AC_HELP_STRING([--disable-ecore-x-dpms],
508 [disable the ecore_x support for Xdpms extension.
509 @<:@default=detect@:>@])],
510 [want_ecore_x_dpms=$enableval])
512 AC_ARG_ENABLE(ecore-x-randr,
513 [AC_HELP_STRING([--disable-ecore-x-randr],
514 [disable the ecore_x support for Xrandr extension.
515 @<:@default=detect@:>@])],
516 [want_ecore_x_randr=$enableval])
518 AC_ARG_ENABLE(ecore-x-render,
519 [AC_HELP_STRING([--disable-ecore-x-render],
520 [disable the ecore_x support for Xrender extension.
521 @<:@default=detect@:>@])],
522 [want_ecore_x_render=$enableval])
524 AC_ARG_ENABLE(ecore-x-screensaver,
525 [AC_HELP_STRING([--disable-ecore-x-screensaver],
526 [disable the ecore_x support for Xscreensaver extension.
527 @<:@default=detect@:>@])],
528 [want_ecore_x_screensaver=$enableval])
530 AC_ARG_ENABLE(ecore-x-shape,
531 [AC_HELP_STRING([--disable-ecore-x-shape],
532 [disable the ecore_x support for Xshape extension.
533 @<:@default=detect@:>@])],
534 [want_ecore_x_shape=$enableval])
536 AC_ARG_ENABLE(ecore-x-sync,
537 [AC_HELP_STRING([--disable-ecore-x-sync],
538 [disable the ecore_x support for Xsync extension.
539 @<:@default=detect@:>@])],
540 [want_ecore_x_sync=$enableval])
542 AC_ARG_ENABLE(ecore-x-xfixes,
543 [AC_HELP_STRING([--disable-ecore-x-xfixes],
544 [disable the ecore_x support for Xfixes extension.
545 @<:@default=detect@:>@])],
546 [want_ecore_x_xfixes=$enableval])
548 AC_ARG_ENABLE(ecore-x-xinerama,
549 [AC_HELP_STRING([--disable-ecore-x-xinerama],
550 [disable the ecore_x support for Xinerama extension.
551 @<:@default=detect@:>@])],
552 [want_ecore_x_xinerama=$enableval])
554 AC_ARG_ENABLE(ecore-x-xprint,
555 [AC_HELP_STRING([--disable-ecore-x-xprint],
556 [disable the ecore_x support for Xprint extension.
557 @<:@default=detect@:>@])],
558 [want_ecore_x_xprint=$enableval])
560 AC_ARG_ENABLE(ecore-x-xtest,
561 [AC_HELP_STRING([--disable-ecore-x-xtest],
562 [disable the ecore_x support for Xtest extension.
563 @<:@default=detect@:>@])],
564 [want_ecore_x_xtest=$enableval])
566 AC_ARG_ENABLE(ecore-x-cursor,
567 [AC_HELP_STRING([--disable-ecore-x-cursor],
568 [disable the ecore_x support for Xcursor extension.
569 @<:@default=detect@:>@])],
570 [want_ecore_x_cursor=$enableval])
572 AC_ARG_ENABLE(ecore-x-input,
573 [AC_HELP_STRING([--disable-ecore-x-input],
574 [disable the ecore_x support for Xinput/Xinput2 extension.
575 @<:@default=detect@:>@])],
576 [want_ecore_x_input=$enableval])
579 AC_ARG_ENABLE(ecore-x-xcb,
580 [AC_HELP_STRING([--enable-ecore-x-xcb],
581 [enable the ecore_x module with XCB backend. @<:@default=disabled@:>@])],
582 [want_ecore_x_xcb=$enableval],
583 [want_ecore_x_xcb="no"])
585 AC_MSG_CHECKING(whether ecore_x with XCB backend is to be built)
586 AC_MSG_RESULT($want_ecore_x_xcb)
588 if test "x$want_ecore_x_xcb" = "xyes" ; then
589 PKG_CHECK_MODULES(XCB, xcb xcb-icccm xcb-image xcb-keysyms pixman-1,
590 [ have_ecore_x_xcb="yes"
591 requirements_ecore_x="xcb xcb-icccm xcb-image xcb-keysyms pixman-1 ${requirements_ecore_x}" ],
592 [ have_ecore_x_xcb="no" ])
594 if test "x$have_ecore_x_xcb" = "xyes" ; then
595 if test "x$want_ecore_x_composite" != "xno"; then
596 PKG_CHECK_MODULES(XCB_COMPOSITE, xcb-composite,
597 [ have_ecore_x_xcb_composite="yes"
598 requirements_ecore_x="xcb-composite ${requirements_ecore_x}"
599 AC_DEFINE(ECORE_XCB_COMPOSITE, 1, [Build support for XCB composite]) ],
600 [ have_ecore_x_xcb_composite="no" ])
602 have_ecore_x_xcb_composite="no"
603 AC_MSG_NOTICE("composite extension explicitly disabled")
606 if test "x$want_ecore_x_damage" != "xno"; then
607 PKG_CHECK_MODULES(XCB_DAMAGE, xcb-damage,
608 [ have_ecore_x_xcb_damage="yes"
609 requirements_ecore_x="xcb-damage ${requirements_ecore_x}"
610 AC_DEFINE(ECORE_XCB_DAMAGE, 1, [Build support for XCB damage]) ],
611 [ have_ecore_x_xcb_damage="no" ])
613 have_ecore_x_xcb_damage="no"
614 AC_MSG_NOTICE("damage extension explicitly disabled")
617 if test "x$want_ecore_x_dpms" != "xno"; then
618 PKG_CHECK_MODULES(XCB_DPMS, xcb-dpms,
619 [ have_ecore_x_xcb_dpms="yes"
620 requirements_ecore_x="xcb-dpms ${requirements_ecore_x}"
621 AC_DEFINE(ECORE_XCB_DPMS, 1, [Build support for XCB dpms]) ],
622 [ have_ecore_x_xcb_dpms="no" ])
624 have_ecore_x_xcb_dpms="no"
625 AC_MSG_NOTICE("dpms extension explicitly disabled")
628 if test "x$want_ecore_x_randr" != "xno"; then
629 PKG_CHECK_MODULES(XCB_RANDR, xcb-randr,
630 [ have_ecore_x_xcb_randr="yes"
631 requirements_ecore_x="xcb-randr ${requirements_ecore_x}"
632 AC_DEFINE(ECORE_XCB_RANDR, 1, [Build support for XCB randr]) ],
633 [ have_ecore_x_xcb_randr="no" ])
635 have_ecore_x_xcb_randr="no"
636 AC_MSG_NOTICE("randr extension explicitly disabled")
639 if test "x$want_ecore_x_render" != "xno"; then
640 PKG_CHECK_MODULES(XCB_RENDER, xcb-render,
641 [ have_ecore_x_xcb_render="yes"
642 requirements_ecore_x="xcb-render ${requirements_ecore_x}"
643 AC_DEFINE(ECORE_XCB_RENDER, 1, [Build support for XCB render]) ],
644 [ have_ecore_x_xcb_render="no" ])
646 have_ecore_x_xcb_render="no"
647 AC_MSG_NOTICE("render extension explicitly disabled")
650 if test "x$want_ecore_x_screensaver" != "xno"; then
651 PKG_CHECK_MODULES(XCB_SCREENSAVER, xcb-screensaver,
652 [ have_ecore_x_xcb_screensaver="yes"
653 requirements_ecore_x="xcb-screensaver ${requirements_ecore_x}"
654 AC_DEFINE(ECORE_XCB_SCREENSAVER, 1, [Build support for XCB screensaver]) ],
655 [ have_ecore_x_xcb_screensaver="no" ])
657 have_ecore_x_xcb_screensaver="no"
658 AC_MSG_NOTICE("screensaver extension explicitly disabled")
661 if test "x$want_ecore_x_shape" != "xno"; then
662 PKG_CHECK_MODULES(XCB_SHAPE, xcb-shape,
663 [ have_ecore_x_xcb_shape="yes"
664 requirements_ecore_x="xcb-shape ${requirements_ecore_x}"
665 AC_DEFINE(ECORE_XCB_SHAPE, 1, [Build support for XCB shape]) ],
666 [ have_ecore_x_xcb_shape="no" ])
668 have_ecore_x_xcb_shape="no"
669 AC_MSG_NOTICE("shape extension explicitly disabled")
672 if test "x$want_ecore_x_sync" != "xno"; then
673 PKG_CHECK_MODULES(XCB_SYNC, xcb-sync,
674 [ have_ecore_x_xcb_sync="yes"
675 requirements_ecore_x="xcb-sync ${requirements_ecore_x}"
676 AC_DEFINE(ECORE_XCB_SYNC, 1, [Build support for XCB sync]) ],
677 [ have_ecore_x_xcb_sync="no" ])
679 have_ecore_x_xcb_sync="no"
680 AC_MSG_NOTICE("sync extension explicitly disabled")
683 if test "x$want_ecore_x_xfixes" != "xno"; then
684 PKG_CHECK_MODULES(XCB_XFIXES, xcb-xfixes,
685 [ have_ecore_x_xcb_xfixes="yes"
686 requirements_ecore_x="xcb-xfixes ${requirements_ecore_x}"
687 AC_DEFINE(ECORE_XCB_FIXES, 1, [Build support for XCB xfixes]) ],
688 [ have_ecore_x_xcb_xfixes="no" ])
690 have_ecore_x_xcb_xfixes="no"
691 AC_MSG_NOTICE("xfixes extension explicitly disabled")
694 if test "x$want_ecore_x_xinerama" != "xno"; then
695 PKG_CHECK_MODULES(XCB_XINERAMA, xcb-xinerama,
696 [ have_ecore_x_xcb_xinerama="yes"
697 requirements_ecore_x="xcb-xinerama ${requirements_ecore_x}"
698 AC_DEFINE(ECORE_XCB_XINERAMA, 1, [Build support for XCB xinerama]) ],
699 [ have_ecore_x_xcb_xinerama="no" ])
701 have_ecore_x_xcb_xinerama="no"
702 AC_MSG_NOTICE("xinerama extension explicitly disabled")
705 if test "x$want_ecore_x_xprint" != "xno"; then
706 PKG_CHECK_MODULES(XCB_XPRINT, xcb-xprint,
707 [ have_ecore_x_xcb_xprint="yes"
708 requirements_ecore_x="xcb-xprint ${requirements_ecore_x}"
709 AC_DEFINE(ECORE_XCB_XPRINT, 1, [Build support for XCB xprint]) ],
710 [ have_ecore_x_xcb_xprint="no" ])
712 have_ecore_x_xcb_xprint="no"
713 AC_MSG_NOTICE("xprint extension explicitly disabled")
716 if test "x$want_ecore_x_xtest" != "xno"; then
717 PKG_CHECK_MODULES(XCB_XTEST, xcb-xtest,
718 [ have_ecore_x_xcb_xtest="yes"
719 requirements_ecore_x="xcb-xtest ${requirements_ecore_x}"
720 AC_DEFINE(ECORE_XCB_XTEST, 1, [Build support for XCB xtest]) ],
721 [ have_ecore_x_xcb_xtest="no" ])
723 have_ecore_x_xcb_xtest="no"
724 AC_MSG_NOTICE("xtest extension explicitly disabled")
727 AC_DEFINE(HAVE_ECORE_X_XCB, 1, [Defined to 1 if XCB is enabled.])
733 have_ecore_x_xcb_define="-DHAVE_ECORE_X_XCB"
734 AC_SUBST(have_ecore_x_xcb_define)
738 if ! test "x$have_ecore_x_xcb" = "xyes" ; then
740 AC_CHECK_HEADER(X11/X.h,
742 if test "x$want_evas_simple_x11" = "xyes"; then
743 x_libs="${x_libs} -lX11 -lXext"
745 x_dir=${x_dir:-/usr/X11R6}
746 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
747 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
749 have_ecore_x_xlib="yes"
753 if test "x$have_ecore_x_xlib" = "xyes"; then
758 CFLAGS="$x_cflags $x_includes"
760 if test "x$want_ecore_x_cursor" = "xyes"; then
761 AC_CHECK_HEADER(X11/Xcursor/Xcursor.h,
763 AC_CHECK_LIB(Xcursor, XcursorImageLoadCursor,
765 AC_DEFINE(ECORE_XCURSOR, 1, [Build support for Xcursor])
767 Xcursor_libs="-lXcursor"
782 #include <X11/Xlib.h>
790 AC_MSG_NOTICE("Xcursor explicitly disabled")
793 AC_SUBST(Xcursor_cflags)
794 AC_SUBST(Xcursor_libs)
796 ECORE_CHECK_X_EXTENSION([Xkb], [XKB.h], [X11], [XkbSetDetectableAutoRepeat], [$want_ecore_x_xkb])
797 ECORE_CHECK_X_EXTENSION([Xcomposite], [Xcomposite.h], [Xcomposite], [XCompositeQueryExtension], [$want_ecore_x_composite])
798 ECORE_CHECK_X_EXTENSION([Xdamage], [Xdamage.h], [Xdamage], [XDamageSubtract], [$want_ecore_x_damage])
799 ECORE_CHECK_X_EXTENSION([Xdpms], [dpms.h], [Xdpms], [DPMSQueryExtension], [$want_ecore_x_dpms])
800 if test "x$use_xdpms" = "xno" ; then
801 ECORE_CHECK_X_EXTENSION([Xdpms], [dpms.h], [Xext], [DPMSQueryExtension], [$want_ecore_x_dpms])
803 ECORE_CHECK_X_EXTENSION([Xfixes], [Xfixes.h], [Xfixes], [XFixesExpandRegion], [$want_ecore_x_xfixes])
804 ECORE_CHECK_X_EXTENSION([Xinerama], [Xinerama.h], [Xinerama], [XineramaQueryScreens], [$want_ecore_x_xinerama])
805 ECORE_CHECK_X_EXTENSION([Xprint], [Print.h], [Xp], [XpQueryScreens], [$want_ecore_x_xprint])
806 ECORE_CHECK_X_EXTENSION([Xrandr], [Xrandr.h], [Xrandr], [XRRGetScreenResourcesCurrent], [$want_ecore_x_randr])
807 ECORE_CHECK_X_EXTENSION([Xrender], [Xrender.h], [Xrender], [XRenderFindVisualFormat], [$want_ecore_x_render])
808 ECORE_CHECK_X_EXTENSION([Xtest], [XTest.h], [Xtst], [XTestFakeKeyEvent], [$want_ecore_x_xtest])
809 ECORE_CHECK_X_EXTENSION([Xss], [scrnsaver.h], [Xss], [XScreenSaverSelectInput], [$want_ecore_x_screensaver])
810 ECORE_CHECK_X_EXTENSION([Xi2], [XInput2.h], [Xi], [XIQueryDevice], [$want_ecore_x_input])
812 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}"
814 AC_DEFINE(HAVE_ECORE_X_XLIB, 1, [Defined to 1 if Xlib is enabled.])
817 have_ecore_x_xlib="yes"
824 AC_SUBST(ecore_x_libs_private)
826 AM_CONDITIONAL(BUILD_ECORE_X_XLIB, test $have_ecore_x_xlib = yes)
827 AM_CONDITIONAL(BUILD_ECORE_X_XCB, test $have_ecore_x_xcb = yes)
830 # Evas library (ecore_config, ecore_input_evas, ecore_imf_evas and ecore_evas)
832 PKG_CHECK_MODULES([EVAS], [evas >= 0.9.9],
837 ### Checks for header files
844 AC_DEFINE(HAVE_DLFCN_H, 1, [Define to 1 if you have the <dlfcn.h> header file.])
845 AC_DEFINE(HAVE_SYS_MMAN_H, 1, [Define to 1 if you have the <sys/mman.h> header file.])
846 AC_DEFINE(HAVE_SYS_TIME_H, 1, [Define to 1 if you have the <sys/time.h> header file.])
850 AC_CHECK_HEADERS([dlfcn.h features.h langinfo.h locale.h sys/time.h sys/mman.h signal.h sys/resource.h])
856 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])
858 if test "x${ac_cv_header_netdb_h}" = "xyes" ; then
862 # Framebuffer (ecore_fb)
864 AC_CHECK_HEADER([linux/fb.h],
865 [AC_CHECK_HEADER([linux/input.h], [have_fb="yes"])])
867 # Quartz header files (ecore_quartz)
872 if test "x${have_gnu_objc}" = "xyes" ; then
873 AC_LANG_PUSH([Objective C])
874 AC_CHECK_HEADER([Cocoa/Cocoa.h],
877 quartz_ldflags="-framework Cocoa"
880 AC_LANG_POP([Objective C])
883 AC_SUBST(quartz_ldflags)
885 # basic pthread support
887 EFL_CHECK_PTHREAD([no], [have_pthread="yes"], [have_pthread="no"])
890 AC_CHECK_SIZEOF(int, 4)
891 AC_CHECK_SIZEOF(long, 4)
894 ### Checks for structures
897 ### Checks for compiler characteristics
908 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
911 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
912 WIN32_CFLAGS="-mwin32"
915 WIN32_CPPFLAGS="-D_WIN32_WINNT=0x0501"
918 AC_SUBST(WIN32_CPPFLAGS)
919 AC_SUBST(WIN32_CFLAGS)
922 ### Checks for linker characteristics
924 # use --enable-auto-import on Windows
926 lt_enable_auto_import=""
929 lt_enable_auto_import="-Wl,--enable-auto-import"
932 AC_SUBST(lt_enable_auto_import)
934 ### Checks for library functions
936 AC_CHECK_FUNCS(gettimeofday strlcpy)
938 have_atfile_source=auto
939 AC_ARG_ENABLE(atfile-source,
940 AC_HELP_STRING([--disable-atfile-source],
941 [disable use of atfile source functions as openat and mkdirat @<:@default=detect@:>@]),
942 [have_atfile_source=$enableval], [have_atfile_source=auto])
944 if test "x$have_atfile_source" != "xno"; then
945 AC_CHECK_FUNCS(mkdirat,
947 have_atfile_source=yes
948 AC_DEFINE(HAVE_ATFILE_SOURCE, 1, [mkdirat exists])
951 if test "x$have_atfile_source" = "xyes"; then
952 AC_MSG_ERROR([required atfile-source but no mkdirat()])
954 have_atfile_source=no
963 ECORE_CHECK_MODULE([data], [${want_ecore_data}], [Data])
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_quartz_deps="no"
1088 if test "x${have_ecore_input}" = "xyes" -a "x${have_quartz}" = "xyes" ; then
1089 ecore_quartz_deps="yes"
1092 ECORE_CHECK_MODULE([quartz], [${want_ecore_quartz}], [Quartz], [${ecore_quartz_deps}],
1093 [requirements_ecore_quartz="ecore-input ${requirements_ecore_quartz}"])
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([quartz],
1245 [${want_ecore_evas_quartz}],
1247 [${have_ecore_quartz}],
1248 [requirements_ecore_evas="ecore-quartz ${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_data)
1298 AC_SUBST(requirements_ecore_directfb)
1299 AC_SUBST(requirements_ecore_evas)
1300 AC_SUBST(requirements_ecore_fb)
1301 AC_SUBST(requirements_ecore_file)
1302 AC_SUBST(requirements_ecore_imf)
1303 AC_SUBST(requirements_ecore_imf_evas)
1304 AC_SUBST(requirements_ecore_input)
1305 AC_SUBST(requirements_ecore_input_evas)
1306 AC_SUBST(requirements_ecore_ipc)
1307 AC_SUBST(requirements_ecore_quartz)
1308 AC_SUBST(requirements_ecore_sdl)
1309 AC_SUBST(requirements_ecore_x)
1310 AC_SUBST(requirements_ecore_win32)
1311 AC_SUBST(requirements_ecore_wince)
1338 src/lib/ecore/Makefile
1339 src/lib/ecore_con/Makefile
1340 src/lib/ecore_config/Makefile
1341 src/lib/ecore_data/Makefile
1342 src/lib/ecore_directfb/Makefile
1343 src/lib/ecore_evas/Makefile
1344 src/lib/ecore_fb/Makefile
1345 src/lib/ecore_file/Makefile
1346 src/lib/ecore_quartz/Makefile
1347 src/lib/ecore_sdl/Makefile
1348 src/lib/ecore_imf/Makefile
1349 src/lib/ecore_imf_evas/Makefile
1350 src/lib/ecore_input/Makefile
1351 src/lib/ecore_input_evas/Makefile
1352 src/lib/ecore_ipc/Makefile
1353 src/lib/ecore_win32/Makefile
1354 src/lib/ecore_wince/Makefile
1355 src/lib/ecore_x/Makefile
1356 src/lib/ecore_x/xlib/Makefile
1357 src/lib/ecore_x/xcb/Makefile
1365 echo "$PACKAGE $VERSION"
1367 echo "Optional Modules:"
1371 echo " Ecore........................: always"
1372 echo " Thread support.............: $have_pthread"
1373 echo " GLib support...............: $have_glib"
1374 echo " Ecore_Data...................: $have_ecore_data (deprecated)"
1375 echo " Ecore_Con....................: $have_ecore_con"
1376 if test "x$have_ecore_con" = "xyes" ; then
1377 echo $ECHO_N " OpenSSL....................: $have_openssl $ECHO_C"
1378 if test "x$have_gnutls" = "xyes" ; then
1383 echo " GnuTLS.....................: $have_gnutls"
1384 echo " CURL.......................: $have_curl"
1385 echo " Abstract Sockets...........: $want_abstract_sockets"
1386 echo " c-ares.....................: $have_cares"
1388 echo " Ecore_Ipc....................: $have_ecore_ipc"
1389 if test "x$have_ecore_ipc" = "xyes" ; then
1390 echo $ECHO_N " OpenSSL....................: $have_openssl $ECHO_C"
1391 if test "x$have_gnutls" = "xyes" ; then
1396 echo " GnuTLS.....................: $have_gnutls"
1398 echo " Ecore_File...................: $have_ecore_file"
1399 if test "x$have_ecore_file" = "xyes" ; then
1400 echo " Inotify....................: $have_inotify"
1401 echo " Windows notification.......: $have_notify_win32"
1402 echo " Poll.......................: $have_poll"
1403 echo " CURL.......................: $have_curl"
1405 echo " Ecore_Config.................: $have_ecore_config (deprecated)"
1406 echo " Ecore_IMF....................: $have_ecore_imf"
1407 echo " Ecore_IMF_Evas...............: $have_ecore_imf_evas"
1408 echo " Ecore_Input..................: $have_ecore_input"
1409 echo " Ecore_Input_Evas.............: $have_ecore_input_evas"
1412 echo " Graphic systems:"
1415 if test "x$have_ecore_x" = "xyes" ; then
1416 if test "x$have_ecore_x_xcb" = "xyes" ; then
1417 echo " Ecore_X (XCB backend)........: $have_ecore_x_xcb"
1418 echo " Xprint.....................: $have_ecore_x_xcb_xprint"
1419 echo " Xinerama...................: $have_ecore_x_xcb_xinerama"
1420 echo " Xrandr.....................: $have_ecore_x_xcb_randr"
1421 echo " Xscreensaver...............: $have_ecore_x_xcb_screensaver"
1422 echo " Xshape.....................: $have_ecore_x_xcb_shape"
1423 echo " Xsync......................: $have_ecore_x_xcb_sync"
1424 echo " Xrender....................: $have_ecore_x_xcb_render"
1425 echo " Xcomposite.................: $have_ecore_x_xcb_composite"
1426 echo " Xfixes.....................: $have_ecore_x_xcb_xfixes"
1427 echo " Xdamage....................: $have_ecore_x_xcb_damage"
1428 echo " Xdpms......................: $have_ecore_x_xcb_dpms"
1429 echo " Xtest......................: $have_ecore_x_xcb_xtest"
1431 echo " Ecore_X (Xlib backend).......: $have_ecore_x"
1432 echo " Xcursor....................: $use_Xcursor"
1433 echo " Xkb........................: $use_xkb"
1434 echo " Xprint.....................: $use_xprint"
1435 echo " Xinerama...................: $use_xinerama"
1436 echo " Xrandr.....................: $use_xrandr"
1437 echo " Xscreensaver...............: $use_xss"
1438 echo " Xrender....................: $use_xrender"
1439 echo " Xcomposite.................: $use_xcomposite"
1440 echo " Xfixes.....................: $use_xfixes"
1441 echo " Xdamage....................: $use_xdamage"
1442 echo " Xdpms......................: $use_xdpms"
1443 echo " Xtest......................: $use_xtest"
1444 echo " XIM........................: $want_xim"
1445 echo " Xi2........................: $use_xi2"
1448 echo " Ecore_X......................: $have_ecore_x"
1450 echo " Ecore_Win32..................: $have_ecore_win32"
1451 echo " Ecore_Quartz.................: $have_ecore_quartz"
1452 echo " Ecore_SDL....................: $have_ecore_sdl"
1453 echo " Ecore_FB.....................: $have_ecore_fb"
1454 if test "x${have_ecore_fb}" = "xyes" ; then
1455 echo " Touchscreen................: $have_tslib"
1457 echo " Ecore_DirectFB...............: $have_ecore_directfb"
1458 echo " Ecore_WinCE..................: $have_ecore_wince"
1464 echo " Ecore_Evas...................: $have_ecore_evas"
1465 if test "x${have_ecore_evas}" = "xyes" ; then
1466 echo " Software Memory Buffer.....: $have_ecore_evas_software_buffer"
1467 if test "x${have_ecore_evas_software_x11}" = "xyes" ; then
1468 echo " Software X11...............: $have_ecore_evas_software_x11 (Xlib=${have_ecore_evas_software_xlib}) (XCB=${have_ecore_evas_software_xcb})"
1470 echo " Software X11...............: $have_ecore_evas_software_x11"
1472 echo " XRender X11................: $have_ecore_evas_xrender_x11"
1473 echo " OpenGL X11.................: $have_ecore_evas_opengl_x11"
1474 echo " XRender XCB................: $have_ecore_evas_xrender_xcb"
1475 echo " Software GDI...............: $have_ecore_evas_software_gdi"
1476 echo " Software DirectDraw........: $have_ecore_evas_software_ddraw"
1477 echo " Direct3D...................: $have_ecore_evas_direct3d"
1478 echo " OpenGL Glew................: $have_ecore_evas_opengl_glew"
1479 echo " Quartz.....................: $have_ecore_evas_quartz"
1480 echo " Software SDL...............: $have_ecore_evas_software_sdl"
1481 echo " OpenGL SDL.................: $have_ecore_evas_opengl_sdl"
1482 echo " DirectFB...................: $have_ecore_evas_directfb"
1483 echo " Software Framebuffer.......: $have_ecore_evas_fb"
1484 echo " Software 16bit X11.........: $have_ecore_evas_software_16_x11"
1485 echo " Software 16bit DirectDraw..: $have_ecore_evas_software_16_ddraw"
1486 echo " Software 16bit WinCE.......: $have_ecore_evas_software_16_wince"
1489 echo " Tests................: ${enable_tests}"
1490 echo " Maximum log level....: ${with_max_log_level}"
1491 echo "Documentation..........: ${build_doc}"
1493 echo "Compilation............: make (or gmake)"
1494 echo " CPPFLAGS.............: $CPPFLAGS"
1495 echo " CFLAGS...............: $CFLAGS"
1496 echo " CXXFLAGS.............: $CXXFLAGS"
1497 echo " LDFLAGS..............: $LDFLAGS"
1499 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
1500 echo " prefix...............: $prefix"