1 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3 m4_define([v_maj], [0])
4 m4_define([v_min], [8])
5 m4_define([v_mic], [0])
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 m4_define([relname], [ver-pre-svn-09])
12 m4_define([v_rel], [-release relname])
13 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
14 m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])],
15 [m4_define([v_ver], [v_maj.v_min.v_mic])])
16 m4_define([lt_rev], m4_eval(v_maj + v_min))
17 m4_define([lt_cur], v_mic)
18 m4_define([lt_age], v_min)
19 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
20 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
22 AC_INIT([elementary], [v_ver], [enlightenment-devel@lists.sourceforge.net])
24 AC_CONFIG_SRCDIR([configure.ac])
25 AC_CONFIG_MACRO_DIR([m4])
29 AC_CONFIG_HEADERS([elementary_config.h])
31 #ifndef EFL_CONFIG_H__
32 #define EFL_CONFIG_H__
35 #endif /* EFL_CONFIG_H__ */
38 AM_INIT_AUTOMAKE([1.6 dist-bzip2])
39 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
53 define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
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_rev:lt_cur:lt_age"
67 AC_SUBST(version_info)
68 AC_SUBST(release_info)
69 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
70 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
78 EDJE_VERSION=`$PKG_CONFIG edje --modversion | awk -F . '{printf("%s.0.0", $1);}'`
82 MODULE_ARCH="$host_os-$host_cpu"
83 MODULE_EDJE="$host_os-$host_cpu"
86 MODULE_ARCH="$host_os-$host_cpu-v_maj.v_min.v_mic"
87 MODULE_EDJE="$host_os-$host_cpu-${EDJE_VERSION}"
90 AC_SUBST(release_info)
92 AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
94 AC_DEFINE_UNQUOTED(MODULE_EDJE, "$MODULE_EDJE", "Edje module architecture")
96 EFL_SHARED_EXTENSION="${shrext_cmds}"
97 AC_DEFINE_UNQUOTED(EFL_SHARED_EXTENSION, "${EFL_SHARED_EXTENSION}", "Shared extension")
103 # Check whether pkg-config supports Requires.private
104 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
105 pkgconfig_requires_private="Requires.private"
107 pkgconfig_requires_private="Requires"
109 AC_SUBST(pkgconfig_requires_private)
111 #================================================
112 if test "x${prefix}" = "xNONE"; then
113 LOCALE_DIR="${ac_default_prefix}/share/locale"
115 LOCALE_DIR="${prefix}/share/locale"
118 #================================================
120 lt_enable_auto_import=""
121 ELM_UNIX_DEF="#undef"
122 ELM_WIN32_DEF="#undef"
123 ELM_WINCE_DEF="#undef"
128 PKG_CHECK_MODULES([EVIL], [evil])
129 AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if evil package is installed.])
130 lt_enable_auto_import="-Wl,--enable-auto-import"
131 ELM_WINCE_DEF="#define"
134 AC_DEFINE(HAVE_DLADDR)
137 requirement_elm="evil"
141 PKG_CHECK_MODULES([EVIL], [evil])
142 AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if evil package is installed.])
143 lt_enable_auto_import="-Wl,--enable-auto-import"
144 ELM_WIN32_DEF="#define"
147 AC_DEFINE(HAVE_DLADDR)
150 requirement_elm="evil"
154 ELM_UNIX_DEF="#define"
157 AC_CHECK_LIB([socket], [connect], [], [have_socket="no"])
160 ELM_UNIX_DEF="#define"
163 AC_CHECK_HEADERS([crt_externs.h])
164 AC_DEFINE([environ], [(*_NSGetEnviron())], ["apple doesn't follow POSIX in this case."])
167 ELM_UNIX_DEF="#define"
168 AC_CHECK_FUNCS(dlopen, res=yes, res=no)
169 if test "x$res" = "xyes"; then
170 AC_CHECK_FUNCS(dladdr, AC_DEFINE(HAVE_DLADDR))
173 AC_CHECK_LIB(dl, dlopen, res=yes, res=no)
174 if test "x$res" = "xyes"; then
175 AC_CHECK_LIB(dl, dladdr, AC_DEFINE(HAVE_DLADDR))
183 AM_CONDITIONAL([BUILD_RUN], [test "x$have_socket" = "xyes"])
184 AM_CONDITIONAL([BUILD_MODULES], [test "x$have_dlopen" = "xyes"])
188 EFL_COMPILER_FLAG([-Wshadow])
189 EFL_COMPILER_FLAG([-Wall])
190 EFL_COMPILER_FLAG([-W])
194 want_quicklaunch="auto"
195 AC_ARG_ENABLE([quick-launch],
196 [AC_HELP_STRING([--disable-quick-launch], [disable quick-launch support, @<:@default=detect@:>@])],
197 [want_quicklaunch=$enableval], [])
199 if test "x$want_quicklaunch" != "xno"; then
200 AC_CHECK_FUNCS(fork, [
205 AM_CONDITIONAL([BUILD_QUICKLAUNCH], [test "x$have_fork" = "xyes" && test "x$have_dlopen" = "xyes"])
207 AC_SUBST(dlopen_libs)
208 AC_SUBST(lt_enable_auto_import)
209 AC_SUBST(ELM_UNIX_DEF)
210 AC_SUBST(ELM_WIN32_DEF)
211 AC_SUBST(ELM_WINCE_DEF)
213 AM_CONDITIONAL([ELEMENTARY_WINDOWS_BUILD], [test "x${have_windows}" = "xyes"])
215 PKG_CHECK_MODULES([ELEMENTARY],
221 ecore-evas >= 1.0.999
222 ecore-file >= 1.0.999
227 requirement_elm="edje >= 1.0.0 ecore-file >= 1.0.0 ecore-evas >= 1.0.0 ecore >= 1.0.0 evas >= 1.0.0 eet >= 1.4.0 eina >= 1.0.0 ${requirement_elm}"
229 PKG_CHECK_MODULES([ELEMENTARY_ECORE_IMF],
230 [ecore-imf >= 1.0.999],
232 ELEMENTARY_ECORE_IMF_INC="#include <Ecore_IMF.h>"
233 AC_DEFINE(HAVE_ELEMENTARY_ECORE_IMF, 1, [Have Ecore_IMF support])
235 requirement_elm="ecore-imf >= 1.0.999 ${requirement_elm}"
237 [have_ecore_imf="no"])
238 AC_SUBST(ELEMENTARY_ECORE_IMF_INC)
240 AM_CONDITIONAL([HAVE_ECORE_IMF], [test "x${have_ecore_imf}" = "xyes"])
242 PKG_CHECK_MODULES([ELEMENTARY_ECORE_CON],
243 [ecore-con >= 1.0.999],
245 ELEMENTARY_ECORE_CON_INC="#include <Ecore_Con.h>"
246 AC_DEFINE(HAVE_ELEMENTARY_ECORE_CON, 1, [Have Ecore_Con support])
248 requirement_elm="ecore-con >= 1.0.999 ${requirement_elm}"
250 [have_ecore_con="no"])
251 AC_SUBST(ELEMENTARY_ECORE_CON_INC)
253 AM_CONDITIONAL([HAVE_ECORE_CON], [test "x${have_ecore_con}" = "xyes"])
255 PKG_CHECK_MODULES([EIO],
259 AC_DEFINE(HAVE_EIO, 1, [Use EIO for asynchronous file access])
260 requirement_elm="eio ${requirement_elm}"
264 AM_CONDITIONAL([HAVE_EIO], [test "x${have_eio}" = "xyes"])
267 want_elementary_emotion="yes"
268 AC_ARG_ENABLE([emotion],
269 [AC_HELP_STRING([--disable-emotion], [disable emotion support. @<:@default=enabled@:>@])],
270 [want_elementary_emotion=$enableval], [])
272 if test "x$want_elementary_emotion" != "xno"; then
273 PKG_CHECK_MODULES([EMOTION],
277 AC_DEFINE(HAVE_EMOTION, 1, [Use Emotion for asynchronous file access])
278 requirement_elm="emotion ${requirement_elm}"
283 AM_CONDITIONAL([HAVE_EMOTION], [test "x${have_emotion}" = "xyes"])
285 have_elementary_x="no"
286 want_elementary_x="auto"
287 AC_ARG_ENABLE([ecore-x],
288 [AC_HELP_STRING([--disable-ecore-x], [disable ecore-x support. @<:@default=detect@:>@])],
289 [want_elementary_x=$enableval], [])
291 if test "x$want_elementary_x" != "xno"; then
292 PKG_CHECK_MODULES([ELEMENTARY_X],
295 AC_DEFINE(HAVE_ELEMENTARY_X, 1, [X11 support for Elementary])
296 have_elementary_x="yes"
297 requirement_elm="ecore-x >= 1.0.0 ${requirement_elm}"
299 [have_elementary_x="no"]
302 have_elementary_x="no"
304 if test "x$want_elementary_x" = "xyes" -a "x$have_elementary_x" = "xno"; then
305 AC_MSG_ERROR([ecore-x support requested, but not found by pkg-config.])
309 have_elementary_fb="no"
310 want_elementary_fb="auto"
311 AC_ARG_ENABLE([ecore-fb],
312 [AC_HELP_STRING([--disable-ecore-fb], [disable ecore-fb support. @<:@default=detect@:>@])],
313 [want_elementary_fb=$enableval], [])
315 if test "x$want_elementary_fb" != "xno"; then
316 PKG_CHECK_MODULES([ELEMENTARY_FB],
319 AC_DEFINE(HAVE_ELEMENTARY_FB, 1, [FB support for Elementary])
320 have_elementary_fb="yes"
321 requirement_elm="ecore-fb >= 1.0.0 ${requirement_elm}"
323 [have_elementary_fb="no"]
326 have_elementary_fb="no"
328 if test "x$want_elementary_fb" = "xyes" -a "x$have_elementary_fb" = "xno"; then
329 AC_MSG_ERROR([ecore-fb support requested, but not found by pkg-config.])
332 have_elementary_psl1ght="no"
333 want_elementary_psl1ght="auto"
334 AC_ARG_ENABLE([ecore-psl1ght],
335 [AC_HELP_STRING([--disable-ecore-psl1ght], [disable ecore-psl1ght support. @<:@default=detect@:>@])],
336 [want_elementary_psl1ght=$enableval], [])
338 if test "x$want_elementary_psl1ght" != "xno"; then
339 PKG_CHECK_MODULES([ELEMENTARY_PSL1GHT],
340 [ecore-psl1ght >= 1.0.0],
342 AC_DEFINE(HAVE_ELEMENTARY_PSL1GHT, 1, [PSL1GHT support for Elementary])
343 have_elementary_psl1ght="yes"
344 requirement_elm="ecore-psl1ght >= 1.0.0 ${requirement_elm}"
346 [have_elementary_psl1ght="no"]
349 have_elementary_psl1ght="no"
351 if test "x$want_elementary_psl1ght" = "xyes" -a "x$have_elementary_psl1ght" = "xno"; then
352 AC_MSG_ERROR([ecore-psl1ght support requested, but not found by pkg-config.])
355 have_elementary_sdl="no"
356 want_elementary_sdl="auto"
357 AC_ARG_ENABLE([ecore-sdl],
358 [AC_HELP_STRING([--disable-ecore-sdl], [disable ecore-sdl support. @<:@default=detect@:>@])],
359 [want_elementary_sdl=$enableval], [])
361 if test "x$want_elementary_sdl" != "xno"; then
362 PKG_CHECK_MODULES([ELEMENTARY_SDL],
363 [ecore-sdl >= 1.0.0],
365 AC_DEFINE(HAVE_ELEMENTARY_SDL, 1, [SDL support for Elementary])
366 have_elementary_sdl="yes"
367 requirement_elm="ecore-sdl >= 1.0.0 ${requirement_elm}"
369 [have_elementary_sdl="no"]
372 have_elementary_sdl="no"
374 if test "x$want_elementary_sdl" = "xyes" -a "x$have_elementary_sdl" = "xno"; then
375 AC_MSG_ERROR([ecore-sdl support requested, but not found by pkg-config.])
378 have_elementary_cocoa="no"
379 want_elementary_cocoa="auto"
380 AC_ARG_ENABLE([ecore-cocoa],
381 [AC_HELP_STRING([--disable-ecore-cocoa], [disable ecore-cocoa support. @<:@default=detect@:>@])],
382 [want_elementary_cocoa=$enableval], [])
384 if test "x$want_elementary_cocoa" != "xno"; then
385 PKG_CHECK_MODULES([ELEMENTARY_COCOA],
386 [ecore-cocoa >= 1.0.0],
388 AC_DEFINE(HAVE_ELEMENTARY_COCOA, 1, [COCOA support for Elementary])
389 have_elementary_cocoa="yes"
390 requirement_elm="ecore-cocoa >= 1.0.0 ${requirement_elm}"
392 [have_elementary_cocoa="no"]
395 have_elementary_cocoa="no"
397 if test "x$want_elementary_cocoa" = "xyes" -a "x$have_elementary_cocoa" = "xno"; then
398 AC_MSG_ERROR([ecore-cocoa support requested, but not found by pkg-config.])
401 have_elementary_win32="no"
402 want_elementary_win32="auto"
403 AC_ARG_ENABLE([ecore-win32],
404 [AC_HELP_STRING([--disable-ecore-win32], [disable ecore-win32 support. @<:@default=detect@:>@])],
405 [want_elementary_win32=$enableval], [])
407 if test "x$want_elementary_win32" != "xno"; then
408 PKG_CHECK_MODULES([ELEMENTARY_WIN32],
409 [ecore-win32 >= 1.0.0],
411 AC_DEFINE(HAVE_ELEMENTARY_WIN32, 1, [Windows XP support for Elementary])
412 have_elementary_win32="yes"
413 requirement_elm="ecore-win32 >= 1.0.0 ${requirement_elm}"
415 [have_elementary_win32="no"]
418 have_elementary_win32="no"
420 if test "x$want_elementary_win32" = "xyes" -a "x$have_elementary_win32" = "xno"; then
421 AC_MSG_ERROR([ecore-win32 support requested, but not found by pkg-config.])
424 have_elementary_wince="no"
425 want_elementary_wince="auto"
426 AC_ARG_ENABLE([ecore-wince],
427 [AC_HELP_STRING([--disable-ecore-wince], [disable ecore-wince support. @<:@default=detect@:>@])],
428 [want_elementary_wince=$enableval], [])
430 if test "x$want_elementary_wince" != "xno"; then
431 PKG_CHECK_MODULES([ELEMENTARY_WINCE],
432 [ecore-wince >= 1.0.0],
434 AC_DEFINE(HAVE_ELEMENTARY_WINCE, 1, [Windows CE support for Elementary])
435 have_elementary_wince="yes"
436 requirement_elm="ecore-wince >= 1.0.0 ${requirement_elm}"
438 [have_elementary_wince="no"]
441 have_elementary_wince="no"
443 if test "x$want_elementary_wince" = "xyes" -a "x$have_elementary_wince" = "xno"; then
444 AC_MSG_ERROR([ecore-wince support requested, but not found by pkg-config.])
447 ELM_EDBUS_DEF="#undef"
448 have_elementary_edbus="no"
449 want_elementary_edbus="auto"
450 AC_ARG_ENABLE([edbus],
451 [AC_HELP_STRING([--disable-edbus], [disable edbus support. @<:@default=detect@:>@])],
452 [want_elementary_edbus=$enableval], [])
454 if test "x$want_elementary_edbus" != "xno"; then
455 PKG_CHECK_MODULES([ELEMENTARY_EDBUS],
460 AC_DEFINE(HAVE_ELEMENTARY_EDBUS, 1, [EDBus support for Elementary])
461 have_elementary_edbus="yes"
462 ELM_EDBUS_DEF="#define"
463 requirement_elm="edbus >= 1.0.0 ${requirement_elm}"
465 [have_elementary_edbus="no"]
468 have_elementary_edbus="no"
470 if test "x$want_elementary_edbus" = "xyes" -a "x$have_elementary_edbus" = "xno"; then
471 AC_MSG_ERROR([E_DBus support requested, but no e_dbus found by pkg-config.])
473 AC_SUBST(ELM_EDBUS_DEF)
475 ELM_EFREET_DEF="#undef"
476 have_elementary_efreet="no"
477 want_elementary_efreet="auto"
478 AC_ARG_ENABLE([efreet],
479 [AC_HELP_STRING([--disable-efreet], [disable efreet support. @<:@default=detect@:>@])],
480 [want_elementary_efreet=$enableval], [])
482 if test "x$want_elementary_efreet" != "xno"; then
483 PKG_CHECK_MODULES([ELEMENTARY_EFREET],
487 efreet-trash >= 1.0.0
490 AC_DEFINE(HAVE_ELEMENTARY_EFREET, 1, [Efreet support for Elementary])
491 have_elementary_efreet="yes"
492 ELM_EFREET_DEF="#define"
493 requirement_elm="efreet >= 1.0.0 efreet-mime >= 1.0.0 efreet-trash >= 1.0.0 ${requirement_elm}"
495 [have_elementary_efreet="no"]
498 have_elementary_efreet="no"
500 if test "x$want_elementary_efreet" = "xyes" -a "x$have_elementary_efreet" = "xno"; then
501 AC_MSG_ERROR([Efreet support requested, but no efreet/efreet-mime/efreet-trash found by pkg-config.])
503 AC_SUBST(ELM_EFREET_DEF)
505 ELM_EWEATHER_DEF="#undef"
506 have_elementary_eweather="no"
507 want_elementary_eweather="auto"
508 AC_ARG_ENABLE([eweather],
509 [AC_HELP_STRING([--disable-eweather], [disable eweather support. @<:@default=detect@:>@])],
510 [want_elementary_eweather=$enableval], [])
512 if test "x$want_elementary_eweather" != "xno"; then
513 PKG_CHECK_MODULES([ELEMENTARY_EWEATHER],
518 AC_DEFINE(HAVE_ELEMENTARY_EWEATHER, 1, [EWeather support for Elementary])
519 have_elementary_eweather="yes"
520 ELM_EWEATHER_DEF="#define"
521 requirement_elm="eweather ${requirement_elm}"
523 [have_elementary_eweather="no"]
526 have_elementary_eweather="no"
528 if test "x$want_elementary_eweather" = "xyes" -a "x$have_elementary_eweather" = "xno"; then
529 AC_MSG_ERROR([Eweather support requested, but no eweather found by pkg-config.])
531 AC_SUBST(ELM_EWEATHER_DEF)
533 ELM_EMAP_DEF="#undef"
534 have_elementary_emap="no"
535 want_elementary_emap="auto"
536 AC_ARG_ENABLE([emap],
537 [AC_HELP_STRING([--disable-emap], [disable emap support. @<:@default=detect@:>@])],
538 [want_elementary_emap=$enableval], [])
540 if test "x$want_elementary_emap" != "xno"; then
541 PKG_CHECK_MODULES([ELEMENTARY_EMAP],
546 AC_DEFINE(HAVE_ELEMENTARY_EMAP, 1, [EMap support for Elementary])
547 have_elementary_emap="yes"
548 ELM_EMAP_DEF="#define"
549 requirement_elm="emap ${requirement_elm}"
551 [have_elementary_emap="no"]
554 have_elementary_emap="no"
556 if test "x$want_elementary_emap" = "xyes" -a "x$have_elementary_emap" = "xno"; then
557 AC_MSG_ERROR([Emap support requested, but no emap found by pkg-config.])
559 AC_SUBST(ELM_EMAP_DEF)
563 ELM_ETHUMB_DEF="#undef"
564 have_elementary_ethumb="no"
565 want_elementary_ethumb="auto"
566 AC_ARG_ENABLE([ethumb],
567 [AC_HELP_STRING([--disable-ethumb], [disable ethumb support. @<:@default=detect@:>@])],
568 [want_elementary_ethumb=$enableval], [])
570 if test "x$want_elementary_ethumb" != "xno"; then
571 PKG_CHECK_MODULES([ELEMENTARY_ETHUMB],
576 AC_DEFINE(HAVE_ELEMENTARY_ETHUMB, 1, [Ethumb support for Elementary])
577 have_elementary_ethumb="yes"
578 ELM_ETHUMB_DEF="#define"
579 requirement_elm="ethumb_client ${requirement_elm}"
581 [have_elementary_ethumb="no"]
584 have_elementary_ethumb="no"
586 if test "x$want_elementary_ethumb" = "xyes" -a "x$have_elementary_ethumb" = "xno"; then
587 AC_MSG_ERROR([Ethumb support requested, but no ethumb found by pkg-config.])
589 AC_SUBST(ELM_ETHUMB_DEF)
592 have_elementary_web="no"
593 want_elementary_web="auto"
595 [AC_HELP_STRING([--disable-web], [disable web (WebKit) support. @<:@default=detect@:>@])],
596 [want_elementary_web=$enableval], [])
598 if test "x$want_elementary_web" != "xno"; then
599 PKG_CHECK_MODULES([ELEMENTARY_WEB],
604 AC_DEFINE(HAVE_ELEMENTARY_WEB, 1, [Web support for Elementary])
605 webkit_datadir=$($PKG_CONFIG ewebkit --variable=datadir)
606 AC_DEFINE_UNQUOTED(WEBKIT_DATADIR,
609 have_elementary_web="yes"
610 ELM_WEB_DEF="#define"
611 ## web_client? how about ewebkit? at least in current upstreak webkit
612 ## there is no web_client.pc
613 # requirement_elm="web_client ${requirement_elm}"
614 requirement_elm="ewebkit ${requirement_elm}"
616 [have_elementary_web="no"]
619 have_elementary_web="no"
621 if test "x$want_elementary_web" = "xyes" -a "x$have_elementary_web" = "xno"; then
622 AC_MSG_ERROR([Web support requested, but no ewebkit found by pkg-config.])
624 AC_SUBST(ELM_WEB_DEF)
626 ELM_DEBUG_DEF="#undef"
627 want_elementary_debug="no"
628 AC_ARG_ENABLE([debug],
629 [AC_HELP_STRING([--enable-debug], [enable elementary debug support. @<:@default=disabled@:>@])],
630 [want_elementary_debug=$enableval], [])
632 if test "x$want_elementary_debug" = "xyes"; then
633 AC_DEFINE(HAVE_ELEMENTARY_DEBUG, 1, [Elementary debug.])
634 ELM_DEBUG_DEF="#define"
636 AC_SUBST(ELM_DEBUG_DEF)
638 ELM_ALLOCA_H_DEF="#undef"
639 AC_CHECK_HEADER(alloca.h, [ELM_ALLOCA_H_DEF="#define"])
640 AC_SUBST(ELM_ALLOCA_H_DEF)
642 ELM_LIBINTL_H_DEF="#undef"
643 AC_CHECK_HEADER(libintl.h, [ELM_LIBINTL_H_DEF="#define"])
644 AC_SUBST(ELM_LIBINTL_H_DEF)
646 ELM_DIRENT_H_DEF="#undef"
647 AC_CHECK_HEADER(dirent.h, [ELM_DIRENT_H_DEF="#define"])
648 AC_SUBST(ELM_DIRENT_H_DEF)
650 AC_CHECK_HEADER(sys/mman.h, [have_mman="yes"], [have_mman="no"])
651 if test "x${have_mman}" = "xyes"; then
652 AC_DEFINE(HAVE_MMAN_H, 1, [Have sys/mman.h header file])
657 AC_SUBST(requirement_elm)
659 EFL_WITH_BIN([eet], [eet-eet], [eet])
660 EFL_WITH_BIN([edje], [edje-cc], [edje_cc])
662 EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
664 EFL_ENABLE_BIN([elementary-test])
665 EFL_ENABLE_BIN([elementary-config])
667 m4_ifdef([AM_GNU_GETTEXT_VERSION], [
668 AM_GNU_GETTEXT_VERSION([0.17])
671 m4_ifdef([AM_GNU_GETTEXT], [
672 AM_GNU_GETTEXT([external])
673 po_makefile_in=po/Makefile.in
680 if test "x${POSUB}" = "x" ; then
684 AM_CONDITIONAL([HAVE_PO], [test "x${have_po}" = "xyes"])
688 elementary_base_dir=".elementary"
689 AC_ARG_WITH([elementary-base-dir],
690 [AC_HELP_STRING([--with-elementary-base-dir=PATH], [specify the subdirectory for all elementary data @<:@default=${elementary_base_dir}@:>@])],
691 [elementary_base_dir=${withval}],
692 [elementary_base_dir=".elementary"])
694 AC_MSG_NOTICE([ELEMENTARY_BASE_DIR set to ${elementary_base_dir}])
695 AC_DEFINE_UNQUOTED(ELEMENTARY_BASE_DIR, "${elementary_base_dir}", "subdirectory for all elementary data")
697 ### Build and install examples
698 EFL_CHECK_BUILD_EXAMPLES([enable_build_examples="yes"], [enable_build_examples="no"])
699 EFL_CHECK_INSTALL_EXAMPLES([enable_install_examples="yes"], [enable_install_examples="no"])
714 src/modules/access_output/Makefile
715 src/modules/datetime_input_ctxpopup/Makefile
716 src/modules/test_entry/Makefile
717 src/modules/test_map/Makefile
718 src/edje_externals/Makefile
719 src/examples/Makefile
723 data/objects/Makefile
724 data/desktop/Makefile
725 data/edje_externals/Makefile
727 config/default/Makefile
728 config/standard/Makefile
729 config/illume/Makefile
733 #####################################################################
739 echo "------------------------------------------------------------------------"
740 echo "$PACKAGE $VERSION"
741 echo "------------------------------------------------------------------------"
743 echo "Configuration Options Summary:"
746 echo " X11....................: ${have_elementary_x}"
747 echo " Framebuffer............: ${have_elementary_fb}"
748 echo " PSL1GHT................: ${have_elementary_psl1ght}"
749 echo " SDL....................: ${have_elementary_sdl}"
750 echo " Cocoa..................: ${have_elementary_cocoa}"
751 echo " Windows XP.............: ${have_elementary_win32}"
752 echo " Windows CE.............: ${have_elementary_wince}"
755 echo " Ecore_IMF..............: ${have_ecore_imf}"
756 echo " Ecore_Con..............: ${have_ecore_con}"
757 echo " EDBus..................: ${have_elementary_edbus}"
758 echo " EFreet.................: ${have_elementary_efreet}"
759 echo " EWeather...............: ${have_elementary_eweather}"
760 echo " EMap...................: ${have_elementary_emap}"
761 echo " Ethumb.................: ${have_elementary_ethumb}"
762 echo " Web (WebKit)...........: ${have_elementary_web}"
763 echo " Quick Launch...........: ${have_fork}"
764 echo " EIO....................: ${have_eio}"
765 echo " Emotion................: ${have_emotion}"
767 echo " eet......................: ${eet_eet}"
768 echo " edje_cc..................: ${edje_cc}"
770 echo " Build elementary_test....: ${have_elementary_test}"
771 echo " Examples.................: ${enable_build_examples}"
772 echo " Examples installed.......: ${enable_install_examples}"
773 echo " Build elementary_config..: ${have_elementary_config}"
775 echo "Compilation................: make (or gmake)"
776 echo " CPPFLAGS.................: $CPPFLAGS"
777 echo " CFLAGS...................: $CFLAGS"
778 echo " LDFLAGS..................: $LDFLAGS"
780 echo "Installation...............: make install (as root if needed, with 'su' or 'sudo')"
781 echo " prefix...................: $prefix"