1 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3 m4_define([v_maj], [1])
4 m4_define([v_min], [7])
5 m4_define([v_mic], [99])
6 m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
7 m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
8 ##-- When released, remove the dnl on the below line
9 dnl m4_undefine([v_rev])
10 ##-- When doing snapshots - change soname. remove dnl on below line
11 dnl m4_define([relname], [ver-pre-svn-07])
12 dnl m4_define([v_rel], [-release relname])
13 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
14 m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])], [m4_define([v_ver], [v_maj.v_min.v_mic])])
15 m4_define([lt_cur], m4_eval(v_maj + v_min))
16 m4_define([lt_rev], v_mic)
17 m4_define([lt_age], v_min)
18 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
19 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
22 # Check whether the Objective C compiler works.
23 AC_DEFUN([rw_PROG_OBJC_WORKS],
24 [m4_ifdef([AC_PROG_OBJC], [AC_REQUIRE([AC_PROG_OBJC])dnl
25 AC_CACHE_CHECK([whether the Objective C compiler works],
26 [rw_cv_prog_objc_works],
27 [AC_LANG_PUSH([Objective C])
28 AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
29 [rw_cv_prog_objc_works=yes],
30 [rw_cv_prog_objc_works=no])
31 AC_LANG_POP([Objective C])])], [rw_cv_prog_objc_works=no])
34 AC_INIT([evas], [v_ver], [enlightenment-devel@lists.sourceforge.net])
36 AC_CONFIG_SRCDIR([configure.ac])
37 AC_CONFIG_MACRO_DIR([m4])
39 AC_CONFIG_HEADERS([config.h])
41 #ifndef EFL_CONFIG_H__
42 #define EFL_CONFIG_H__
45 #endif /* EFL_CONFIG_H__ */
48 AM_INIT_AUTOMAKE([1.6 dist-bzip2])
49 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
54 define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
57 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
58 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
59 m4_ifdef([v_rev], , [m4_define([v_rev], [0])])
60 m4_ifdef([v_rel], , [m4_define([v_rel], [])])
61 AC_DEFINE_UNQUOTED(VMAJ, [v_maj], [Major version])
62 AC_DEFINE_UNQUOTED(VMIN, [v_min], [Minor version])
63 AC_DEFINE_UNQUOTED(VMIC, [v_mic], [Micro version])
64 AC_DEFINE_UNQUOTED(VREV, [v_rev], [Revison])
65 version_info="lt_cur:lt_rev:lt_age"
67 AC_SUBST(version_info)
68 AC_SUBST(release_info)
69 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
70 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
74 ### Needed information
81 MODULE_ARCH="$host_os-$host_cpu"
84 MODULE_ARCH="$host_os-$host_cpu-v_maj.v_min.v_mic"
88 AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
90 want_fontconfig="auto"
94 want_evas_cserve="yes"
95 want_evas_cserve2="yes"
97 want_evas_engine_buffer="yes"
98 want_evas_engine_software_xlib="no"
99 want_evas_engine_software_xcb="no"
100 want_evas_engine_software_gdi="no"
101 want_evas_engine_software_ddraw="no"
102 want_evas_engine_software_8_x11="no"
103 want_evas_engine_gl_xlib="no"
104 want_evas_engine_gl_xcb="no"
105 want_evas_engine_gl_sdl="no"
106 want_evas_engine_gl_cocoa="no"
107 want_evas_engine_direct3d="no"
108 want_evas_engine_fb="no"
109 want_evas_engine_directfb="no"
110 want_evas_engine_psl1ght="no"
111 want_evas_engine_wayland_shm="no"
112 want_evas_engine_wayland_egl="no"
114 want_evas_image_loader_edb="yes"
115 want_evas_image_loader_eet="yes"
116 want_evas_image_loader_gif="yes"
117 want_evas_image_loader_jpeg="yes"
118 want_evas_image_loader_pmaps="yes"
119 want_evas_image_loader_png="yes"
120 want_evas_image_loader_svg="yes"
121 want_evas_image_loader_tiff="yes"
122 want_evas_image_loader_xpm="yes"
123 want_evas_image_loader_bmp="yes"
124 want_evas_image_loader_tga="yes"
125 want_evas_image_loader_wbmp="yes"
126 want_evas_image_loader_webp="yes"
127 want_evas_image_loader_ico="yes"
128 want_evas_image_loader_psd="yes"
129 want_evas_image_loader_generic="yes"
131 want_evas_font_loader_eet="yes"
136 want_evas_image_loader_edb="no"
137 want_evas_image_loader_gif="no"
138 want_evas_image_loader_svg="no"
139 want_evas_image_loader_tiff="no"
142 want_evas_engine_software_gdi="yes"
143 want_evas_engine_software_ddraw="yes"
144 want_evas_engine_direct3d="yes"
145 want_evas_image_loader_edb="no"
146 want_evas_image_loader_svg="yes"
149 want_evas_engine_software_xlib="auto"
150 want_evas_engine_gl_cocoa="auto"
153 want_evas_engine_software_xlib="auto"
154 want_evas_engine_gl_xlib="auto"
155 want_evas_engine_software_xcb="no"
156 want_evas_engine_gl_xcb="no"
157 want_evas_engine_fb="auto"
158 want_evas_engine_wayland_shm="auto"
159 want_evas_engine_wayland_egl="auto"
160 ### no - not ready/usable/complete
161 # want_evas_engine_software_8_x11="auto"
165 case "$host_vendor" in
167 want_evas_engine_psl1ght="static"
174 ### Additional options to configure
176 # when used, that option makes configure script fails when
177 # a requirement is selected, but not met.
179 AC_ARG_ENABLE([strict],
180 AC_HELP_STRING([--enable-strict], [enable strict checking mode. @<:@default==disabled@:>@]),
184 # Simple X11 build/link
185 AC_ARG_ENABLE([simple-x11],
186 AC_HELP_STRING([--enable-simple-x11], [enable simple x11 linking]),
188 if test "x${enableval}" = "xyes" ; then
189 want_evas_simple_x11="yes"
191 want_evas_simple_x11="no"
196 ### Checks for programs
198 m4_ifdef([AC_PROG_OBJC],
201 _AM_DEPENDENCIES(OBJC)
204 dnl#AC_CHECK_TOOL([OBJC], [gcc])
206 dnl#AC_SUBST([OBJCFLAGS])
217 # Check whether pkg-config supports Requires.private
218 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
219 pkgconfig_requires_private="Requires.private"
221 pkgconfig_requires_private="Requires"
223 AC_SUBST(pkgconfig_requires_private)
225 # doxygen program for documentation building
226 EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
229 ### Checks for libraries
231 # Evil library for compilation on Windows CE
235 PKG_CHECK_MODULES([EVIL], [evil >= 1.0.0])
236 AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if evil package is installed])
237 requirement_evas="evil ${requirement_evas}"
241 ### Checks for portability layer
243 PKG_CHECK_MODULES([EXOTIC],
245 [enable_exotic="yes"],
246 [enable_exotic="no"])
248 if test "x${enable_exotic}" = "xyes"; then
249 requirement_evas="exotic ${requirement_evas}"
251 AC_DEFINE([HAVE_EXOTIC], [1], [Define to 1 if you have Exotic.])
253 AM_CONDITIONAL([EVAS_HAVE_EXOTIC], [test "x${enable_exotic}" = "xyes"])
255 ## strong dependencies
258 PKG_CHECK_MODULES([EINA], [eina >= 1.6.0])
259 CPPFLAGS_SAVE="$CPPFLAGS"
260 CPPFLAGS="$CPPFLAGS $EINA_CFLAGS"
261 AC_CHECK_SIZEOF(Eina_Unicode,, [#include <Eina.h>])
262 CPPFLAGS="$CPPFLAGS_SAVE"
265 PKG_CHECK_MODULES([FREETYPE], [freetype2 >= 9.3.0])
267 requirement_evas="freetype2 eina >= 1.6.0 ${requirement_evas}"
269 ## optional dependencies
273 AC_ARG_ENABLE([fontconfig],
274 AC_HELP_STRING([--disable-fontconfig],
275 [disable fontconfig for finding fonts. @<:@default=enabled@:>@]),
277 if test "x${enableval}" = "xyes" ; then
278 want_fontconfig="yes"
285 if test "x${want_fontconfig}" = "xyes" -o "x${want_fontconfig}" = "xauto" ; then
286 PKG_CHECK_MODULES([FONTCONFIG],
287 [fontconfig >= 2.5.0],
289 have_fontconfig="yes"
290 AC_DEFINE(HAVE_FONTCONFIG, 1, [have fontconfig searching capabilities])
291 requirement_evas="fontconfig ${requirement_evas}"
294 if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
295 AC_MSG_ERROR([Fontconfig not found (strict dependencies checking)])
303 AC_ARG_ENABLE([liblinebreak],
304 AC_HELP_STRING([--disable-liblinebreak],
305 [disable linking against liblinebreak. @<:@default=enabled@:>@]),
307 if test "x${enableval}" = "xyes" ; then
315 AM_CONDITIONAL(EVAS_USE_LINEBREAK, test "x${want_linebreak}" = "xyes")
316 if test "x${want_linebreak}" = "xyes" ; then
318 LINEBREAK_CFLAGS='-I$(top_srcdir)/src/static_deps/liblinebreak'
319 LINEBREAK_LIBS='$(top_builddir)/src/static_deps/liblinebreak/liblinebreak.la'
320 AC_SUBST(LINEBREAK_CFLAGS)
321 AC_SUBST(LINEBREAK_LIBS)
322 AC_DEFINE(HAVE_LINEBREAK, 1, [have liblinebreak support])
329 AC_ARG_ENABLE([fribidi],
330 AC_HELP_STRING([--disable-fribidi],
331 [disable bidirectional text support. @<:@default=enabled@:>@]),
333 if test "x${enableval}" = "xyes" ; then
340 if test "x${want_fribidi}" = "xyes" -o "x${want_fribidi}" = "xauto" ; then
341 PKG_CHECK_MODULES([FRIBIDI],
345 AC_DEFINE(HAVE_FRIBIDI, 1, [have fribidi support])
346 requirement_evas="fribidi ${requirement_evas}"
347 CPPFLAGS_SAVE="$CPPFLAGS"
348 CPPFLAGS="$CPPFLAGS $FRIBIDI_CFLAGS"
349 AC_CHECK_SIZEOF(FriBidiChar,, [#include <fribidi/fribidi.h>])
350 CPPFLAGS="$CPPFLAGS_SAVE"
353 if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
354 AC_MSG_ERROR([Fribidi not found (strict dependencies checking)])
359 if test "x${have_fribidi}" = "xno"; then
365 have_harfbuzz_ft="no"
366 AC_ARG_ENABLE([harfbuzz],
367 AC_HELP_STRING([--disable-harfbuzz],
368 [disable complex text shaping and layouting support. @<:@default=enabled@:>@]),
370 if test "x${enableval}" = "xyes" ; then
377 if test "x${want_harfbuzz}" = "xyes" -o "x${want_harfbuzz}" = "xauto" ; then
378 PKG_CHECK_MODULES([HARFBUZZ],
382 requirement_evas="harfbuzz ${requirement_evas}"
385 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
386 AC_MSG_ERROR([Harfbuzz not found (strict dependencies checking)])
389 if test "x$have_harfbuzz" = "xyes" ; then
391 CPPFLAGS_SAVE="$CPPFLAGS"
392 CPPFLAGS="$CPPFLAGS $HARFBUZZ_CFLAGS $FREETYPE_CFLAGS"
393 # must have for usage with harfbuzz although harfbuzz may not have it.
395 AC_CHECK_HEADER(hb-ft.h,
397 have_harfbuzz_ft="yes"
398 #Depend on harfbuzz ft for harfbuzz support
399 AC_DEFINE(HAVE_HARFBUZZ, 1, [have harfbuzz support])
402 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
403 AC_MSG_ERROR([Harfbuzz-ft not found (strict dependencies checking)])
407 CPPFLAGS="$CPPFLAGS_SAVE"
411 if test "x${have_harfbuzz}" = "xno"; then
417 AC_ARG_ENABLE([pixman],
418 AC_HELP_STRING([--enable-pixman],
419 [enable pixman for software rendering. @<:@default=enabled@:>@]),
421 if test "x${enableval}" = "xyes" ; then
429 if test "x${want_pixman}" = "xyes" -o "x${want_pixman}" = "xauto" ; then
430 PKG_CHECK_MODULES([PIXMAN],
434 AC_DEFINE(HAVE_PIXMAN, 1, [have pixman for rendering])
435 requirement_evas="pixman-1 ${requirement_evas}"
438 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
439 AC_MSG_ERROR([Pixman not found (strict dependencies checking)])
444 have_pixman_font="no"
445 AC_ARG_ENABLE(pixman-font,
446 AC_HELP_STRING([--enable-pixman-font], [Allow pixman to render fonts]),
448 have_pixman_font="yes"
449 AC_DEFINE(PIXMAN_FONT, 1, [Allow pixman to render fonts])
453 have_pixman_rect="no"
454 AC_ARG_ENABLE(pixman-rect,
455 AC_HELP_STRING([--enable-pixman-rect], [Allow pixman to render rects]),
457 have_pixman_rect="yes"
458 AC_DEFINE(PIXMAN_RECT, 1, [Allow pixman to render rects])
462 have_pixman_line="no"
463 AC_ARG_ENABLE(pixman-line,
464 AC_HELP_STRING([--enable-pixman-line], [Allow pixman to render lines]),
466 have_pixman_line="yes"
467 AC_DEFINE(PIXMAN_LINE, 1, [Allow pixman to render lines])
471 have_pixman_poly="no"
472 AC_ARG_ENABLE(pixman-poly,
473 AC_HELP_STRING([--enable-pixman-poly], [Allow pixman to render polys]),
475 have_pixman_poly="yes"
476 AC_DEFINE(PIXMAN_POLY, 1, [Allow pixman to render polys])
480 have_pixman_image="no"
481 AC_ARG_ENABLE(pixman-image,
482 AC_HELP_STRING([--enable-pixman-image], [Allow pixman to render images]),
484 have_pixman_image="yes"
485 AC_DEFINE(PIXMAN_IMAGE, 1, [Allow pixman to render images])
489 have_pixman_image_scale_sample="no"
490 AC_ARG_ENABLE(pixman-image-scale-sample,
491 AC_HELP_STRING([--enable-pixman-image-scale-sample], [Allow pixman to render sampled scaled images]),
493 have_pixman_image_scale_sample="yes"
494 AC_DEFINE(PIXMAN_IMAGE_SCALE_SAMPLE, 1, [Allow pixman to render image sampled scaling])
498 have_tile_rotate="no"
499 AC_ARG_ENABLE(tile-rotate,
500 AC_HELP_STRING([--enable-tile-rotate], [Enable tiled rotate algorithm]),
502 have_tile_rotate="yes"
503 AC_DEFINE(TILE_ROTATE, 1, [Enable tiled rotate algorithm])
507 ### Checks for header files
509 AC_CHECK_HEADERS([unistd.h stdint.h sys/param.h netinet/in.h sys/mman.h])
513 AC_CHECK_TYPES([struct sigaction], [], [],
514 [[#include <signal.h>]])
517 ### Checks for structures
520 ### Checks for compiler characteristics
526 EFL_ATTRIBUTE_ALWAYS_INLINE
529 ### Checks for linker characteristics
530 lt_enable_auto_import=""
533 AC_DEFINE(EFL_EVAS_BUILD, 1, [Define to mention that evas is built])
534 lt_enable_auto_import="-Wl,--enable-auto-import"
537 AC_SUBST(lt_enable_auto_import)
540 ### Checks for library functions
543 AC_CHECK_FUNCS([siglongjmp fcntl])
549 EFL_CHECK_FNMATCH([], [AC_MSG_ERROR([Cannot find fnmatch()])])
556 AC_DEFINE(HAVE_DLSYM)
559 # nothing on mingw platform
562 AC_CHECK_FUNCS(dlsym, res=yes, res=no)
563 if test "x$res" = "xyes"; then
564 AC_DEFINE(HAVE_DLSYM)
566 AC_CHECK_LIB(dl, dlsym, res=yes, res=no)
567 if test "x$res" = "xyes"; then
569 AC_DEFINE(HAVE_DLSYM)
571 want_evas_engine_gl_xlib="no"
572 want_evas_engine_gl_xcb="no"
573 want_evas_engine_gl_sdl="no"
577 AC_SUBST(dlopen_libs)
580 AC_CHECK_LIB(m, lround, res=yes, res=no)
581 if test "x$res" = "xyes"; then
582 AC_DEFINE(HAVE_LROUND, 1, C99 lround function exists)
585 if test "x${want_evas_image_loader_generic}" = "xyes" ; then
589 # (shm_open (for cache server)
590 AC_ARG_ENABLE([evas-cserve],
591 AC_HELP_STRING([--disable-evas-cserve],
592 [disable shared cache server support. @<:@default=enabled@:>@]),
594 if test "x${enableval}" = "xyes" ; then
595 want_evas_cserve="yes"
597 want_evas_cserve="no"
600 AC_MSG_CHECKING(whether to build shared cache server and support)
601 AC_MSG_RESULT(${want_evas_cserve})
603 # (shm_open (for cache server)
604 AC_ARG_ENABLE([evas-cserve2],
605 AC_HELP_STRING([--disable-evas-cserve2],
606 [disable shared cache server 2 support. @<:@default=enabled@:>@]),
608 if test "x${enableval}" = "xyes" ; then
609 want_evas_cserve2="yes"
611 want_evas_cserve2="no"
614 AC_MSG_CHECKING(whether to build shared cache server 2 and support)
615 AC_MSG_RESULT(${want_evas_cserve2})
617 # cserve2 only works on Linux so far.
618 if test "x${want_evas_cserve2}" = "xyes" ; then
620 [sys/epoll.h sys/inotify.h sys/signalfd.h],
623 want_evas_cserve2="no"
628 if test "x${want_evas_cserve2}" = "xyes"; then
629 want_evas_cserve="no"
633 if test "x${want_evas_cserve}" = "xyes" -o "x${want_evas_cserve2}" = "xyes" ; then
636 shm_open_libs=${EFL_SHM_OPEN_LIBS}
639 want_evas_cserve="no"
640 want_evas_cserve2="no"
643 AC_SUBST([shm_open_libs])
645 if test "x${want_evas_cserve}" = "xyes" ; then
646 AC_DEFINE(EVAS_CSERVE, 1, [Shared cache server.])
649 AM_CONDITIONAL([EVAS_CSERVE], [test "x${want_evas_cserve}" = "xyes"])
651 if test "x${want_evas_cserve2}" = "xyes" ; then
652 AC_DEFINE(EVAS_CSERVE2, 1, [Shared cache server.])
655 AM_CONDITIONAL([EVAS_CSERVE2], [test "x${want_evas_cserve2}" = "xyes"])
659 #######################################
660 ## GL force flavor gles
662 AC_MSG_CHECKING(whether to build GLES flavor of GL)
663 AC_ARG_ENABLE(gl-flavor-gles,
664 AC_HELP_STRING([--enable-gl-flavor-gles], [enable gles flavor of gl instead of standard]),
666 if test "x$enableval" = "xyes" ; then
668 AC_DEFINE(GL_GLES, 1, [GLSL runtime shader GLES2 support])
670 gles_variety_sgx="yes"
681 #####################################################################
684 EVAS_CHECK_ENGINE([buffer], [${want_evas_engine_buffer}], [yes], [Buffer])
686 EVAS_CHECK_ENGINE([software-gdi], [${want_evas_engine_software_gdi}], [no], [Software GDI])
688 EVAS_CHECK_ENGINE([software-ddraw], [${want_evas_engine_software_ddraw}], [no], [Software DirectDraw])
690 EVAS_CHECK_ENGINE([direct3d], [${want_evas_engine_direct3d}], [no], [Direct3D])
692 EVAS_CHECK_ENGINE([psl1ght], [${want_evas_engine_psl1ght}], [no], [PSL1GHT])
694 EVAS_CHECK_ENGINE([gl-sdl], [${want_evas_engine_gl_sdl}], [no], [OpenGL SDL])
696 EVAS_CHECK_ENGINE([gl-cocoa], [${want_evas_engine_gl_cocoa}], [no], [OpenGL Cocoa])
698 EVAS_CHECK_ENGINE([fb], [${want_evas_engine_fb}], [no], [Framebuffer])
700 EVAS_CHECK_ENGINE([directfb], [${want_evas_engine_directfb}], [no], [DirectFB])
702 EVAS_CHECK_ENGINE([software-8-x11], [${want_evas_engine_software_8_x11}], [no], [Software X11 8 bits grayscale])
704 EVAS_CHECK_ENGINE([wayland-shm], [${want_evas_engine_wayland_shm}], [no], [Wayland Shm])
706 EVAS_CHECK_ENGINE([wayland-egl], [${want_evas_engine_wayland_egl}], [no], [Wayland Egl])
711 AC_ARG_ENABLE([sdl-primitive],
712 [AC_HELP_STRING([--enable-sdl-primitive], [])],
713 [sdl_primitive=${enableval}]
715 AC_MSG_CHECKING([whether to use SDL primitive when possible])
716 AC_MSG_RESULT([${sdl_primitive}])
718 if test "x${sdl_primitive}" = "xyes" ; then
719 AC_DEFINE([ENGINE_SDL_PRIMITIVE], [1], [Use SDL primitive when possible])
722 # if software generic need to be build as part of libevas.so
723 have_static_software_generic="no"
724 AC_ARG_ENABLE([static-software-generic],
725 [AC_HELP_STRING([--enable-static-software-generic], [Build software generic engine as part of libevas])],
726 [have_static_software_generic=${enableval}]
728 AC_MSG_CHECKING([Whether to build software generic engine as part of libevas])
729 AC_MSG_RESULT([${have_static_software_generic}])
731 if test "x${have_static_module}" = "xyes" -a "x${have_static_software_generic}" = "xno"; then
732 AC_MSG_WARN([Forcing --enable-static-software-generic as engines must be compiled statically])
733 have_static_software_generic="yes"
736 AM_CONDITIONAL(EVAS_STATIC_BUILD_SOFTWARE_GENERIC, test "x${have_static_software_generic}" = "xyes")
737 if test "x${have_static_software_generic}" = "xyes"; then
738 AC_DEFINE(EVAS_STATIC_BUILD_SOFTWARE_GENERIC, [1], [Build software generic engine as part of libevas])
742 ######## Software Engine ########
743 have_evas_engine_software_x11="no"
744 have_evas_engine_software_xcb="no"
745 have_evas_engine_software_xlib="no"
750 AC_MSG_CHECKING(whether to build Software XCB Engine)
751 AC_ARG_ENABLE(software-xcb,
752 AC_HELP_STRING([--enable-software-xcb], [enable Software XCB Engine. @<:@default=disabled@:>@]), [want_xcb=$enableval]
754 if test "x$want_xcb" != "xno" ; then
755 EVAS_CHECK_ENGINE([software-xcb], [${want_evas_engine_software_xcb}], [no], [Software XCB])
756 if test "x$have_evas_engine_software_xcb" != "xno" ; then
757 build_software_xcb="yes"
758 have_evas_engine_software_x11="yes"
759 AC_DEFINE_UNQUOTED(BUILD_ENGINE_SOFTWARE_X11, [1], [Build software X11 engine])
760 AC_DEFINE_UNQUOTED(BUILD_ENGINE_SOFTWARE_XCB, [1], [Build software XCB backend])
764 build_software_xcb="no"
767 ## If we are not building XCB, then we can build XLib ##
769 if test "x$build_software_xcb" = "xno" ; then
770 EVAS_CHECK_ENGINE([software-xlib], [${want_evas_engine_software_xlib}], [no], [Software Xlib])
771 # if software_x11 is available, define everything needed for X11
772 if test "x$have_evas_engine_software_xlib" != "xno" ; then
773 have_evas_engine_software_x11="yes"
774 AC_DEFINE_UNQUOTED(BUILD_ENGINE_SOFTWARE_X11, [1], [Build software X11 engine])
775 AC_DEFINE_UNQUOTED(BUILD_ENGINE_SOFTWARE_XLIB, [1], [Build software Xlib backend])
778 have_evas_engine_software_xlib="no"
781 if test "x$have_evas_engine_software_xlib" = "xstatic" -o "x$have_evas_engine_software_xcb" = "xstatic"; then
782 AC_DEFINE_UNQUOTED(EVAS_STATIC_BUILD_SOFTWARE_X11, [1], [Build software X11 engine as part of libevas])
785 AC_SUBST(have_evas_engine_software_xcb)
786 AC_SUBST(have_evas_engine_software_xlib)
788 AM_CONDITIONAL([BUILD_ENGINE_SOFTWARE_XLIB], [test "x${have_evas_engine_software_xlib}" != "xno"])
789 AM_CONDITIONAL([BUILD_ENGINE_SOFTWARE_XCB], [test "x${have_evas_engine_software_xcb}" != "xno"])
790 AM_CONDITIONAL([BUILD_ENGINE_SOFTWARE_X11], [test "x${have_evas_engine_software_x11}" != "xno"])
792 AM_CONDITIONAL([EVAS_STATIC_BUILD_SOFTWARE_X11], [test "x${have_evas_engine_software_xcb}" = "xstatic" -o "x${have_evas_engine_software_xlib}" = "xstatic"])
793 AM_CONDITIONAL([EVAS_STATIC_BUILD_SOFTWARE_XLIB], [test "x${have_evas_engine_software_xlib}" = "xstatic"])
794 AM_CONDITIONAL([EVAS_STATIC_BUILD_SOFTWARE_XCB], [test "x${have_evas_engine_software_xcb}" = "xstatic"])
796 AC_SUBST(have_evas_engine_software_x11)
799 ######## OpenGL Engine ########
800 have_evas_engine_gl_x11="no"
801 have_evas_engine_gl_xcb="no"
806 AC_MSG_CHECKING(whether to build OpenGL XCB Engine)
807 AC_ARG_ENABLE(gl-xcb,
808 AC_HELP_STRING([--enable-gl-xcb], [enable OpenGL XCB Engine. @<:@default=disabled@:>@]), [want_gl_xcb=$enableval]
810 if test "x$want_gl_xcb" = "xyes" ; then
811 EVAS_CHECK_ENGINE([gl-xcb], [${want_evas_engine_gl_xcb}], [no], [OpenGL XCB])
812 if test "x$have_evas_engine_gl_xcb" != "xno" ; then
814 have_evas_engine_gl_x11="yes"
815 AC_DEFINE(BUILD_ENGINE_GL_X11, [1], [Build GL X11 engine])
816 AC_DEFINE(BUILD_ENGINE_GL_XCB, [1], [Build GL Xcb backend])
817 if test "x$have_evas_engine_gl_xcb" = "xstatic" ; then
818 AC_DEFINE(EVAS_STATIC_BUILD_GL_X11, [1], [Build GL X11 engine as part of libevas])
821 AC_SUBST(have_evas_engine_gl_xcb)
827 ## If we are not building XCB, then we can build XLib ##
829 if test "x$build_gl_xcb" = "xno" ; then
830 EVAS_CHECK_ENGINE([gl-xlib], [${want_evas_engine_gl_xlib}], [no], [OpenGL XLib])
831 if test "x$have_evas_engine_gl_xlib" != "xno" ; then
832 have_evas_engine_gl_x11="yes"
833 AC_DEFINE_UNQUOTED(BUILD_ENGINE_GL_X11, [1], [Build OpenGL X11 engine])
834 AC_DEFINE_UNQUOTED(BUILD_ENGINE_GL_XLIB, [1], [Build OpenGL Xlib backend])
835 if test "x$have_evas_engine_gl_xlib" = "xstatic" ; then
836 AC_DEFINE_UNQUOTED(EVAS_STATIC_BUILD_GL_X11, [1], [Build OpenGL X11 engine as part of libevas])
840 have_evas_engine_gl_xlib="no"
842 AC_SUBST(have_evas_engine_gl_xlib)
844 AM_CONDITIONAL([BUILD_ENGINE_GL_XLIB], [test "x${have_evas_engine_gl_xlib}" != "xno"])
845 AM_CONDITIONAL([BUILD_ENGINE_GL_XCB], [test "x${have_evas_engine_gl_xcb}" != "xno"])
846 AM_CONDITIONAL([BUILD_ENGINE_GL_X11], [test "x${have_evas_engine_gl_x11}" != "xno"])
848 AM_CONDITIONAL([EVAS_STATIC_BUILD_GL_X11], [test "x${have_evas_engine_gl_xcb}" = "xstatic" -o "x${have_evas_engine_gl_xlib}" = "xstatic"])
849 AM_CONDITIONAL([EVAS_STATIC_BUILD_GL_XLIB], [test "x${have_evas_engine_gl_xlib}" = "xstatic"])
850 AM_CONDITIONAL([EVAS_STATIC_BUILD_GL_XCB], [test "x${have_evas_engine_gl_xcb}" = "xstatic"])
852 AC_SUBST(have_evas_engine_gl_x11)
855 have_evas_engine_gl_common="no"
856 have_static_evas_engine_gl_common="no"
857 if test "x$have_evas_engine_gl_xlib" = "xyes" \
858 || test "x$have_evas_engine_gl_xcb" = "xyes" \
859 || test "x$have_evas_engine_gl_sdl" = "xyes" \
860 || test "x$have_evas_engine_gl_cocoa" = "xyes" \
861 || test "x$have_evas_engine_wayland_egl" = "xyes"; then
862 have_evas_engine_gl_common="yes"
864 if test "x$have_evas_engine_gl_xlib" = "xstatic" \
865 || test "x$have_evas_engine_gl_xcb" = "xstatic" \
866 || test "x$have_evas_engine_gl_sdl" = "xstatic" \
867 || test "x$have_evas_engine_gl_cocoa" = "xstatic" \
868 || test "x$have_evas_engine_wayland_egl" = "xstatic"; then
869 have_evas_engine_gl_common="yes"
870 have_static_evas_engine_gl_common="yes"
873 if test "x$have_evas_engine_gl_common" = "xyes"; then
874 evas_engine_gl_common_libs=""
875 AC_DEFINE(BUILD_ENGINE_GL_COMMON, [1], [Generic OpenGL Rendering Support])
878 AC_SUBST([evas_engine_gl_common_libs])
880 AM_CONDITIONAL(BUILD_ENGINE_GL_COMMON, [test "x$have_evas_engine_gl_common" = "xyes"])
882 AM_CONDITIONAL(EVAS_STATIC_BUILD_GL_COMMON, test "x${have_static_evas_engine_gl_common}" = "xyes")
883 if test "x${have_static_evas_engine_gl_common}" = "xyes"; then
884 AC_DEFINE(EVAS_STATIC_BUILD_GL_COMMON, [1], [Build GL generic engine as part of libevas])
888 if test "x$have_evas_engine_gl_sdl" = "xyes" || test "x$have_evas_engine_gl_sdl" = "xstatic" ; then
889 AC_CHECK_DECL(SDL_GL_CONTEXT_MAJOR_VERSION,
890 [AC_DEFINE(HAVE_SDL_GL_CONTEXT_VERSION, [1], [SDL_GL version attributes present])],,
891 [#include <SDL/SDL_video.h>])
894 if test "x$gl_flavor_gles" = "xyes"; then
895 AC_CHECK_DECL(SDL_OPENGLES,
896 [AC_DEFINE(HAVE_SDL_FLAG_OPENGLES, [1], [SDL_OPENGLES flag is present])],,
897 [#include <SDL/SDL_video.h>])
900 # if software 8 x11 is enabled - build software_8 (the generic 8bit
902 have_evas_engine_software_8="no"
903 if test "x$have_evas_engine_software_8_x11" = "xyes" -o "x$have_evas_engine_software_8_x11" = "xstatic"; then
904 have_evas_engine_software_8="yes"
906 AM_CONDITIONAL(BUILD_ENGINE_SOFTWARE_8, test "x$have_evas_engine_software_8" = "xyes")
908 # if software 8 need to be build as part of libevas.so
909 have_static_software_8="no"
910 AC_ARG_ENABLE([static-software-8],
911 [AC_HELP_STRING([--enable-static-software-8], [Build software 8 engine as part of libevas])],
912 [have_static_software_8=${enableval}]
914 AC_MSG_CHECKING([Whether to build software 8 engine as part of libevas])
915 AC_MSG_RESULT([${have_static_software_8}])
917 AM_CONDITIONAL(EVAS_STATIC_BUILD_SOFTWARE_8, test "x${have_static_software_8}" = "xyes")
918 if test "x${have_static_software_8}" = "xyes"; then
919 AC_DEFINE(EVAS_STATIC_BUILD_SOFTWARE_8, [1], [Build software 8 engine as part of libevas])
922 #####################################################################
925 EVAS_CHECK_IMAGE_LOADER([Edb], [${want_evas_image_loader_edb}])
927 EVAS_CHECK_IMAGE_LOADER([Eet], [${want_evas_image_loader_eet}])
928 EVAS_CHECK_FONT_LOADER([${want_evas_font_loader_eet}])
930 EVAS_CHECK_IMAGE_LOADER([Gif], [${want_evas_image_loader_gif}])
932 have_evas_image_saver_jpeg="no"
933 EVAS_CHECK_IMAGE_LOADER([Jpeg], [${want_evas_image_loader_jpeg}])
935 dnl Windows has no sigsetjmp function, nor equivalent.
936 dnl So we disable the jpeg saver.
937 dnl TODO: must find a workaround
942 if test "x${have_evas_image_loader_jpeg}" = "xyes" ; then
943 AC_DEFINE(EVAS_BUILD_SAVER_JPEG, [1], [Build JPEG saver])
944 have_evas_image_saver_jpeg="yes"
948 AM_CONDITIONAL([BUILD_SAVER_JPEG], [test "x${have_evas_image_saver_jpeg}" = "xyes"])
950 EVAS_CHECK_IMAGE_LOADER([PMAPS], [${want_evas_image_loader_pmaps}])
952 EVAS_CHECK_IMAGE_LOADER([PNG], [${want_evas_image_loader_png}])
954 EVAS_CHECK_IMAGE_LOADER([SVG], [${want_evas_image_loader_svg}])
956 EVAS_CHECK_IMAGE_LOADER([Tiff], [${want_evas_image_loader_tiff}])
958 EVAS_CHECK_IMAGE_LOADER([XPM], [${want_evas_image_loader_xpm}])
960 EVAS_CHECK_IMAGE_LOADER([BMP], [${want_evas_image_loader_bmp}])
962 EVAS_CHECK_IMAGE_LOADER([TGA], [${want_evas_image_loader_tga}])
964 EVAS_CHECK_IMAGE_LOADER([WBMP], [${want_evas_image_loader_wbmp}])
966 EVAS_CHECK_IMAGE_LOADER([WEBP], [${want_evas_image_loader_webp}])
968 EVAS_CHECK_IMAGE_LOADER([ICO], [${want_evas_image_loader_ico}])
970 EVAS_CHECK_IMAGE_LOADER([PSD], [${want_evas_image_loader_psd}])
972 EVAS_CHECK_IMAGE_LOADER([GENERIC], [${want_evas_image_loader_generic}])
974 #####################################################################
975 ## Cpu based optimizations
977 #######################################
984 # basic pthread support
985 AC_CHECK_HEADER(pthread.h,
994 # sched_getaffinity pthread_attr_setaffinity_np
995 AC_CHECK_HEADERS([pthread.h sched.h],
997 CFLAGS_save="${CFLAGS}"
998 CFLAGS="${CFLAGS} -pthread"
1000 LIBS="${LIBS} -pthread"
1003 #include <pthread.h>
1007 pthread_attr_setaffinity_np(NULL, 0, NULL);
1008 pthread_barrier_wait(NULL);
1010 [build_pthreads="yes"],
1011 [build_pthreads="no"])
1012 CFLAGS=${CFLAGS_save}
1015 [build_pthreads="no"])
1017 AC_MSG_CHECKING([whether pthread_attr_setaffinity_np() and pthread_barrier_wait() are supported])
1018 AC_MSG_RESULT([${build_pthreads}])
1020 #######################################
1022 AC_MSG_CHECKING(whether to build pthread code)
1023 AC_ARG_ENABLE(pthreads,
1024 AC_HELP_STRING([--enable-pthreads], [enable threaded rendering]),
1026 if test "x$enableval" = "xyes" ; then
1027 if test "x$build_pthreads" = "xyes"; then
1029 AC_DEFINE(BUILD_PTHREAD, 1, [Build Threaded Rendering])
1030 build_pthreads="yes"
1033 if "x$use_strict" = "xyes"; then
1034 AC_MSG_ERROR(pthreads headers or functions not found (strict dependencies checking))
1036 AC_MSG_RESULT(no: pthread headers or functions not found)
1045 AC_MSG_RESULT($build_pthreads)
1046 if test "x$build_pthreads" = "xyes" ; then
1047 AC_DEFINE(BUILD_PTHREAD, 1, [Build Threaded Rendering])
1053 #######################################
1055 build_pipe_render="no"
1057 # Let disable pipe render strongly as it doesn't massively improve performance, but
1058 # just hammer more watt for a few more percent. The code is kept as the understanding
1059 # is that with an async pipeline things will be better.
1061 #AC_MSG_CHECKING(whether to build Threaded Pipe Rendering support)
1062 #AC_ARG_ENABLE(pipe-render,
1063 # AC_HELP_STRING([--enable-pipe-render], [enable threaded pipe rendering support]),
1064 # [ build_pipe_render=$enableval ]
1066 #AC_MSG_RESULT($build_pipe_render)
1068 #AC_MSG_CHECKING(whether we can build Threaded Pipe Rendering support)
1069 #if test \( "x$build_pipe_render" = "xyes" -o "x$build_pipe_render" = "xauto" \); then
1070 # AC_MSG_RESULT(yes)
1071 # AC_DEFINE(BUILD_PIPE_RENDER, 1, [Build pipe render support])
1072 # build_pipe_render="yes"
1073 # need_pthreads="yes"
1076 # build_pipe_render="no"
1079 #######################################
1081 build_async_events="auto"
1082 AC_MSG_CHECKING(whether to build Async Events support)
1083 AC_ARG_ENABLE(async-events,
1084 AC_HELP_STRING([--enable-async-events], [enable async events support]),
1085 [ build_async_events=$enableval ]
1087 AC_MSG_RESULT($build_async_events)
1089 AC_MSG_CHECKING(whether we can build Async Events support)
1090 if test "x$build_async_events" = "xyes" || test "x$build_async_events" = "xauto" ; then
1092 AC_DEFINE(BUILD_ASYNC_EVENTS, 1, [Build async events support])
1093 build_async_events="yes"
1096 build_async_events="no"
1099 #######################################
1100 ## Async image preload
1101 build_async_preload="auto"
1102 AC_MSG_CHECKING(whether to build Async Image Preload support)
1103 AC_ARG_ENABLE(async-preload,
1104 AC_HELP_STRING([--enable-async-preload], [enable async image preloading support]),
1105 [ build_async_preload=$enableval ]
1107 AC_MSG_RESULT($build_async_preload)
1109 AC_MSG_CHECKING(whether we can build Async Image Preload support)
1110 if test \( "x$build_async_preload" = "xyes" -o "x$build_async_preload" = "xauto" \) -a "x$build_async_events" = "xyes"; then
1112 AC_DEFINE(BUILD_ASYNC_PRELOAD, 1, [Build async image preload support])
1113 build_async_preload="yes"
1117 build_async_preload="no"
1120 #######################################
1121 ## Link with pthread if needed
1122 AC_MSG_CHECKING(whether we should link with pthread)
1123 if test "x$need_pthreads" = "xyes"; then
1125 pthread_cflags="-pthread"
1126 pthread_libs="-pthread"
1131 #######################################
1145 AC_MSG_CHECKING(whether to build mmx code)
1146 AC_ARG_ENABLE(cpu-mmx,
1147 AC_HELP_STRING([--enable-cpu-mmx], [enable mmx code]),
1149 if test "x$enableval" = "xyes" ; then
1151 AC_DEFINE(BUILD_MMX, 1, [Build MMX Code])
1159 AC_MSG_RESULT($build_cpu_mmx)
1160 if test "x$build_cpu_mmx" = "xyes" ; then
1161 AC_DEFINE(BUILD_MMX, 1, [Build MMX Code])
1166 #######################################
1180 AC_MSG_CHECKING(whether to build sse code)
1181 AC_ARG_ENABLE(cpu-sse,
1182 AC_HELP_STRING([--enable-cpu-sse], [enable sse code]),
1184 if test "x$enableval" = "xyes" ; then
1186 AC_DEFINE(BUILD_SSE, 1, [Build SSE Code])
1194 AC_MSG_RESULT($build_cpu_sse)
1195 if test "x$build_cpu_sse" = "xyes" ; then
1196 AC_DEFINE(BUILD_SSE, 1, [Build SSE Code])
1201 #######################################
1206 build_cpu_sse3="yes"
1209 build_cpu_sse3="yes"
1212 build_cpu_sse3="yes"
1215 AC_MSG_CHECKING(whether to build sse3 code)
1216 AC_ARG_ENABLE(cpu-sse3,
1217 AS_HELP_STRING([--enable-cpu-sse3], [enable sse3 code]),
1219 if test "x$enableval" = "xyes" ; then
1220 AC_CHECK_HEADER(immintrin.h,
1223 AC_DEFINE(BUILD_SSE3, 1, [Build SSE3 Code])
1224 build_cpu_sse3="yes"
1236 AC_MSG_RESULT($build_cpu_sse3)
1237 if test "x$build_cpu_sse3" = "xyes" ; then
1238 AC_CHECK_HEADER(immintrin.h,
1241 AC_DEFINE(BUILD_SSE3, 1, [Build SSE3 Code])
1242 build_cpu_sse3="yes"
1253 # as a big warning flag to anyone doing stuff like this...
1254 # NEVER EVER EVER EVER put **OPTIMIZATION** flags in
1255 # build flags in makefiles (from configure or anywhere else)
1256 # EVER as this screws your ability to build 1 binary and
1257 # cover ALL x86 arch's. This is the HEIGHT of WRONG. If the
1258 # person building choses to add optimization flags themselves
1259 # and decide the minimum baseline cpu arch is X then that's
1260 # their business, but NEVER should it be done here. NEVER.
1261 # I now have to do this due to the way this sse3 code was done - using
1262 # intrinsics and "functions" (opcodes) and types that only compile *IF*
1263 # you compile with -msse3. this ALSO tries to optimize REGULAR c code
1264 # with sse3 asm.. and this breaks things so badly. so... sse3 will be
1265 # off until further notice for 32bit x86.
1266 EVAS_SSE3_CFLAGS=" "
1267 if test "x$build_cpu_sse3" = "xyes" ; then
1268 EVAS_SSE3_CFLAGS="-msse3 "
1269 # CFLAGS="${CFLAGS} ${EVAS_SSE3_CFLAGS}"
1273 AC_SUBST(EVAS_SSE3_CFLAGS)
1275 #######################################
1277 build_cpu_altivec="no"
1280 build_cpu_altivec="auto"
1284 AC_MSG_CHECKING(whether to build altivec code)
1285 AC_ARG_ENABLE(cpu-altivec,
1286 AC_HELP_STRING([--enable-cpu-altivec], [enable altivec code]),
1287 [ build_cpu_altivec=$enableval ],
1289 if test ! "x$build_cpu_altivec" = "xauto"; then
1290 build_cpu_altivec="no"
1294 AC_MSG_RESULT($build_cpu_altivec)
1296 if test "x$build_cpu_altivec" = "xyes"; then
1297 AC_CHECK_HEADER(altivec.h,
1299 AC_DEFINE(BUILD_ALTIVEC, 1, [Build Altivec Code])
1300 AC_DEFINE(HAVE_ALTIVEC_H, 1, [Have altivec.h header file])
1301 build_cpu_altivec="yes"
1305 save_CPPFLAGS=$CPPFLAGS
1306 CFLAGS=$CFLAGS" -maltivec"
1307 CPPFLAGS=$CPPFLAGS" -maltivec"
1308 unset ac_cv_header_altivec_h
1309 AC_CHECK_HEADER(altivec.h,
1311 AC_DEFINE(BUILD_ALTIVEC, 1, [Build Altivec Code])
1312 AC_DEFINE(HAVE_ALTIVEC_H, 1, [Have altivec.h header file])
1313 build_cpu_altivec="yes"
1316 if test "x$build_cpu_altivec" = "xyes" -a "x$use_strict" = "xyes" ; then
1317 AC_MSG_ERROR(Altivec not found (strict dependencies checking))
1319 build_cpu_altivec="no"
1323 CPPFLAGS=$save_CPPFLAGS
1328 if test "x$build_cpu_altivec" = "xyes"; then
1329 AC_MSG_CHECKING(whether to use altivec compiler flag)
1330 if test "x$GCC" = "xyes"; then
1331 if echo "int main(){return 0;}" | ${CPP} -faltivec - > /dev/null 2>&1; then
1332 altivec_cflags="-faltivec"
1333 AC_DEFINE(BUILD_ALTIVEC, 1, [Build Altivec Code])
1334 elif echo "int main(){return 0;}" | ${CPP} -maltivec - > /dev/null 2>&1; then
1335 altivec_cflags="-maltivec"
1336 AC_DEFINE(BUILD_ALTIVEC, 1, [Build Altivec Code])
1339 AC_MSG_RESULT($altivec_cflags)
1340 CFLAGS="$CFLAGS $altivec_cflags"
1343 #######################################
1348 build_cpu_neon="yes"
1351 AC_MSG_CHECKING(whether to build neon code)
1352 AC_ARG_ENABLE(cpu-neon,
1353 AC_HELP_STRING([--enable-cpu-neon], [build neon code, the code will be
1354 checked at run time to see if the CPU supports it]),
1356 if test "x$enableval" = "xyes" ; then
1358 [asm volatile (".fpu neon\nvqadd.u8 d0, d1, d0\n")],
1361 AC_DEFINE(BUILD_NEON, 1, [Build NEON Code])
1362 build_cpu_neon="yes"
1373 if test "x$build_cpu_neon" = "xyes" ; then
1374 AC_TRY_COMPILE([#include <arm_neon.h>],
1375 [asm volatile ("vqadd.u8 d0, d1, d0\n")],
1378 AC_DEFINE(BUILD_NEON, 1, [Build NEON Code])
1379 build_cpu_neon="yes"
1388 #######################################
1391 AC_MSG_CHECKING(whether to build c code)
1392 AC_ARG_ENABLE(cpu-c,
1393 AC_HELP_STRING([--enable-cpu-c], [enable C code]),
1395 if test "x$enableval" = "xyes" ; then
1397 AC_DEFINE(BUILD_C, 1, [Build plain C code])
1404 AC_MSG_RESULT($build_cpu_c)
1405 if test "x$build_cpu_c" = "xyes" ; then
1406 AC_DEFINE(BUILD_C, 1, [Build plain C code])
1411 #######################################
1413 want_evas_magic_debug="yes"
1414 AC_MSG_CHECKING(whether to check magic for evas object)
1415 AC_ARG_ENABLE(evas-magic-debug,
1417 [--disable-evas-magic-debug],
1418 [disable MAGIC_DEBUG check when people pass in wrong object type. [[default=enabled]]]
1420 [ want_evas_magic_debug="$enableval" ]
1422 AC_MSG_RESULT($want_evas_magic_debug)
1424 AM_CONDITIONAL(EVAS_MAGIC_DEBUG, test "x$want_evas_magic_debug" = "xyes")
1425 if test "x$want_evas_magic_debug" = "xyes"; then
1426 AC_DEFINE(EVAS_MAGIC_DEBUG, 1, [complain when people pass in wrong object types etc.])
1429 #####################################################################
1430 ## ARGB engine options
1432 #######################################
1433 ## Nearest sampling scaler
1434 EVAS_CHECK_SCALER([scale-sample], [sampling scaler], [scaler_sample="yes"], [scaler_sample="no"])
1435 ## Smooth super and sub sampling scaler
1436 EVAS_CHECK_SCALER([scale-smooth], [smooth scaler], [scaler_smooth="yes"], [scaler_smooth="no"])
1438 #######################################
1439 ## YUV -> ARGB converter
1442 AC_MSG_CHECKING(whether to build yuv converter code)
1443 AC_ARG_ENABLE(convert-yuv,
1444 AC_HELP_STRING([--enable-convert-yuv], [enable yuv converter code]),
1446 if test "x$enableval" = "xyes" ; then
1448 AC_DEFINE(BUILD_CONVERT_YUV, 1, [YUV Converter Support])
1455 AC_MSG_RESULT($conv_yuv)
1456 if test "x$conv_yuv" = "xyes" ; then
1457 AC_DEFINE(BUILD_CONVERT_YUV, 1, [YUV Converter Support])
1462 #####################################################################
1463 ## Output rendering features
1465 #######################################
1466 ## Small dither mask instead of big one (lower quality)
1467 EVAS_CHECK_DITHER([small-dither-mask], [small dither mask], [conv_small_dither="yes"], [conv_small_dither="no"])
1468 ## Alternate Line dither mask instead of big one (lower quality - but fastest)
1469 EVAS_CHECK_DITHER([line-dither-mask], [line dither mask], [conv_line_dither="yes"], [conv_line_dither="no"])
1470 ## No dither mask at all for 16bpp
1471 EVAS_CHECK_DITHER([no-dither-mask], [conversion to 16bpp without dither mask], [conv_no_dither="yes"], [conv_no_dither="no"])
1473 #######################################
1474 ## Convert to 8bpp RGB 332
1475 EVAS_CONVERT_COLOR(8, RGB, 332, [yes])
1476 ## Convert to 8bpp RGB 666
1477 EVAS_CONVERT_COLOR(8, RGB, 666, [yes])
1478 ## Convert to 8bpp RGB 232
1479 EVAS_CONVERT_COLOR(8, RGB, 232, [yes])
1480 ## Convert to 8bpp RGB 222
1481 EVAS_CONVERT_COLOR(8, RGB, 222, [yes])
1482 ## Convert to 8bpp RGB 221
1483 EVAS_CONVERT_COLOR(8, RGB, 221, [yes])
1484 ## Convert to 8bpp RGB 121
1485 EVAS_CONVERT_COLOR(8, RGB, 121, [yes])
1486 ## Convert to 8bpp RGB 111
1487 EVAS_CONVERT_COLOR(8, RGB, 111, [yes])
1488 ## Convert to 16bpp RGB 565
1489 EVAS_CONVERT_COLOR(16, RGB, 565)
1490 ## Convert to 16bpp BGR 565
1491 EVAS_CONVERT_COLOR(16, BGR, 565)
1492 ## Convert to 16bpp RGB 555
1493 EVAS_CONVERT_COLOR(16, RGB, 555)
1494 ## Convert to 16bpp RGB 444
1495 EVAS_CONVERT_COLOR(16, RGB, 444)
1497 #######################################
1498 ## Convert to 16bpp RGB 565 (444 ipaq)
1499 conv_16_rgb_ipq="yes"
1500 AC_MSG_CHECKING(whether to build 16bpp 565 (444 ipaq) converter code)
1501 AC_ARG_ENABLE(convert-16-rgb-ipq,
1502 AC_HELP_STRING([--disable-convert-16-rgb-ipq], [disable 16bpp 565 (444 ipaq) converter code]),
1504 if test "x$enableval" = "xyes" ; then
1505 AC_DEFINE(BUILD_CONVERT_16_RGB_454645, 1, [16bpp 565 (444 ipaq) Converter Support])
1506 conv_16_rgb_ipq="yes"
1508 conv_16_rgb_ipq="no"
1511 if test "x$conv_16_rgb_ipq" = "xyes" ; then
1512 AC_DEFINE(BUILD_CONVERT_16_RGB_454645, 1, [16bpp 565 (444 ipaq) Converter Support])
1516 AC_MSG_RESULT($conv_16_rgb_ipq)
1518 #######################################
1519 ## Convert to 16bpp RGB with rotation of 0
1520 EVAS_CONVERT_ROT(16, RGB, 0)
1521 ## Convert to 16bpp RGB with rotation of 180
1522 EVAS_CONVERT_ROT(16, RGB, 180)
1523 ## Convert to 16bpp RGB with rotation of 270
1524 EVAS_CONVERT_ROT(16, RGB, 270)
1525 ## Convert to 16bpp RGB with rotation of 90
1526 EVAS_CONVERT_ROT(16, RGB, 90)
1528 #######################################
1529 ## Convert to 24bpp RGB 888
1530 EVAS_CONVERT_COLOR(24, RGB, 888)
1531 ## Convert to 24bpp BGR 888
1532 EVAS_CONVERT_COLOR(24, BGR, 888)
1533 ## Convert to 32bpp RGB 8888
1534 EVAS_CONVERT_COLOR(32, RGB, 8888)
1535 ## Convert to 32bpp RGBX 8888
1536 EVAS_CONVERT_COLOR(32, RGBX, 8888)
1537 ## Convert to 32bpp BGR 8888
1538 EVAS_CONVERT_COLOR(32, BGR, 8888)
1539 ## Convert to 32bpp BGRX 8888
1540 EVAS_CONVERT_COLOR(32, BGRX, 8888)
1542 #######################################
1543 ## Convert to 24bpp RGB 666 (666 ezx)
1544 conv_24_rgb_ezx="yes"
1545 AC_MSG_CHECKING(whether to build 24bpp 666 (666 ezx) converter code)
1546 AC_ARG_ENABLE(convert-24-rgb-ezx,
1547 AC_HELP_STRING([--disable-convert-24-rgb-ezx], [disable 24bpp 666 (666 ezx) converter code]),
1549 if test "x$enableval" = "xyes" ; then
1550 AC_DEFINE(BUILD_CONVERT_24_RGB_666, 1, [24bpp 666 (666 ezx) Converter Support])
1551 conv_24_rgb_ezx="yes"
1553 conv_24_rgb_ezx="no"
1556 if test "x$conv_24_rgb_ezx" = "xyes" ; then
1557 AC_DEFINE(BUILD_CONVERT_24_RGB_666, 1, [24bpp 666 (666 ezx) Converter Support])
1561 AC_MSG_RESULT($conv_24_rgb_ezx)
1563 #######################################
1564 ## Convert to 32bpp RGB 666 (666 ezx)
1565 conv_32_rgb_ezx="yes"
1566 AC_MSG_CHECKING(whether to build 32bpp 666 (666 ezx) converter code)
1567 AC_ARG_ENABLE(convert-32-rgb-ezx,
1568 AC_HELP_STRING([--disable-convert-32-rgb-ezx], [disable 32bpp 666 (666 ezx) converter code]),
1570 if test "x$enableval" = "xyes" ; then
1571 AC_DEFINE(BUILD_CONVERT_32_RGB_666, 1, [32bpp 666 (666 ezx) Converter Support])
1572 conv_32_rgb_ezx="yes"
1574 conv_32_rgb_ezx="no"
1577 if test "x$conv_32_rgb_ezx" = "xyes" ; then
1578 AC_DEFINE(BUILD_CONVERT_32_RGB_666, 1, [32bpp 666 (666 ezx) Converter Support])
1582 AC_MSG_RESULT($conv_32_rgb_ezx)
1584 #######################################
1585 ## Convert to 32bpp RGB with rotation of 0
1586 EVAS_CONVERT_ROT(32, RGB, 0)
1587 ## Convert to 32bpp RGB with rotation of 180
1588 EVAS_CONVERT_ROT(32, RGB, 180)
1589 ## Convert to 32bpp RGB with rotation of 270
1590 EVAS_CONVERT_ROT(32, RGB, 270)
1591 ## Convert to 32bpp RGB with rotation of 90
1592 EVAS_CONVERT_ROT(32, RGB, 90)
1594 #######################################
1595 ## Convert to 8bpp grayscale with 256 value, no palette
1596 EVAS_CONVERT_COLOR(8, GRY, 1)
1597 ## Convert to 8bpp grayscale with 16 value, no palette
1598 EVAS_CONVERT_COLOR(8, GRY, 16)
1600 #######################################
1601 ## Convert to 8bpp grayscale, 64-palette
1602 conv_8_grayscale_64="yes"
1603 AC_MSG_CHECKING(whether to build 8bpp grayscale 64-palette converter code)
1604 AC_ARG_ENABLE(convert-8-grayscale-64,
1605 AC_HELP_STRING([--disable-convert-8-grayscale-64], [disable 8bpp grayscale 64-palette converter code]),
1607 if test "x$enableval" = "xyes"; then
1608 AC_DEFINE(BUILD_CONVERT_8_GRAYSCALE_64, 1, [8bpp Grayscale 64-palette Converter Support])
1609 conv_8_grayscale_64="yes"
1611 conv_8_grayscale_64="no"
1614 if test "x$conv_8_grayscale_64" = "xyes"; then
1615 AC_DEFINE(BUILD_CONVERT_8_GRAYSCALE_64, 1, [32bpp Grayscale 64-palette Converter Support])
1619 AC_MSG_RESULT($conv_8_grayscale_64)
1625 AC_MSG_CHECKING(whether to enable build with valgrind)
1626 AC_ARG_ENABLE(valgrind,
1627 AC_HELP_STRING([--enable-valgrind], [enable valgrind fixes to stop false reports]),
1628 [ want_valgrind=$enableval ]
1630 AC_MSG_RESULT($want_valgrind)
1632 if test x$want_valgrind = "xyes"; then
1633 PKG_CHECK_MODULES(VALGRIND, valgrind >= 2.4.0,
1635 AC_DEFINE(HAVE_VALGRIND, 1, [Valgrind support])
1637 requirement_evas="valgrind ${requirement_evas}"
1640 if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
1641 AC_MSG_ERROR([Valgrind not found (strict dependencies checking)])
1649 install_examples="yes"
1650 AC_ARG_ENABLE([install-examples],
1651 AC_HELP_STRING([--disable-install-examples],
1652 [disable installing examples (compiled or just source).
1653 @<:@default==enabled@:>@]),
1655 if test "x${enableval}" = "xyes" ; then
1656 install_examples="yes"
1658 install_examples="no"
1661 [install_examples="yes"])
1662 AM_CONDITIONAL([INSTALL_EXAMPLES], [test "x${install_examples}" = "xyes"])
1665 AC_ARG_ENABLE([build-examples],
1666 AC_HELP_STRING([--enable-build-examples],
1667 [enable building examples (this requires extra denpendencies. if you don't have them installed yet, don't build with this option or it will fail. build again when you have it, overriding the previous installation). @<:@default==disabled@:>@]),
1669 if test "x${enableval}" = "xyes" ; then
1670 build_examples="yes"
1671 # put in here the dependencies for Evas' examples. they are
1672 # meant to be 'real world' usage examples, thus one will be
1673 # using higher level libraries on these programs
1674 PKG_CHECK_MODULES([ECORE_EVAS], [ecore-evas ecore], [], [build_examples="no"])
1675 PKG_CHECK_MODULES([EDJE], [edje],
1676 [edje_cc=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc],
1677 [build_examples="no"])
1683 [build_examples="no"])
1684 AM_CONDITIONAL([BUILD_EXAMPLES], [test "x${build_examples}" = "xyes"])
1686 ## Unit tests, coverage
1688 EFL_CHECK_TESTS([enable_tests="yes"], [enable_tests="no"])
1690 EFL_CHECK_COVERAGE([${enable_tests}], [enable_coverage="yes"], [enable_coverage="no"])
1691 EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS} ${EXOTIC_CFLAGS}"
1692 EVAS_LIBS="${EVAS_LIBS} ${EFL_COVERAGE_LIBS} ${EXOTIC_LIBS}"
1693 if test "x$enable_coverage" = "xyes" ; then
1694 EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_DEBUG_CFLAGS}"
1697 AC_SUBST(EVAS_CFLAGS)
1702 EVAS_GENERAL_CFLAGS="${EINA_CFLAGS}"
1703 EVAS_GENERAL_LIBS="${EINA_LIBS}"
1704 AC_SUBST(EVAS_GENERAL_CFLAGS)
1705 AC_SUBST(EVAS_GENERAL_LIBS)
1707 #####################################################################
1710 AC_SUBST(altivec_cflags)
1711 AC_SUBST(pthread_cflags)
1712 AC_SUBST(pthread_libs)
1713 AC_SUBST(requirement_evas)
1716 #####################################################################
1725 evas-opengl-cocoa.pc
1726 evas-software-buffer.pc
1727 evas-software-x11.pc
1728 evas-software-8-x11.pc
1729 evas-software-gdi.pc
1730 evas-software-ddraw.pc
1732 evas-software-sdl.pc
1742 src/bin/loaders/Makefile
1743 src/bin/loaders/jpeg/Makefile
1744 src/bin/loaders/png/Makefile
1745 src/bin/loaders/eet/Makefile
1746 src/bin/loaders/tiff/Makefile
1747 src/bin/loaders/xpm/Makefile
1748 src/bin/loaders/bmp/Makefile
1749 src/bin/loaders/ico/Makefile
1750 src/bin/loaders/tga/Makefile
1751 src/bin/loaders/pmaps/Makefile
1752 src/bin/loaders/wbmp/Makefile
1753 src/bin/loaders/webp/Makefile
1754 src/bin/loaders/psd/Makefile
1756 src/lib/canvas/Makefile
1757 src/lib/file/Makefile
1758 src/lib/cache/Makefile
1759 src/lib/cache2/Makefile
1760 src/lib/cserve/Makefile
1761 src/lib/cserve2/Makefile
1762 src/lib/engines/Makefile
1763 src/lib/engines/common/Makefile
1764 src/lib/engines/common/evas_op_add/Makefile
1765 src/lib/engines/common/evas_op_blend/Makefile
1766 src/lib/engines/common/evas_op_copy/Makefile
1767 src/lib/engines/common/evas_op_mask/Makefile
1768 src/lib/engines/common/evas_op_mul/Makefile
1769 src/lib/engines/common/evas_op_sub/Makefile
1770 src/lib/engines/common_8/Makefile
1771 src/modules/Makefile
1772 src/modules/engines/Makefile
1773 src/modules/engines/software_generic/Makefile
1774 src/modules/engines/software_gdi/Makefile
1775 src/modules/engines/software_ddraw/Makefile
1776 src/modules/engines/direct3d/Makefile
1777 src/modules/engines/software_x11/Makefile
1778 src/modules/engines/fb/Makefile
1779 src/modules/engines/buffer/Makefile
1780 src/modules/engines/directfb/Makefile
1781 src/modules/engines/gl_common/Makefile
1782 src/modules/engines/gl_x11/Makefile
1783 src/modules/engines/gl_sdl/Makefile
1784 src/modules/engines/gl_cocoa/Makefile
1785 src/modules/engines/psl1ght/Makefile
1786 src/modules/engines/software_8/Makefile
1787 src/modules/engines/software_8_x11/Makefile
1788 src/modules/engines/wayland_shm/Makefile
1789 src/modules/engines/wayland_egl/Makefile
1790 src/modules/loaders/Makefile
1791 src/modules/loaders/edb/Makefile
1792 src/modules/loaders/eet/Makefile
1793 src/modules/loaders/gif/Makefile
1794 src/modules/loaders/jpeg/Makefile
1795 src/modules/loaders/png/Makefile
1796 src/modules/loaders/tiff/Makefile
1797 src/modules/loaders/xpm/Makefile
1798 src/modules/loaders/bmp/Makefile
1799 src/modules/loaders/ico/Makefile
1800 src/modules/loaders/tga/Makefile
1801 src/modules/loaders/svg/Makefile
1802 src/modules/loaders/pmaps/Makefile
1803 src/modules/loaders/wbmp/Makefile
1804 src/modules/loaders/webp/Makefile
1805 src/modules/loaders/psd/Makefile
1806 src/modules/loaders/generic/Makefile
1807 src/modules/savers/Makefile
1808 src/modules/savers/edb/Makefile
1809 src/modules/savers/eet/Makefile
1810 src/modules/savers/jpeg/Makefile
1811 src/modules/savers/png/Makefile
1812 src/modules/savers/tiff/Makefile
1813 src/static_deps/Makefile
1814 src/static_deps/liblinebreak/Makefile
1815 src/lib/include/Makefile
1816 src/examples/Makefile
1822 #####################################################################
1825 if test "x$build_pthreads" = "xno" ; then
1826 if test "x$build_pipe_render" = "xyes" ; then
1827 echo "ERROR: PThreads off, but pipe rendering on. Pipe rendering"
1828 echo " needs thread support."
1833 if test "x${has_pthreads}" = "xno" ; then
1834 if test "x$build_async_preload" = "xyes" ; then
1835 echo "ERROR: PThreads off, but Async Preload on. Async Preload"
1836 echo " needs thread support."
1841 #####################################################################
1847 echo "------------------------------------------------------------------------"
1848 echo "$PACKAGE $VERSION"
1849 echo "------------------------------------------------------------------------"
1851 echo "Configuration Options Summary:"
1854 echo " Software Memory Buffer.....: $have_evas_engine_buffer"
1855 echo " Software X11...............: $have_evas_engine_software_x11 (Xlib: $have_evas_engine_software_xlib) (XCB: $have_evas_engine_software_xcb)"
1856 echo $ECHO_N " OpenGL X11.................: $have_evas_engine_gl_x11 (Xlib: $have_evas_engine_gl_xlib) (XCB: $have_evas_engine_gl_xcb) $ECHO_C"
1857 if test "x$have_evas_engine_gl_x11" = "xyes"; then
1858 echo "(GLES: $gl_flavor_gles)"
1862 echo " Software GDI...............: $have_evas_engine_software_gdi"
1863 echo " Software DirectDraw........: $have_evas_engine_software_ddraw"
1864 echo " Direct3d...................: $have_evas_engine_direct3d"
1865 echo " OpenGL SDL.................: $have_evas_engine_gl_sdl $ECHO_C"
1866 if test "x$have_evas_engine_gl_sdl" = "xyes"; then
1867 echo "(GLES: $gl_flavor_gles)"
1871 echo " OpenGL Cocoa...............: $have_evas_engine_gl_cocoa"
1872 echo " Software Framebuffer.......: $have_evas_engine_fb"
1873 echo " DirectFB...................: $have_evas_engine_directfb"
1874 echo " PSL1GHT....................: $have_evas_engine_psl1ght"
1875 echo " Software 8bit grayscale....: $have_evas_engine_software_8"
1876 echo " Wayland Shm................: $have_evas_engine_wayland_shm"
1877 echo " Wayland Egl................: $have_evas_engine_wayland_egl"
1879 echo "Image Loaders:"
1880 echo " BMP.....................: $have_evas_image_loader_bmp"
1881 echo " EDB.....................: $have_evas_image_loader_edb"
1882 echo " EET.....................: $have_evas_image_loader_eet"
1883 echo " GENERIC.................: $have_evas_image_loader_generic"
1884 echo " GIF.....................: $have_evas_image_loader_gif"
1885 echo " ICO.....................: $have_evas_image_loader_ico"
1886 echo " JPEG....................: $have_evas_image_loader_jpeg (region: $have_jpeg_region)"
1887 echo " PMAPS...................: $have_evas_image_loader_pmaps"
1888 echo " PNG.....................: $have_evas_image_loader_png"
1889 echo " PSD.....................: $have_evas_image_loader_psd"
1890 echo " SVG.....................: $have_evas_image_loader_svg"
1891 echo " TGA.....................: $have_evas_image_loader_tga"
1892 echo " TIFF....................: $have_evas_image_loader_tiff"
1893 echo " WBMP....................: $have_evas_image_loader_wbmp"
1894 echo " WEBP....................: $have_evas_image_loader_webp"
1895 echo " XPM.....................: $have_evas_image_loader_xpm"
1897 echo "Font Sourcing Systems:"
1898 echo " EET.....................: $have_evas_font_loader_eet"
1900 echo "Font Searching Systems:"
1901 echo " Fontconfig..............: $have_fontconfig"
1903 echo "Font Rendering Helpers:"
1904 echo " Fribidi.................: $have_fribidi"
1905 echo " Harfbuzz................: $have_harfbuzz"
1906 echo " liblinebreak............: $have_linebreak"
1907 # FIXME: add non freetype2 font engine support
1908 # FIXME: make freetype2 optional
1910 echo "CPU Specific Extensions:"
1911 echo " Fallback C Code.........: $build_cpu_c"
1912 echo " MMX.....................: $build_cpu_mmx"
1913 echo " SSE.....................: $build_cpu_sse"
1914 echo " SSE3....................: $build_cpu_sse3"
1915 echo " ALTIVEC.................: $build_cpu_altivec"
1916 echo " NEON....................: $build_cpu_neon"
1917 echo " Thread Support..........: $build_pthreads"
1920 echo " MAGIC_DEBUG.............: $want_evas_magic_debug"
1921 echo " Cache Server............: $want_evas_cserve"
1922 echo " Cache Server 2..........: $want_evas_cserve2"
1925 dnl ... DISABLED! some testing has shown that this seems to have some
1926 dnl nasty bugs on both x86 and arm (tegra2 dual core tested), so just
1927 dnl disabling this for now until it can be fixed
1929 echo " Threaded Pipe Rendering.: $build_pipe_render"
1930 echo " Async Events............: $build_async_events"
1931 echo " Async Image Preload.....: $build_async_preload"
1933 echo " Pixman..................: $have_pixman"
1934 echo " Pixman Fonts............: $have_pixman_font"
1935 echo " Pixman Rects............: $have_pixman_rect"
1936 echo " Pixman Lines............: $have_pixman_line"
1937 echo " Pixman Polygons.........: $have_pixman_poly"
1938 echo " Pixman Images...........: $have_pixman_image"
1939 echo " Pixman Image ScaleSample: $have_pixman_image_scale_sample"
1941 echo " Tiled 32BPP rotate......: $have_tile_rotate"
1943 echo "ARGB Software Engine Options:"
1944 echo " Sampling Scaler.........: $scaler_sample"
1945 echo " Smooth Scaler...........: $scaler_smooth"
1946 # FIXME: add an mmx scaler routine
1947 echo " YUV Converter...........: $conv_yuv"
1948 # FIXME: add more YUV format and colorvariant support
1950 echo "ARGB Conversion Options:"
1951 echo " Smaller Dither Mask.....: $conv_small_dither"
1952 echo " Line Dither Mask........: $conv_line_dither"
1953 echo " No Dither Mask for 16bpp: $conv_no_dither"
1954 echo " 8bpp RGB 332............: $conv_8_rgb_332"
1955 echo " 8bpp RGB 666............: $conv_8_rgb_666"
1956 echo " 8bpp RGB 232............: $conv_8_rgb_232"
1957 echo " 8bpp RGB 222............: $conv_8_rgb_222"
1958 echo " 8bpp RGB 221............: $conv_8_rgb_221"
1959 echo " 8bpp RGB 121............: $conv_8_rgb_121"
1960 echo " 8bpp RGB 111............: $conv_8_rgb_111"
1961 echo " 8bpp Grayscale (256)....: $conv_8_gry_1"
1962 echo " 8bpp Grayscale (16).....: $conv_8_gry_16"
1963 echo " 8bpp Grayscale 64-pal...: $conv_8_grayscale_64"
1964 # FIXME: add grayscale and B&W support to standard x converters
1965 echo " 16bpp RGB 565...........: $conv_16_rgb_565"
1966 echo " 16bpp BGR 565...........: $conv_16_bgr_565"
1967 echo " 16bpp RGB 555...........: $conv_16_rgb_555"
1968 echo " 16bpp RGB 444...........: $conv_16_rgb_444"
1969 echo " 16bpp RGB 565 (444 ipaq): $conv_16_rgb_ipq"
1970 # FIXME: add 555 (444 ipaq) support
1971 # FIXME: add 30bpp support
1972 # FIXME: add palletted support (ugh!)
1973 # FIXME: add 8bpp and below rotation
1974 echo " 16bpp Rotation 0........: $conv_16_rgb_rot_0"
1975 echo " 16bpp Rotation 90.......: $conv_16_rgb_rot_90"
1976 echo " 16bpp Rotation 180......: $conv_16_rgb_rot_180"
1977 echo " 16bpp Rotation 270......: $conv_16_rgb_rot_270"
1978 echo " 24bpp RGB 888...........: $conv_24_rgb_888"
1979 echo " 24bpp BGR 888...........: $conv_24_bgr_888"
1980 echo " 24bpp RGB 666 (666 ezx).: $conv_24_rgb_ezx"
1981 # FIXME: add 24bpp rotation
1982 echo " 32bpp RGB 8888..........: $conv_32_rgb_8888"
1983 echo " 32bpp RGBX 8888.........: $conv_32_rgbx_8888"
1984 echo " 32bpp BGR 8888..........: $conv_32_bgr_8888"
1985 echo " 32bpp BGRX 8888.........: $conv_32_bgrx_8888"
1986 echo " 32bpp RGB 666 (666 ezx).: $conv_32_rgb_ezx"
1987 echo " 32bpp Rotation 0........: $conv_32_rgb_rot_0"
1988 echo " 32bpp Rotation 90.......: $conv_32_rgb_rot_90"
1989 echo " 32bpp Rotation 180......: $conv_32_rgb_rot_180"
1990 echo " 32bpp Rotation 270......: $conv_32_rgb_rot_270"
1992 echo "Documentation.............: ${build_doc}"
1993 echo "Examples..................: install:${install_examples} build:${build_examples}"
1994 if test "x${enable_tests}" = "xyes" ; then
1995 echo "Tests.....................: ${enable_tests} (make check)"
1997 echo "Tests.....................: ${enable_tests}"
1999 if test "x${enable_coverage}" = "xyes" ; then
2000 echo "Coverage..................: ${enable_coverage} (make coverage)"
2002 echo "Coverage..................: ${enable_coverage}"
2005 echo "Compilation............: make (or gmake)"
2006 echo " CPPFLAGS.............: $CPPFLAGS"
2007 echo " CFLAGS...............: $CFLAGS"
2008 echo " CXXFLAGS.............: $CXXFLAGS"
2009 echo " LDFLAGS..............: $LDFLAGS"
2011 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
2012 echo " prefix...............: $prefix"
2014 if test "x${have_static_module}" = "xyes" ; then
2015 echo -e "\0033\01331;31mWarning\0033\01331;0m: You are trying to link statically one or more modules to Evas."
2016 echo " You must know what you are doing, or else you will have a lot of"
2017 echo " problems. And Kenny will be killed."
2018 echo " Think about that."