Update to release 1.7.8
[platform/upstream/edje.git] / configure.ac
1 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3 m4_define([v_maj], [1])
4 m4_define([v_min], [7])
5 m4_define([v_mic], [8])
6 m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2>/dev/null || echo 0) | tr -d '\n']))dnl
7 ##--   When released, remove the dnl on the below line
8 m4_undefine([v_rev])
9 ##--   When doing snapshots - change soname. remove dnl on below line
10 dnl m4_define([relname], [ver-pre-svn-07])
11 dnl m4_define([v_rel], [-release relname])
12 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13 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])])
14 m4_define([lt_cur], m4_eval(v_maj + v_min))
15 m4_define([lt_rev], v_mic)
16 m4_define([lt_age], v_min)
17 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
18 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
19
20 AC_INIT([edje], [v_ver], [enlightenment-devel@lists.sourceforge.net])
21 AC_PREREQ([2.52])
22 AC_CONFIG_SRCDIR([configure.ac])
23 AC_CONFIG_MACRO_DIR([m4])
24
25 AC_CONFIG_HEADERS([config.h])
26 AH_TOP([
27 #ifndef EFL_CONFIG_H__
28 #define EFL_CONFIG_H__
29 ])
30 AH_BOTTOM([
31 #endif /* EFL_CONFIG_H__ */
32 ])
33
34 AM_INIT_AUTOMAKE([1.6 dist-bzip2])
35 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
36
37 AC_LIBTOOL_WIN32_DLL
38 define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
39 define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
40 AC_PROG_LIBTOOL
41
42 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
43 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
44 m4_ifdef([v_rev], , [m4_define([v_rev], [0])])
45 m4_ifdef([v_rel], , [m4_define([v_rel], [])])
46 AC_DEFINE_UNQUOTED(VMAJ, [v_maj], [Major version])
47 AC_DEFINE_UNQUOTED(VMIN, [v_min], [Minor version])
48 AC_DEFINE_UNQUOTED(VMIC, [v_mic], [Micro version])
49 AC_DEFINE_UNQUOTED(VREV, [v_rev], [Revison])
50 version_info="lt_cur:lt_rev:lt_age"
51 release_info="v_rel"
52 AC_SUBST(version_info)
53 AC_SUBST(release_info)
54 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
55 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
56 VMAJ=v_maj
57 AC_SUBST(VMAJ)
58
59 AC_DEFINE_UNQUOTED([SHARED_LIB_SUFFIX], ["$shrext_cmds"], [Suffix for shared objects])
60
61 ### Default options with respect to host
62 AC_CANONICAL_BUILD
63 AC_CANONICAL_HOST
64
65
66 case "$host_os" in
67    mingw32ce*)
68       MODULE_ARCH="$host_os-$host_cpu"
69       install_vim="no"
70       have_edje_cc="no"
71       ;;
72    *)
73       MODULE_ARCH="$host_os-$host_cpu-v_maj.0.0"
74       install_vim="yes"
75       have_edje_cc="yes"
76       ;;
77 esac
78
79 requirement_edje=""
80
81 AC_SUBST(MODULE_ARCH)
82 AC_DEFINE_UNQUOTED(MODULE_ARCH, "${MODULE_ARCH}", "Module architecture")
83
84 ### Additional options to configure
85
86 AC_ARG_ENABLE([amalgamation],
87    [AC_HELP_STRING([--enable-amalgamation], [enable generation of one single file with all source code in it, helps compiler optimizations.])],
88    [if test "x${enableval}" = "xyes"; then
89        do_amalgamation="yes"
90     else
91        do_amalgamation="no"
92     fi
93    ],
94    [do_amalgamation="no"]
95 )
96 AM_CONDITIONAL([EDJE_AMALGAMATION], [test "x${do_amalgamation}" = "xyes"])
97
98 EFL_WITH_BIN([edje], [edje-cc], [edje_cc])
99
100 EFL_ENABLE_BIN([edje-cc])
101 EFL_ENABLE_BIN([edje-decc])
102 EFL_ENABLE_BIN([edje-recc])
103 EFL_ENABLE_BIN([edje-player])
104 EFL_ENABLE_BIN([edje-inspector])
105 EFL_ENABLE_BIN([edje-external-inspector])
106 EFL_ENABLE_BIN([edje-watch])
107
108 # Optional EDJE_PROGRAM_CACHE (use much more ram, but increase speed in some cases)
109 want_edje_program_cache="no"
110
111 AC_ARG_ENABLE([edje-program-cache],
112    [AC_HELP_STRING(
113        [--enable-edje-program-cache],
114        [enable EDJE_PROGRAM_CACHE support. [[default=disabled]]]
115     )],
116    [want_edje_program_cache=$enableval]
117 )
118 AM_CONDITIONAL([EDJE_PROGRAM_CACHE], [test "x${want_edje_program_cache}" = "xyes"])
119
120 if test "x${want_edje_program_cache}" = "xyes" ; then
121    AC_DEFINE([EDJE_PROGRAM_CACHE], [1], [Cache result of program glob matches - this uses up extra ram with the gain of faster program matching])
122 fi
123
124 # Optional EDJE_CALC_CACHE (use more ram, but increase speed by reducing the need to recalculate static stuff)
125 want_edje_calc_cache="yes"
126
127 AC_ARG_ENABLE([edje-calc-cache],
128    [AC_HELP_STRING(
129        [--enable-edje-calc-cache],
130        [enable EDJE_CALC_CACHE support. [[default=disabled]]]
131     )],
132    [want_edje_calc_cache=$enableval]
133 )
134 AM_CONDITIONAL([EDJE_CALC_CACHE], [test "x${want_edje_calc_cache}" = "xyes"])
135
136 if test "x${want_edje_calc_cache}" = "xyes" ; then
137    AC_DEFINE([EDJE_CALC_CACHE], [1], [Cache result of edje_part_recalc - this uses up extra ram with the gain of reducing CPU usage when edje object are not resized])
138 fi
139
140 # Enable Fixed Point use
141 want_fixed_point="no"
142
143 AC_ARG_ENABLE([fixed-point],
144    [AC_HELP_STRING(
145        [--enable-fixed-point],
146        [reduce use of FPU by using Fixed Point provided by Eina and Eet, [[default=disabled]]]
147     )],
148     [want_fixed_point=$enableval]
149 )
150 AM_CONDITIONAL([BUILD_EDJE_FP], [test "x${want_fixed_point}" = "xyes"])
151
152 if test "x${want_fixed_point}" = "xyes" ; then
153    AC_DEFINE([BUILD_EDJE_FP], [1], [Use Fixed Point instead of FPU])
154 fi
155
156 install_vim="yes"
157 AC_ARG_WITH([vim],
158     [AC_HELP_STRING([--with-vim=DIR], [Location of Vim data files [[autodetect]]])],
159     [
160      if test -d "${withval}"; then
161         vimdir="${withval}"
162      fi
163     ]
164 )
165
166 if test "x${vimdir}" = "x" ; then
167    if test -d "${prefix}/share/vim"; then
168       vimdir="${prefix}/share/vim"
169    elif test -d "/usr/share/vim"; then
170       vimdir="/usr/share/vim"
171    elif test -d "/usr/local/share/vim"; then
172       vimdir="/usr/local/share/vim"
173    elif test -d "/opt/share/vim"; then
174       vimdir="/opt/share/vim"
175    else
176       install_vim="no"
177    fi
178 fi
179
180 AC_MSG_CHECKING([for location of Vim data files])
181
182 if test "${install_vim}" = "yes"; then
183    AC_MSG_RESULT([$vimdir])
184 else
185    AC_MSG_RESULT([Not found, EDC syntax file will not be installed])
186 fi
187
188 AC_SUBST(vimdir)
189
190 ### Checks for programs
191 AC_PROG_CC
192
193 # doxygen program for documentation building
194
195 EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
196
197 # python
198
199 AM_PATH_PYTHON([2.5], , [:])
200 AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != : ])
201
202 # pkg-config
203
204 PKG_PROG_PKG_CONFIG
205
206 # Check whether pkg-config supports Requires.private
207
208 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
209    pkgconfig_requires_private="Requires.private"
210 else
211    pkgconfig_requires_private="Requires"
212 fi
213 AC_SUBST(pkgconfig_requires_private)
214
215
216 ### Checks for libraries
217
218 # Evil library for compilation on Windows
219
220 EFL_EDJE_BUILD=""
221 case "$host_os" in
222    mingw*)
223       PKG_CHECK_MODULES([EVIL], [evil >= 1.7.8])
224       AC_DEFINE([HAVE_EVIL], [1], [Set to 1 if Evil library is installed])
225       requirement_edje="evil ${requirement_edje}"
226       EFL_EDJE_BUILD="-DEFL_EDJE_BUILD"
227    ;;
228 esac
229 AC_SUBST(EFL_EDJE_BUILD)
230
231 # Dependencies for the library
232
233 # Lua pkg-config hack for different naming conventions
234 have_lua="yes"
235 requirement_lua=""
236 lua_libs=""
237 PKG_CHECK_MODULES([LUA], [lua >= 5.1.0], requirement_lua="lua",
238    [PKG_CHECK_MODULES([LUA], [lua5.1 >= 5.1.0], requirement_lua="lua5.1",
239       [PKG_CHECK_MODULES([LUA], [lua-5.1 >= 5.1.0], requirement_lua="lua-5.1",
240          [PKG_CHECK_MODULES([LUA], [lua51 >= 5.1.0], requirement_lua="lua51",
241             [have_lua="no"])])])])
242
243 if test "x${have_lua}" = "xno" ; then
244    AC_MSG_CHECKING([whether lua_newstate() is in liblua])
245    AC_CHECK_LIB([lua], [lua_newstate],
246       [
247        have_lua="yes"
248        lua_libs="-llua"
249       ],
250       [have_lua="no"])
251    AC_MSG_RESULT([${have_lua}])
252 fi
253 AC_SUBST(lua_libs)
254
255 if test "x${have_lua}" = "xno" ; then
256    AC_MSG_ERROR([Cannot find lua library. Be sure that you have installed it and set CFLAGS and LDFLAGS correctly])
257 fi
258
259 PKG_CHECK_MODULES([MINIMAL],
260    [
261     eina >= 1.7.8
262     eet >= 1.7.8
263    ])
264
265 PKG_CHECK_MODULES([EDJE],
266    [
267     eina >= 1.7.8
268     eet >= 1.7.8
269     evas >= 1.7.8
270     ecore >= 1.7.8
271     ecore-evas >= 1.7.8
272     ecore-file >= 1.7.8
273     ecore-input >= 1.7.8
274     embryo >= 1.7.8
275    ])
276
277 EDJE_LIBS="${EDJE_LIBS} ${LUA_LIBS} ${lua_libs}"
278 EDJE_CFLAGS="${EDJE_CFLAGS} ${LUA_CFLAGS}"
279
280 requirement_edje="embryo >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8 ${requirement_edje}"
281 requirement_edje="${requirement_lua} ${requirement_edje}"
282
283 have_ecore_imf="no"
284 PKG_CHECK_MODULES([ECORE_IMF],
285    [
286     ecore-imf >= 1.7.8
287     ecore-imf-evas >= 1.7.8
288    ],
289    [
290     AC_DEFINE([HAVE_ECORE_IMF], [1], [Input Method Support for Edje Entry])
291     have_ecore_imf="yes"
292     requirement_edje="ecore-imf-evas >= 1.7.8 ecore-imf >= 1.7.8 ${requirement_edje}"
293    ],
294    [have_ecore_imf="no"])
295
296 PKG_CHECK_MODULES([EIO],
297    [eio >= 1.7.8],
298    [
299     AC_DEFINE([HAVE_EIO], [1], [Eio is available for monitoring file assynchronously])
300     have_eio="yes"
301     requirement_edje="eio >= 1.7.8 ${requirement_edje}"
302    ],
303    [have_eio="no"])
304
305 # Enable Multisense use
306 want_multisense="no"
307 dnl AC_ARG_ENABLE([multisense],
308 dnl    [AC_HELP_STRING(
309 dnl        [--enable-multisense],
310 dnl        [multisense provides sound. tone and haptic effects support, [[default=disabled]]]
311 dnl     )],
312 dnl     [want_multisense=$enableval]
313 dnl )
314 AM_CONDITIONAL([ENABLE_MULTISENSE], [test "x${want_multisense}" = "xyes"])
315
316 ##sndfile library
317 have_sndfile="no"
318 want_sndfile="auto"
319 AC_ARG_ENABLE([sndfile],
320    [AC_HELP_STRING([--disable-sndfile], [disable sndfile support. @<:@default=detect@:>@])],
321    [want_sndfile=$enableval], [])
322
323 if test "x${want_multisense}" = "xyes" -a  "x$want_sndfile" != "xno"; then
324
325            PKG_CHECK_MODULES([SNDFILE],
326               [sndfile >= 1.0.21],
327               [
328                AC_DEFINE(HAVE_LIBSNDFILE, 1, [sndfile support for Edje])
329                have_sndfile="yes"
330                requirement_edje="sndfile >= 1.0.21 ${requirement_edje}"
331                ],
332               [have_sndfile="no"; want_multisense="no"]
333            )
334
335         if test "x$want_sndfile" = "xyes" -a "x$have_sndfile" = "xno"; then
336             AC_MSG_ERROR([sndfile support requested, but not found by pkg-config.])
337         fi
338 fi
339 AM_CONDITIONAL([HAVE_LIBSNDFILE], [test "x${have_sndfile}" = "xyes"])
340
341 ##libremix library
342 have_libremix="no"
343 want_libremix="auto"
344 AC_ARG_ENABLE([remix],
345    [AC_HELP_STRING([--disable-remix], [disable remix support. @<:@default=detect@:>@])],
346    [want_libremix=$enableval], [])
347
348 if test "x${want_multisense}" = "xyes" -a "x$want_libremix" != "xno"; then
349    PKG_CHECK_MODULES([REMIX],
350       [remix >= 0.2.4],
351       [
352        AC_DEFINE(HAVE_LIBREMIX, 1, [remix support for Edje])
353        have_libremix="yes"
354        requirement_edje="remix >= 0.2.4 ${requirement_edje}"
355        AC_DEFINE(__REMIX_PLUGIN__, 1, "Set to REMIX Plugin type")
356        REMIX_PLUGIN_DIR=`pkg-config --variable=libdir remix`"/remix"
357        AC_SUBST(REMIX_PLUGIN_DIR)
358        AC_DEFINE_UNQUOTED(REMIX_PLUGIN_DIR, "$REMIX_PLUGIN_DIR", [Set the remix plugin directory])
359        ],
360       [have_libremix="no"; want_multisense="no"]
361    )
362
363         if test "x$want_libremix" = "xyes" -a "x$have_libremix" = "xno"; then
364             AC_MSG_ERROR([remix support requested, but not found by pkg-config.])
365         fi
366 fi
367 AM_CONDITIONAL([HAVE_LIBREMIX], [test "x${have_libremix}" = "xyes"])
368
369 ##vorbis/ogg library
370 have_vorbis="no"
371 want_vorbis="auto"
372 AC_ARG_ENABLE([vorbisenc],
373    [AC_HELP_STRING([--disable-vorbis], [disable ogg-vorbis support. @<:@default=detect@:>@])],
374    [want_vorbis=$enableval], [])
375
376 if test "x${want_multisense}" = "xyes" -a "x$want_vorbis" != "xno"; then
377    PKG_CHECK_MODULES([VORBISENC],
378       [
379        ogg >= 1.1.4
380        vorbis >= 1.2.3
381        vorbisenc >= 1.2.3
382       ],
383       [
384        AC_DEFINE(HAVE_VORBIS, 1, [vorbis support for Edje])
385        have_vorbis="yes"
386        requirement_edje="ogg >= 1.1.4 vorbis >= 1.2.3 vorbisenc >= 1.2.3 ${requirement_edje}"
387       ],
388       [have_vorbis="no"; want_multisense="no"]
389    )
390
391         if test "x$want_vorbis" = "xyes" -a "x$have_vorbis" = "xno"; then
392             AC_MSG_ERROR([vorbisenc support requested, but not found by pkg-config.])
393         fi
394 fi
395
396 ##alsa library
397 have_alsa_lib="no"
398 want_alsa_lib="auto"
399 AC_ARG_ENABLE([alsa],
400    [AC_HELP_STRING([--disable-alsa], [disable alsa support. @<:@default=detect@:>@])],
401    [want_alsa_lib=$enableval], [])
402
403 if test "x${want_multisense}" = "xyes" -a "x$want_alsa_lib" != "xno"; then
404    PKG_CHECK_MODULES([ALSA],
405       [
406        alsa >= 1.0.21
407       ],
408       [
409        AC_DEFINE(HAVE_LIBALSA, 1, [ALSA support for Edje])
410        have_alsa_lib="yes"
411        requirement_edje="alsa >= 1.0.21 ${requirement_edje}"
412       ],
413       [have_alsa_lib="no"; want_multisense="no"]
414    )
415
416         if test "x$want_alsa_lib" = "xyes" -a "x$have_alsa_lib" = "xno"; then
417             AC_MSG_ERROR([alsa support requested, but not found by pkg-config.])
418         fi
419 fi
420 AM_CONDITIONAL([HAVE_LIBALSA], [test "x${have_alsa_lib}" = "xyes"])
421
422
423 ##flac library
424 have_flac_lib="no"
425 want_flac_lib="auto"
426 AC_ARG_ENABLE([flac],
427    [AC_HELP_STRING([--disable-flac], [disable flac support. @<:@default=detect@:>@])],
428    [want_flac_lib=$enableval], [])
429
430 if test "x${want_multisense}" = "xyes" -a "x$want_flac_lib" != "xno"; then
431    PKG_CHECK_MODULES([FLAC],
432       [
433        flac >= 1.2.1
434       ],
435       [
436        AC_DEFINE(HAVE_LIBFLAC, 1, [flac support for Edje])
437        have_flac_lib="yes"
438        # disabled because this adds flac include dirs to cflags... and
439        # FLAC has an assert.h in its include dirs that ends up
440        # overriding the system assert.h and thus causes all sorts of
441        # mayhem
442        #requirement_edje="flac >= 1.2.1 ${requirement_edje}"
443       ],
444       [have_flac_lib="no"; want_multisense="no"]
445    )
446         if test "x$want_flac_lib" = "xyes" -a "x$have_flac_lib" = "xno"; then
447             AC_MSG_ERROR([flac support requested, but not found by pkg-config.])
448         fi
449 fi
450
451 if test "x${want_multisense}" = "xyes" ; then
452    AC_DEFINE([ENABLE_MULTISENSE], [1], [Use Multisense])
453 fi
454 AC_SUBST([want_multisense])
455
456 # Dependencies for the binaries
457
458 if test "x${have_edje_cc}" = "xyes" ; then
459    PKG_CHECK_MODULES([EDJE_CC],
460       [ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8])
461    EDJE_CC_LIBS="${EDJE_CC_LIBS} ${LUA_LIBS} ${lua_libs}"
462 fi
463
464 AM_CONDITIONAL([BUILD_EPP], [test "x${have_edje_cc}" = "xyes"])
465
466 if test "x${have_edje_decc}" = "xyes" ; then
467    PKG_CHECK_MODULES([EDJE_DECC],
468       [ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8])
469 fi
470
471 if test "x${have_edje_player}" = "xyes" ; then
472    PKG_CHECK_MODULES([EDJE_PLAYER],
473       [ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8])
474 fi
475
476 if test "x${have_edje_inspector}" = "xyes" ; then
477    PKG_CHECK_MODULES([EDJE_INSPECTOR],
478       [ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8])
479 fi
480
481 if test "x${have_edje_external_inspector}" = "xyes" ; then
482    PKG_CHECK_MODULES([EDJE_EXTERNAL_INSPECTOR],
483       [ecore >= 1.7.8 evas >= 1.7.8 eina >= 1.7.8])
484 fi
485
486 if test "x${have_edje_watch}" = "xyes" ; then
487    PKG_CHECK_MODULES([EDJE_WATCH],
488       [ecore >= 1.7.8 eina >= 1.7.8 eio >= 1.7.8],
489       [have_edje_watch="yes"],
490       [have_edje_watch="no"])
491 fi
492
493 AM_CONDITIONAL([BUILD_EDJE_WATCH], [test "x${have_edje_watch}" = "xyes"])
494
495 ### Checks for header files
496 AC_CHECK_HEADERS([locale.h sys/resource.h])
497
498 EFL_CHECK_PATH_MAX
499
500
501 ### Checks for types
502
503
504 ### Checks for structures
505
506
507 ### Checks for compiler characteristics
508 AM_PROG_CC_C_O
509 AC_C_CONST
510 AC_PROG_CC_STDC
511 AC_HEADER_STDC
512 AC_C___ATTRIBUTE__
513
514 case "$host_os" in
515    mingw32ce*)
516       EDJE_CFLAGS="${EDJE_CFLAGS} -D_WIN32_WCE=0x0420"
517       ;;
518 esac
519
520
521 ### Checks for linker characteristics
522
523 lt_enable_auto_import=""
524 case "$host_os" in
525    mingw*)
526       lt_enable_auto_import="-Wl,--enable-auto-import"
527       ;;
528 esac
529 AC_SUBST(lt_enable_auto_import)
530
531
532 ### Checks for library functions
533
534 AC_ISC_POSIX
535
536 AC_FUNC_ALLOCA
537
538 case "$host_os" in
539    mingw*)
540       AC_DEFINE([HAVE_REALPATH], [1], [Define to 1 if you have the `realpath' function.])
541       ;;
542    *)
543       AC_CHECK_FUNCS([realpath])
544       ;;
545 esac
546
547 ### Unit tests, coverage and benchmarking
548
549 EFL_CHECK_TESTS([enable_tests="yes"], [enable_tests="no"])
550
551 EFL_CHECK_COVERAGE([${enable_tests}], [enable_coverage="yes"], [enable_coverage="no"])
552 EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
553 EDJE_LIBS="${EDJE_LIBS} ${EFL_COVERAGE_LIBS}"
554 if test "x$enable_coverage" = "xyes" ; then
555    EDJE_CFLAGS="${EDJE_CFLAGS} ${EFL_DEBUG_CFLAGS}"
556 fi
557
558 ## Examples
559
560 build_examples="no"
561 AC_ARG_ENABLE([build-examples],
562    AC_HELP_STRING([--enable-build-examples],
563                   [Enable building examples. This requires extra dependencies. 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@:>@]),
564    [
565     if test "x${enableval}" = "xyes" ; then
566        build_examples="yes"
567     else
568        build_examples="no"
569     fi
570    ],
571    [build_examples="no"])
572 AM_CONDITIONAL([BUILD_EXAMPLES], [test "x${build_examples}" = "xyes"])
573
574 AC_SUBST(requirement_edje)
575
576 AC_OUTPUT([
577 edje.pc
578 edje.spec
579 Makefile
580 data/Makefile
581 data/include/Makefile
582 doc/Makefile
583 doc/Doxyfile
584 src/Makefile
585 src/lib/Makefile
586 src/bin/Makefile
587 src/bin/epp/Makefile
588 src/modules/Makefile
589 src/modules/alsa_snd_player/Makefile
590 src/modules/eet_snd_reader/Makefile
591 src/modules/multisense_factory/Makefile
592 src/tests/Makefile
593 utils/Makefile
594 src/examples/Makefile
595 ])
596
597
598 #####################################################################
599 ## Info
600
601 echo
602 echo
603 echo
604 echo "------------------------------------------------------------------------"
605 echo "$PACKAGE $VERSION"
606 echo "------------------------------------------------------------------------"
607 echo
608 echo "Configuration Options Summary:"
609 echo
610 echo "  Amalgamation.........: ${do_amalgamation}"
611 echo "  Ecore IMF............: $have_ecore_imf"
612 dnl echo "  Multisense...........: $want_multisense"
613
614 if test "x${want_multisense}" = "xyes" ; then
615 echo "  LibRemix.............: $have_libremix"
616 echo "  Libsndfile...........: $have_sndfile"
617 echo "  Ogg/Vorbis...........: $have_vorbis"
618 echo "  LibFLAC..............: $have_flac_lib"
619 echo "  LibALSA..............: $have_alsa_lib"
620 fi
621
622 echo "  EDJE_PROGRAM_CACHE...: $want_edje_program_cache"
623 echo "  EDJE_CALC_CACHE......: $want_edje_calc_cache"
624 echo "  Fixed point..........: $want_fixed_point"
625 echo "  Documentation........: ${build_doc}"
626 if test "x${build_doc}" = "xyes" ; then
627 echo "    Installation.......: make install-doc"
628 fi
629 echo "  Tests................: ${enable_tests}"
630 echo "  Coverage.............: ${enable_coverage}"
631 echo "  Examples.............: install:${install_examples} build:${build_examples}"
632 echo
633 echo "Programs:"
634 echo
635 echo "  Build edje_cc................: $have_edje_cc"
636 echo "  Build edje_decc..............: $have_edje_decc"
637 echo "  Build edje_recc..............: $have_edje_recc"
638 echo "  Build edje_player............: $have_edje_player"
639 echo "  Build edje_inspector.........: $have_edje_inspector"
640 echo "  Build edje_external_inspector: $have_edje_external_inspector"
641 echo "  Build edje_watch.............: $have_edje_watch"
642 echo
643 echo "Compilation............: make (or gmake)"
644 echo "  CPPFLAGS.............: $CPPFLAGS"
645 echo "  CFLAGS...............: $CFLAGS"
646 echo "  LDFLAGS..............: $LDFLAGS"
647 echo
648 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
649 echo "  prefix...............: $prefix"
650 echo