summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-11-07 11:30:19 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-11-20 07:05:36 -0500
commitbd8828204779509a2f47fffc4031abcab2b34d79 (patch)
treebc7daa095060a3d9dbedbe610e0a281183a6f7b0 /configure.ac
parent3ab6bf7eb5ca340df10fa6358c11bdc832752df0 (diff)
remove autotools
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1138
1 files changed, 0 insertions, 1138 deletions
diff --git a/configure.ac b/configure.ac
deleted file mode 100644
index 486d693..0000000
--- a/configure.ac
+++ /dev/null
@@ -1,1138 +0,0 @@
1##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3m4_define([v_maj], [0])
4m4_define([v_min], [22])
5m4_define([v_mic], [99])
6m4_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
8dnl m4_undefine([v_rev])
9m4_define([relname], [0.23.0])
10##-- When doing snapshots - change soname. remove dnl on below line
11m4_define([relname], [ver-0.23])
12dnl m4_define([v_rel], [-release relname])
13##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
14m4_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])])
15m4_define([lt_cur], m4_eval(v_maj + v_min))
16m4_define([lt_rev], v_mic)
17m4_define([lt_age], v_min)
18##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
19##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
20
21AC_INIT([enlightenment], [v_ver], [enlightenment-devel@lists.sourceforge.net])
22AC_PREREQ([2.52])
23AC_CONFIG_SRCDIR([configure.ac])
24AC_CONFIG_MACRO_DIR([m4])
25AC_CANONICAL_BUILD
26AC_CANONICAL_HOST
27
28AC_CONFIG_HEADERS([config.h])
29AH_TOP([
30#ifndef EFL_CONFIG_H__
31#define EFL_CONFIG_H__
32])
33AH_BOTTOM([
34#endif /* EFL_CONFIG_H__ */
35])
36
37AM_INIT_AUTOMAKE([1.11 dist-xz -Wno-portability tar-ustar])
38AM_SILENT_RULES([yes])
39
40AC_USE_SYSTEM_EXTENSIONS
41AC_PROG_MKDIR_P
42AC_C_BIGENDIAN
43AC_PROG_CC_C99
44AM_PROG_CC_C_O
45AC_FUNC_ALLOCA
46
47LT_INIT([disable-static])
48
49##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
50##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
51m4_ifdef([v_rev], , [m4_define([v_rev], [0])])
52m4_ifdef([v_rel], , [m4_define([v_rel], [])])
53AC_DEFINE_UNQUOTED(VMAJ, [v_maj], [Major version])
54AC_DEFINE_UNQUOTED(VMIN, [v_min], [Minor version])
55AC_DEFINE_UNQUOTED(VMIC, [v_mic], [Micro version])
56AC_DEFINE_UNQUOTED(VREV, [v_rev], [Revison])
57##AC_DEFINE_UNQUOTED(E_RELEASE_BUILD, [1], [doin it])
58version_info="lt_cur:lt_rev:lt_age"
59release_info="v_rel"
60AC_SUBST([version_info])
61AC_SUBST([release_info])
62##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
63##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
64
65release=relname
66AC_SUBST([release])
67
68PKG_PROG_PKG_CONFIG
69
70EFL_CHECK_PATH_MAX
71
72AC_CHECK_FUNCS(setenv)
73AC_CHECK_FUNCS(unsetenv)
74AC_CHECK_FUNCS(clearenv)
75AC_CHECK_HEADERS(features.h)
76
77case "$host_os" in
78 darwin*)
79 AC_DEFINE([environ], [(*_NSGetEnviron())],
80 ["apple doesn't follow POSIX in this case."])
81 ;;
82 *)
83 ;;
84esac
85AC_TRY_COMPILE([
86#define _GNU_SOURCE 1
87#include <unistd.h>
88 ],[
89extern char **environ;
90 ],[
91AC_DEFINE(HAVE_ENVIRON, 1, [Have environ var])
92 ])
93
94efl_version="1.20.5"
95AC_SUBST(efl_version)
96
97#We use ecore_drm2 beta API
98efl_ecore_drm2_version="1.20.5"
99AC_SUBST(efl_ecore_drm2_version)
100
101AC_CHECK_HEADERS([sys/timerfd.h sys/ptrace.h arpa/inet.h netinet/in.h])
102
103dnl AC_CHECK_HEADERS(X11/extensions/shape.h,, AC_MSG_ERROR([Cannot find X11/extensions/shape.h. Make sure your CFLAGS environment variable contains include lines for the location of this file]))
104
105AC_CHECK_HEADERS(fnmatch.h,, AC_MSG_ERROR([Cannot find fnmatch.h. Make sure your CFLAGS environment variable contains include lines for the location of this file]))
106
107AC_CHECK_FUNCS(fnmatch, res=yes, res=no)
108if test "x$res" = "xno"; then
109 AC_CHECK_LIB(fnmatch, fnmatch, res=yes, res=no)
110 if test "x$res" = "xno"; then
111 AC_MSG_ERROR([Cannot find fnmatch() in neither libc nor libfnmatch])
112 else
113 fnmatch_libs="-lfnmatch"
114 fi
115fi
116
117AC_SUBST([fnmatch_libs])
118
119have_pam=no
120AC_ARG_ENABLE(pam,
121 AS_HELP_STRING([--enable-pam], [enable PAM support @<:@default=detect@:>@]),
122 [want_pam=$enableval],
123 [want_pam=auto]
124)
125if test "x$want_pam" != "xno" ; then
126 AC_CHECK_HEADERS(security/pam_appl.h, [
127 LIBS="$LIBS -lpam"
128 have_pam=yes
129 AC_DEFINE(HAVE_PAM, 1, [PAM Authentication Support])])
130 if test "x$want_pam$have_pam" = "xyesno" ; then
131 AC_MSG_ERROR([PAM support was requested but not found])
132 fi
133fi
134
135dnl AC_E_CHECK_PKG(VALGRIND, [valgrind >= 2.4.0], [], [:])
136AC_SUBST([VALGRIND_CFLAGS])
137AC_SUBST([VALGRIND_LIBS])
138
139MODULE_ARCH="$host_os-$host_cpu-relname"
140AC_SUBST([MODULE_ARCH])
141AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
142
143if test "x${bindir}" = 'xNONE'; then
144 if test "x${prefix}" = "xNONE"; then
145 PACKAGE_BIN_DIR="${ac_default_prefix}/bin"
146 else
147 PACKAGE_BIN_DIR="${prefix}/bin"
148 fi
149else
150 PACKAGE_BIN_DIR="${bindir}"
151fi
152AC_SUBST([PACKAGE_BIN_DIR])
153
154if test "x${libdir}" = 'xNONE'; then
155 if test "x${prefix}" = "xNONE"; then
156 PACKAGE_LIB_DIR="${ac_default_prefix}/lib"
157 else
158 PACKAGE_LIB_DIR="${prefix}/lib"
159 fi
160else
161 PACKAGE_LIB_DIR="${libdir}"
162fi
163AC_SUBST([PACKAGE_LIB_DIR])
164
165if test "x${prefix}" = "xNONE"; then
166 PACKAGE_DATA_DIR="${ac_default_prefix}/share/${PACKAGE}"
167 LOCALE_DIR="${ac_default_prefix}/share/locale"
168 PACKAGE_SYSCONF_DIR="${ac_default_prefix}/etc"
169else
170 PACKAGE_DATA_DIR="${prefix}/share/${PACKAGE}"
171 LOCALE_DIR="${prefix}/share/locale"
172 PACKAGE_SYSCONF_DIR="${sysconfdir}"
173fi
174AC_SUBST([PACKAGE_DATA_DIR])
175AC_SUBST([LOCALE_DIR])
176AC_SUBST([PACKAGE_SYSCONF_DIR])
177
178#######################################
179## Simple X11 build/link
180
181##AC_ARG_ENABLE(simple-x11,
182## AS_HELP_STRING([--enable-simple-x11], [enable simple x11 linking]),
183## [ want_evas_simple_x11=$enableval ]
184##)
185
186dnl x_dir=""
187dnl x_cflags=""
188dnl x_libs=""
189dnl AC_PATH_XTRA
190dnl AC_CHECK_HEADER(X11/X.h,
191dnl [
192dnl if test "x$want_evas_simple_x11" = "xyes"; then
193dnl x_libs="${x_libs} -lX11 -lXext"
194dnl else
195dnl x_dir=${x_dir:-/usr/X11R6}
196dnl x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
197dnl x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
198dnl fi
199dnl ],[
200dnl AC_MSG_ERROR([Cannot find X headers and libraries.])
201dnl ]
202dnl )
203dnl AC_SUBST([x_cflags])
204dnl AC_SUBST([x_libs])
205
206cf_cflags=""
207cf_libs=""
208PCPPFLAGS="${CPPFLAGS}"
209CPPFLAGS="${CPPFLAGS} -I /System/Library/Frameworks/CoreFoundation.framework/Headers"
210AC_CHECK_HEADERS(CFBase.h,
211 [
212 cf_cflags="-I /System/Library/Frameworks/CoreFoundation.framework/Headers"
213 cf_cflags="${cf_cflags} -I /System/Library/Frameworks/IOKit.framework/Headers"
214 cf_libs="-framework 'CoreFoundation' -framework 'IOKit'"
215 ]
216)
217CPPFLAGS="${PCPPFLAGS}"
218AC_SUBST([cf_cflags])
219AC_SUBST([cf_libs])
220
221PKG_CHECK_MODULES([BLUEZ], [bluez],
222 [have_bluetooth="yes"],
223 [have_bluetooth="no"])
224AM_CONDITIONAL([HAVE_BLUETOOTH], [test "x${have_bluetooth}"])
225if test "x${have_bluetooth}" = "xyes"; then
226 AC_DEFINE_UNQUOTED([HAVE_BLUETOOTH], [1], [Bluetooth is there])
227fi
228
229AC_ARG_ENABLE([systemd],
230 AC_HELP_STRING([--disable-systemd], [disable systemd support @<:@default=detect@:>@]),
231 [want_systemd=${enableval}], [want_systemd=auto])
232
233AC_ARG_WITH([systemdunitdir],
234 AC_HELP_STRING([--with-systemdunitdir=DIR],
235 [path to systemd user services directory]),
236 [USER_SESSION_DIR=${withval}])
237
238if test "$want_systemd" == "no"; then
239 have_systemd_user_session="no"
240elif test -n "${USER_SESSION_DIR}"; then
241 have_systemd_user_session="yes"
242 AC_MSG_NOTICE([Using systemd user services directory as ${USER_SESSION_DIR}])
243else
244 # Detect systemd user session directory properly
245 EFL_PKG_CHECK_VAR([USER_SESSION_DIR], [systemd >= 192], [systemduserunitdir],
246 [have_systemd_user_session="yes"], [have_systemd_user_session="no"])
247
248 if test "$want_systemd" = "yes" -a "$have_systemd_user_session" = "no"; then
249 AC_MSG_ERROR([systemd support wanted, but systemd was not found.])
250 fi
251fi
252
253AM_CONDITIONAL([HAVE_SYSTEMD_USER_SESSION], [test "x${have_systemd_user_session}" = "xyes"])
254AC_SUBST([USER_SESSION_DIR])
255
256execinfo_libs=""
257AC_CHECK_HEADERS([execinfo.h], [have_execinfo="yes"], [have_execinfo="no"])
258if test "x${have_execinfo}" = "xyes" ; then
259 AC_MSG_CHECKING([whether backtrace_symbols_fd() is in libc])
260
261 AC_LINK_IFELSE(
262 [AC_LANG_PROGRAM(
263 [[
264#include <stdlib.h>
265#include <execinfo.h>
266 ]],
267 [[
268backtrace_symbols_fd(NULL, 0, 0);
269 ]])],
270 [link_execinfo="yes"],
271 [link_execinfo="no"])
272
273 AC_MSG_RESULT([${link_execinfo}])
274fi
275
276if test "x${link_execinfo}" = "xno" ; then
277 AC_MSG_CHECKING([whether backtrace_symbols_fd() is in libexecinfo])
278
279 LDFLAGS_save="${LDFLAGS}"
280 LDFLAGS="${LDFLAGS} -lexecinfo"
281 AC_LINK_IFELSE(
282 [AC_LANG_PROGRAM(
283 [[
284#include <stdlib.h>
285#include <execinfo.h>
286 ]],
287 [[
288backtrace_symbols_fd(NULL, 0, 0);
289 ]])],
290 [
291 link_execinfo="yes"
292 execinfo_libs="-lexecinfo"
293 ],
294 [link_execinfo="no"])
295 LDFLAGS="${LDFLAGS_save}"
296
297 AC_MSG_RESULT([${link_execinfo}])
298fi
299
300dnl if test "x${link_execinfo}" = "xno" ; then
301dnl AC_MSG_ERROR([Cannot use backtrace_symbols_fd()])
302dnl fi
303
304
305#ALL_LINGUAS="bg de eo es fi fr ja pl pt ru zh_CN hu sl it cs da sk sv nb nl zh_TW ko"
306#ALL_LINGUAS="bg de eo es fi fr ja pt ru zh_CN hu sl it cs da sk sv nb nl zh_TW"
307# a lot of .po's are broken
308ALL_LINGUAS="bg ca cs da de el eo es fi fr fr_CH he hu it ja ko nb nl pl pt_BR ru sk sl sv tr zh_CN zh_TW"
309AC_SUBST([ALL_LINGUAS])
310
311m4_ifdef([AM_GNU_GETTEXT_VERSION], [
312AM_GNU_GETTEXT_VERSION([0.18])
313])
314
315m4_ifdef([AC_GNU_GETTEXT], [
316AC_GNU_GETTEXT([external], [need-ngettext])
317po_makefile_in=po/Makefile.in
318have_po="yes"
319],[
320m4_ifdef([AM_GNU_GETTEXT], [
321AM_GNU_GETTEXT([external], [need-ngettext])
322po_makefile_in=po/Makefile.in
323have_po="yes"
324],[
325have_po="no"
326])
327])
328AC_SUBST([LTLIBINTL])
329if test "x$LIBINTL" = "x"; then
330 LIBINTL="$INTLLIBS"
331fi
332
333if test "x${POSUB}" = "x" ; then
334 have_po="no"
335fi
336
337AM_CONDITIONAL([HAVE_PO], [test "x${have_po}" = "xyes"])
338
339AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
340AC_SUBST([dlopen_libs])
341
342AC_MSG_CHECKING([whether to install sysactions.conf])
343AC_ARG_ENABLE([install-sysactions],
344 AS_HELP_STRING([--disable-install-sysactions],[disable installing /etc/enlightenment/sysactions.conf @<:@default=enabled@:>@]),
345 [e_cv_enable_install_sysactions=$enableval],
346 AC_CACHE_VAL([e_cv_enable_install_sysactions], [e_cv_enable_install_sysactions=yes]))
347AC_MSG_RESULT([$e_cv_enable_install_sysactions])
348AM_CONDITIONAL(INSTALL_SYSACTIONS, test x${e_cv_enable_install_sysactions} = xyes)
349
350AC_MSG_CHECKING([whether to install enlightenment.menu])
351AC_ARG_ENABLE([install-enlightenment-menu],
352 AS_HELP_STRING([--disable-install-enlightenment-menu],[disable installing /etc/xdg/menus/e-applications.menu @<:@default=enabled@:>@]),
353 [e_cv_enable_install_enlightenment_menu=$enableval],
354 AC_CACHE_VAL([e_cv_enable_install_enlightenment_menu], [e_cv_enable_install_enlightenment_menu=yes]))
355AC_MSG_RESULT([$e_cv_enable_install_enlightenment_menu])
356AM_CONDITIONAL(INSTALL_ENLIGHTENMENT_MENU, test x${e_cv_enable_install_enlightenment_menu} = xyes)
357
358AC_MSG_CHECKING([whether to enable Files menu item])
359AC_ARG_ENABLE([files],
360 AS_HELP_STRING([--disable-files],[disable Files menu item @<:@default=enabled@:>@]),
361 [e_cv_enable_files=$enableval],
362 AC_CACHE_VAL([e_cv_enable_files], [e_cv_enable_files=yes]))
363if test "[${e_cv_enable_files}]" = yes; then
364 AC_DEFINE_UNQUOTED([ENABLE_FILES],[1],[enable Files menu item])
365fi
366AC_MSG_RESULT([$e_cv_enable_files])
367
368AC_ARG_ENABLE([device-udev],
369 AS_HELP_STRING([--enable-device-udev],[enable udev device backend @<:@default=enabled@:>@]),
370 [e_cv_want_device_udev=$enableval],
371 [e_cv_want_device_udev=yes])
372
373AC_MSG_CHECKING([whether the UDEV device backend is enabled])
374AC_MSG_RESULT([${e_cv_want_device_udev}])
375
376device_backend=
377device_libs=
378
379if test "x$e_cv_want_device_udev" != "xno";then
380 PKG_CHECK_MODULES([EEZE], [eeze >= ${efl_version} ecore >= ${efl_version} eina >= ${efl_version}],
381 [
382 device_backend=eeze
383 device_libs=eeze
384 AC_DEFINE_UNQUOTED([HAVE_EEZE],[1],[enable udev support])
385 ])
386fi
387
388AC_MSG_CHECKING([which device backend to use])
389AC_MSG_RESULT($device_backend)
390
391AM_CONDITIONAL([HAVE_EEZE], [test "x${device_backend}" = "xeeze"])
392
393DBUS_MOUNT_CONFIG=1
394dbus_mount="dbus-1"
395
396AC_ARG_ENABLE([mount-udisks],
397 AS_HELP_STRING([--enable-mount-udisks],[enable udisks mounting support @<:@default=enabled@:>@]),
398 [e_cv_want_mount_udisks=$enableval],
399 [e_cv_want_mount_udisks=yes])
400
401AC_MSG_CHECKING([whether the UDISKS mounting support is enabled])
402AC_MSG_RESULT([${e_cv_want_mount_udisks}])
403
404
405if test "x${e_cv_want_mount_udisks}" = "xno" ; then
406 DBUS_MOUNT_CONFIG=0
407 dbus_mount=
408fi
409
410AC_ARG_ENABLE([mount-eeze],
411 AS_HELP_STRING([--enable-mount-eeze],[enable eeze mounting support @<:@default=disabled@:>@]),
412 [e_cv_want_mount_eeze=$enableval],
413 [e_cv_want_mount_eeze=no])
414
415AC_MSG_CHECKING([whether the Eeze mounting support is enabled])
416AC_MSG_RESULT([${e_cv_want_mount_eeze}])
417
418eeze_mount=
419EEZE_MOUNT_CONFIG=0
420if test "x$e_cv_want_mount_eeze" != "xno" && test -z "$dbus_mount" ; then
421 CPPFLAGS_save="$CPPFLAGS"
422 LIBS_save="$LIBS"
423 CPPFLAGS="$EEZE_CFLAGS $CPPFLAGS"
424 LIBS="$EEZE_LIBS $LIBS"
425 AC_CHECK_LIB([eeze], [eeze_disk_function],
426 [
427 eeze_mount="eeze >= $efl_version ecore-con >= $efl_version"
428 EEZE_MOUNT_CONFIG=1
429 AC_DEFINE_UNQUOTED([HAVE_EEZE_MOUNT], [1], [enable eeze mounting])
430 AC_MSG_NOTICE([eeze mounting enabled])
431 ],
432 [
433 AC_MSG_NOTICE([eeze mounting disabled])
434 e_cv_want_mount_eeze=no
435 ]
436 )
437 CPPFLAGS="$CPPFLAGS_save"
438 LIBS="$LIBS_save"
439else
440 AC_MSG_NOTICE([eeze mounting disabled])
441fi
442
443AC_SUBST([EEZE_MOUNT_CONFIG])
444AC_SUBST([DBUS_MOUNT_CONFIG])
445AM_CONDITIONAL([HAVE_EEZE_MOUNT], [false])
446test -n "$dbus_mount" && AC_DEFINE_UNQUOTED([HAVE_UDISKS_MOUNT], [1], [enable Udisks mounting])
447AM_CONDITIONAL([HAVE_UDISKS_MOUNT], [test -n "$dbus_mount"])
448AM_CONDITIONAL([HAVE_EEZE_MOUNT], [test -n "$eeze_mount"])
449
450# verify "wayland-only" early to adapt dependencies
451
452have_wayland_only=no
453AC_ARG_ENABLE([wayland],
454 AS_HELP_STRING([--enable-wayland],[enable wayland support in enlightenment @<:@default=disabled@:>@]),
455 [e_cv_want_wayland_only=$enableval],
456 [e_cv_want_wayland_only=no])
457AC_MSG_CHECKING([whether wayland support is enabled])
458AC_MSG_RESULT([${e_cv_want_wayland_only}])
459
460# doxygen program for documentation building
461
462EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
463
464# explicit libs for each binary to reduce linkage requirements
465PKG_CHECK_MODULES(E_REMOTE, [
466 ecore >= ${efl_version}
467 ecore-ipc >= ${efl_version}
468 eet >= ${efl_version}
469 eina >= ${efl_version}
470])
471
472PKG_CHECK_MODULES(E_START, [
473 eina >= ${efl_version}
474])
475
476PKG_CHECK_MODULES(E_IMC, [
477 ecore-file >= ${efl_version}
478 eet >= ${efl_version}
479 eina >= ${efl_version}
480])
481
482PKG_CHECK_MODULES(E_ASKPASS, [
483 elementary >= ${efl_version}
484])
485
486PKG_CHECK_MODULES(E_THUMB, [
487 eina >= ${efl_version}
488 evas >= ${efl_version}
489 ecore >= ${efl_version}
490 ecore-evas >= ${efl_version}
491 edje >= ${efl_version}
492 ecore-file >= ${efl_version}
493 ecore-ipc >= ${efl_version}
494 eet >= ${efl_version}
495 efreet >= ${efl_version}
496])
497
498PKG_CHECK_MODULES(E_GRABBER, [
499 eina >= ${efl_version}
500 eet >= ${efl_version}
501])
502
503efm_requires="\
504ecore >= $efl_version \
505ecore-file >= $efl_version \
506ecore-ipc >= $efl_version \
507eet >= $efl_version \
508efreet >= $efl_version \
509eldbus >= $efl_version \
510eina >= $efl_version"
511efm_requires="$efm_requires $eeze_mount $dbus_mount $udisks_mount"
512
513PKG_CHECK_MODULES(E_FM, [$efm_requires])
514
515PKG_CHECK_MODULES(E_FM_CMDLINE, [
516 eina >= ${efl_version}
517 ecore >= ${efl_version}
518 ecore-file >= ${efl_version}
519 eldbus >= ${efl_version}
520 efreet >= ${efl_version}
521])
522
523PKG_CHECK_MODULES(E_FM_OP, [
524 ecore >= ${efl_version}
525 ecore-file >= ${efl_version}
526 eina >= ${efl_version}
527])
528
529PKG_CHECK_MODULES(E_FM_OPEN, [
530 eina >= ${efl_version}
531 eet >= ${efl_version}
532 ecore >= ${efl_version}
533 ecore-ipc >= ${efl_version}
534 ecore-con >= ${efl_version}
535])
536
537PKG_CHECK_MODULES(E_SYS, [
538 eina >= ${efl_version}
539 ecore >= ${efl_version}
540])
541
542e_requires="\
543 evas >= $efl_version \
544 ecore >= $efl_version \
545 ecore-evas >= $efl_version \
546 ecore-input >= $efl_version \
547 ecore-input-evas >= $efl_version \
548 ecore-con >= $efl_version \
549 ecore-ipc >= $efl_version \
550 ecore-file >= $efl_version \
551 eet >= $efl_version \
552 edje >= $efl_version \
553 efreet >= $efl_version \
554 efreet-mime >= $efl_version \
555 efreet-trash >= $efl_version \
556 eina >= $efl_version \
557 eldbus >= $efl_version \
558 eio >= $efl_version \
559 eo >= $efl_version \
560 elementary >= $efl_version \
561 emotion >= $efl_version \
562 $eeze_mount \
563 $udisks_mount \
564 $device_libs"
565
566
567PKG_CHECK_MODULES(E_OPEN, [
568 eina >= ${efl_version}
569 ecore >= ${efl_version}
570 efreet >= ${efl_version}
571 efreet-mime >= ${efl_version}
572])
573
574PKG_CHECK_EXISTS([xkeyboard-config],[
575 xkb_base=`$PKG_CONFIG --variable=xkb_base xkeyboard-config 2>/dev/null`
576 AC_DEFINE_UNQUOTED([XKB_BASE],["$xkb_base"],[Define to the base directory for X keyboard configuration data])
577])
578
579profile="SLOW_PC"
580AC_ARG_WITH(profile,
581 AS_HELP_STRING([--with-profile=TARGET_PROFILE],
582 [specify a target format profile of:
583 LOWRES_PDA, MEDIUMRES_PDA, HIRES_PDA, SLOW_PC, MEDIUM_PC, FAST_PC]),
584 [profile=$withval])
585AC_MSG_NOTICE([Enlightenment build profile set to $profile])
586EDJE_DEF="-DLOWRES_PDA=1 -DMEDIUMRES_PDA=2 -DHIRES_PDA=3 -DSLOW_PC=4 -DMEDIUM_PC=5 -DFAST_PC=6"
587EDJE_DEF=$EDJE_DEF" -DE_PROFILE"=$profile
588AC_SUBST([EDJE_DEF])
589
590PKG_CHECK_MODULES(EET, [eet >= ${efl_version}])
591EFL_WITH_BIN([eet], [eet-eet], [eet])
592EFL_WITH_BIN([eldbus], [eldbus_codegen], [eldbus-codegen])
593
594AC_DEFINE(E_INTERNAL, 1, "This define can be used to wrap internal E stuff, as config.h isn't exported")
595
596have_openbsd="no"
597have_freebsd="no"
598have_dragonfly="no"
599have_netbsd="no"
600BATTERY_LDFLAGS=
601case "$host_os" in
602 darwin*)
603 BATTERY_LDFLAGS="${cf_libs}"
604 BATTERY_CFLAGS="${cf_cflags}"
605 ;;
606 openbsd*)
607 have_openbsd="yes"
608 ;;
609 netbsd*)
610 have_netbsd="yes"
611 ;;
612 freebsd*)
613 have_freebsd="yes"
614 ;;
615 dragonfly*)
616 have_dragonfly="yes"
617 ;;
618esac
619
620AC_SUBST([BATTERY_CFLAGS])
621AC_SUBST([BATTERY_LDFLAGS])
622AM_CONDITIONAL([HAVE_OPENBSD], [test "x${have_openbsd}" = "xyes"])
623AM_CONDITIONAL([HAVE_NETBSD], [test "x${have_netbsd}" = "xyes"])
624AM_CONDITIONAL([HAVE_FREEBSD], [test "x${have_freebsd}" = "xyes"])
625AM_CONDITIONAL([HAVE_DRAGONFLY], [test "x${have_dragonfly}" = "xyes"])
626
627##have_exchange=no
628##AC_ARG_ENABLE(exchange,
629## AS_HELP_STRING([--disable-exchange], [disable Exchange support @<:@default=detect@:>@]),
630## [want_exchange=$enableval],
631## [want_exchange=auto]
632##)
633
634AM_CONDITIONAL(HAVE_EXCHANGE, false)
635##define([CHECK_MODULE_CONF_THEME],
636##[
637## if test "x$want_exchange" != "xno" ; then
638## AC_E_CHECK_PKG(EXCHANGE, [exchange], [], [:])
639## else
640## AC_MSG_NOTICE([requested to not use exchange library])
641## fi
642##])
643
644
645AM_CONDITIONAL(HAVE_ALSA, false)
646AM_CONDITIONAL(HAVE_PULSE, false)
647define([CHECK_MODULE_MIXER],
648[
649 AC_E_CHECK_PKG(ALSA, [alsa >= 1.0.8],
650 [ ], [ ])
651 AC_E_CHECK_PKG([PULSE], [libpulse-simple libpulse],
652 [AC_DEFINE_UNQUOTED([HAVE_PULSE], [1], [have pulseaudio])], [ ])
653])
654
655SHM_OPEN_LIBS=""
656AC_MSG_CHECKING([whether shm_open() is present])
657LIBS_save=${LIBS}
658LIBS="${LIBS} -lrt"
659AC_LINK_IFELSE(
660 [AC_LANG_PROGRAM(
661 [[
662#include <sys/stat.h>
663#include <sys/mman.h>
664#include <fcntl.h>
665 ]],
666 [[
667int fd;
668fd = shm_open("/", O_RDWR | O_CREAT, S_IRUSR |
669S_IWUSR);
670shm_unlink("/");
671 ]])],
672 [
673 have_shm_open="yes"
674 AC_DEFINE(HAVE_SHM_OPEN, 1, [Have shm_open() call])
675 SHM_OPEN_LIBS="-lrt"
676 ])
677LIBS=${LIBS_save}
678AC_MSG_RESULT([${have_shm_open}])
679AC_SUBST(SHM_OPEN_LIBS)
680
681AC_SUBST([SOUND_CFLAGS])
682AC_SUBST([SOUND_LIBS])
683
684if test "x${e_cv_want_wayland_only}" != "xno" ;then
685 PKG_CHECK_MODULES([WAYLAND], [ecore-wl2 >= 1.18 wayland-server >= 1.11.0 wayland-client >= 1.11.0 wayland-protocols >= 1.9 wayland-scanner >= 1.11.0 xkbcommon uuid efl-wl],
686 [
687 have_wayland=yes
688 have_wayland_dep=true
689 AC_ARG_VAR([wayland_scanner], [The wayland-scanner executable])
690 AC_PATH_PROG([wayland_scanner], [wayland-scanner])
691 if test x$wayland_scanner = x; then
692 PKG_CHECK_MODULES(WAYLAND_SCANNER, [wayland-scanner])
693 wayland_scanner=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`
694 fi
695 ac_wayland_protocols_pkgdatadir=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols`
696 AC_SUBST(WAYLAND_PROTOCOLS_DATADIR, $ac_wayland_protocols_pkgdatadir)
697 AC_SUBST(WAYLAND, "true")
698 AC_DEFINE_UNQUOTED([HAVE_WAYLAND],[1],[enable wayland support])
699 ])
700else
701 have_wayland=no
702fi
703
704AM_CONDITIONAL([HAVE_WAYLAND], [test "x${have_wayland}" = "xyes"])
705
706if test "x${e_cv_want_wayland_only}" != "xyes"; then
707 PKG_CHECK_MODULES([ECORE_X], [ecore-x >= ${efl_version}])
708 if test -n "$ECORE_X_CFLAGS" ; then
709 ecore_x=true
710 else
711 ecore_x=false
712 fi
713else
714 ecore_x=false
715fi
716
717WL_X11=false
718define([CHECK_MODULE_WL_X11],
719[
720 if test "x${have_wayland}" = "xyes"; then
721 AC_E_CHECK_PKG(WL_X11, [ ecore-x >= ${efl_version} ], [WL_X11=true], [WL_X11=false])
722 else
723 WL_X11=false
724 fi
725])
726AM_CONDITIONAL([HAVE_WL_X11], [test "x${WL_X11}" = "xtrue"])
727
728WL_WL=false
729define([CHECK_MODULE_WL_WL],
730[
731 if test "x${have_wayland}" = "xyes"; then
732 WL_WL=true
733 else
734 WL_WL=false
735 fi
736])
737AM_CONDITIONAL([HAVE_WL_WL], [test "x${WL_WL}" = "xtrue"])
738
739WL_BUFFER=false
740define([CHECK_MODULE_WL_BUFFER],
741[
742 if test "x${have_wayland}" = "xyes"; then
743 WL_BUFFER=true
744 else
745 WL_BUFFER=false
746 fi
747])
748AM_CONDITIONAL([HAVE_WL_BUFFER], [test "x${WL_BUFFER}" = "xtrue"])
749
750WL_DESKTOP_SHELL=false
751define([CHECK_MODULE_WL_DESKTOP_SHELL],
752[
753 if test "x${have_wayland}" = "xyes"; then
754 WL_DESKTOP_SHELL=true
755 else
756 WL_DESKTOP_SHELL=false
757 fi
758])
759AM_CONDITIONAL([HAVE_WL_DESKTOP_SHELL], [test "x${WL_DESKTOP_SHELL}" = "xtrue"])
760
761WL_FB=false
762define([CHECK_MODULE_WL_FB],
763[
764 if test "x${have_wayland}" = "xyes"; then
765 AC_E_CHECK_PKG(WL_FB, [ ecore-fb >= $efl_version ], [WL_FB=true], [WL_FB=false])
766 else
767 WL_FB=false
768 fi
769])
770AM_CONDITIONAL([HAVE_WL_FB], [test "x${WL_FB}" = "xtrue"])
771
772WL_DRM=false
773define([CHECK_MODULE_WL_DRM],
774[
775 if test "x${have_wayland}" = "xyes" ; then
776 PKG_CHECK_EXISTS([ecore-drm2 >= $efl_ecore_drm2_version], [have_ecore_drm2="yes"], [have_ecore_drm2="no"])
777 if test "x${have_ecore_drm2}" = "xyes"; then
778 AC_E_CHECK_PKG(WL_DRM, [ ecore-drm2 >= $efl_ecore_drm2_version elput >= $efl_version ecore >= $efl_version eina >= $efl_version ],
779 [
780 WL_DRM=true
781 ], [WL_DRM=false])
782 else
783 WL_DRM=false
784 fi
785 else
786 WL_DRM=false
787 fi
788])
789AM_CONDITIONAL([HAVE_WL_DRM], [test "x${WL_DRM}" = "xtrue"])
790
791HAVE_XWAYLAND_DEPS=false
792define([CHECK_MODULE_XWAYLAND],
793[
794 if test "x${have_wayland}" = "xyes"; then
795 AC_E_CHECK_PKG(XWAYLAND, [ ecore-x >= ${efl_version} ecore-audio >= ${efl_version} ], [HAVE_XWAYLAND_DEPS=true], [HAVE_XWAYLAND_DEPS=false])
796 AC_ARG_WITH(Xwayland, AS_HELP_STRING([--with-Xwayland=PATH], [Path to Xwayland]), [Xwayland_with="$withval"], [Xwayland_with="yes"])
797 if test "x${Xwayland_with}" != "xyes"; then
798 xwayland=$Xwayland_with
799 AC_SUBST(xwayland)
800 else
801 AC_PATH_PROG(xwayland, Xwayland, "no")
802 fi
803 if test "x${xwayland}" == "xno"; then
804 AC_MSG_ERROR([Xwayland enabled but not found.])
805 fi
806 fi
807])
808AM_CONDITIONAL([HAVE_XWAYLAND], [test "x${HAVE_XWAYLAND}" != "xno"])
809
810define([CHECK_MODULE_WL_TEXT_INPUT],
811[
812 if test "x${have_wayland}" = "xyes"; then
813 WL_TEXT_INPUT=true
814 else
815 WL_TEXT_INPUT=false
816 fi
817])
818AM_CONDITIONAL([HAVE_WL_TEXT_INPUT], [test "x${WL_TEXT_INPUT}" = "xtrue"])
819
820WL_WEEKEYBOARD=false
821define([CHECK_MODULE_WL_WEEKEYBOARD],
822[
823 if test "x${have_wayland}" = "xyes" ; then
824 WL_WEEKEYBOARD=true
825 else
826 WL_WEEKEYBOARD=false
827 fi
828])
829AM_CONDITIONAL([HAVE_WL_WEEKEYBOARD], [test "x${WL_WEEKEYBOARD}" = "xtrue"])
830
831AC_E_OPTIONAL_MODULE([ibar], true)
832AC_E_OPTIONAL_MODULE([clock], true)
833AC_E_OPTIONAL_MODULE([pager], true)
834AC_E_OPTIONAL_MODULE([pager_plain], true)
835AC_E_OPTIONAL_MODULE([battery], true)
836AC_E_OPTIONAL_MODULE([temperature], true)
837AC_E_OPTIONAL_MODULE([notification], true)
838AC_E_OPTIONAL_MODULE([cpufreq], true)
839AC_E_OPTIONAL_MODULE([ibox], true)
840AC_E_OPTIONAL_MODULE([start], true)
841AC_E_OPTIONAL_MODULE([winlist], true)
842AC_E_OPTIONAL_MODULE([fileman], true)
843AC_E_OPTIONAL_MODULE([fileman_opinfo], true)
844AC_E_OPTIONAL_MODULE([wizard], true)
845AC_E_OPTIONAL_MODULE([conf], true)
846AC_E_OPTIONAL_MODULE([conf_theme], true, true)
847AC_E_OPTIONAL_MODULE([conf_intl], true)
848AC_E_OPTIONAL_MODULE([msgbus], true)
849AC_E_OPTIONAL_MODULE([conf_applications], true)
850AC_E_OPTIONAL_MODULE([conf_display], true)
851AC_E_OPTIONAL_MODULE([conf_shelves], true)
852AC_E_OPTIONAL_MODULE([conf_bindings], true)
853AC_E_OPTIONAL_MODULE([conf_window_remembers], true)
854AC_E_OPTIONAL_MODULE([conf_window_manipulation], true)
855AC_E_OPTIONAL_MODULE([conf_menus], true)
856AC_E_OPTIONAL_MODULE([conf_dialogs], true)
857AC_E_OPTIONAL_MODULE([conf_performance], true)
858AC_E_OPTIONAL_MODULE([conf_paths], true)
859AC_E_OPTIONAL_MODULE([conf_interaction], true)
860AC_E_OPTIONAL_MODULE([gadman], true)
861AC_E_OPTIONAL_MODULE([mixer], true, [CHECK_MODULE_MIXER])
862AC_E_OPTIONAL_MODULE([connman], true)
863AC_E_OPTIONAL_MODULE([bluez4], true)
864AC_E_OPTIONAL_MODULE([syscon], true)
865AC_E_OPTIONAL_MODULE([everything], true)
866AC_E_OPTIONAL_MODULE([systray], true)
867AC_E_OPTIONAL_MODULE([appmenu], true)
868AC_E_OPTIONAL_MODULE([quickaccess], true)
869AC_E_OPTIONAL_MODULE([teamwork], true)
870AC_E_OPTIONAL_MODULE([lokker], true)
871AC_E_OPTIONAL_MODULE([shot], true, true)
872AC_E_OPTIONAL_MODULE([backlight], true)
873AC_E_OPTIONAL_MODULE([tasks], true)
874AC_E_OPTIONAL_MODULE([conf_randr], true)
875AC_E_OPTIONAL_MODULE([xkbswitch], true, true)
876AC_E_OPTIONAL_MODULE([tiling], true)
877AC_E_OPTIONAL_MODULE([music_control], true)
878AC_E_OPTIONAL_MODULE([packagekit], true)
879AC_E_OPTIONAL_MODULE([wl_desktop_shell], $have_wayland_dep)
880AC_E_OPTIONAL_MODULE([wl_x11], $have_wayland_dep, [CHECK_MODULE_WL_X11])
881AC_E_OPTIONAL_MODULE([wl_wl], $have_wayland_dep)
882AC_E_OPTIONAL_MODULE([wl_buffer], $have_wayland_dep)
883#AC_E_OPTIONAL_MODULE([wl_fb], $have_wayland_dep, [CHECK_MODULE_WL_FB])
884AC_E_OPTIONAL_MODULE([wl_drm], $have_wayland_dep, [CHECK_MODULE_WL_DRM])
885AC_E_OPTIONAL_MODULE([wl_text_input], $have_wayland_dep)
886AC_E_OPTIONAL_MODULE([wl_weekeyboard], $have_wayland_dep)
887AC_E_OPTIONAL_MODULE([geolocation], true)
888AC_E_OPTIONAL_MODULE([xwayland], $have_wayland_dep, [CHECK_MODULE_XWAYLAND])
889AC_E_OPTIONAL_MODULE([wireless], true)
890AC_E_OPTIONAL_MODULE([time], true)
891AC_E_OPTIONAL_MODULE([sysinfo], true)
892
893if test "x${HAVE_WL_X11}" != "xyes" && test "x${have_wayland}" = "xyes" && test "x${HAVE_XWAYLAND}" != "xyes"; then
894 AC_DEFINE_UNQUOTED([HAVE_WAYLAND_ONLY],[1],[enable wayland-only version of enlightenment])
895 have_wayland_only=yes
896else
897 have_wayland_only=no
898fi
899
900AM_CONDITIONAL([HAVE_WAYLAND_ONLY], [test "x${have_wayland_only}" = "xyes"])
901
902e_alert_requires="\
903 evas >= $efl_version \
904 eina >= ${efl_version} \
905 ecore >= ${efl_version} \
906 ecore-ipc >= ${efl_version}"
907
908if test "x${have_wayland}" = "xyes"; then
909 if test "x${HAVE_WL_DRM}" = "xyes"; then
910 e_alert_requires="\
911 $e_alert_requires \
912 ecore-input >= ${efl_version} \
913 ecore-drm2 >= ${efl_ecore_drm2_version}"
914 fi
915fi
916
917if test "x${have_wayland_only}" != "xyes"; then
918 e_alert_requires="\
919 $e_alert_requires \
920 xcb \
921 xcb-shape \
922 xcb-keysyms"
923fi
924
925PKG_CHECK_MODULES(E_ALERT, [$e_alert_requires])
926
927if test "x${have_wayland_only}" != "xyes"; then
928 e_requires="$e_requires ecore-x >= $efl_version"
929fi
930
931PKG_CHECK_MODULES(E, [$e_requires])
932requirements_e="\
933evas >= ${efl_version} \
934ecore >= ${efl_version} \
935ecore-evas >= ${efl_version} \
936ecore-con >= ${efl_version} \
937ecore-ipc >= ${efl_version} \
938ecore-file >= ${efl_version} \
939eet >= ${efl_version} \
940edje >= ${efl_version} \
941efreet >= ${efl_version} \
942efreet-mime >= ${efl_version} \
943efreet-trash >= ${efl_version} \
944eina >= ${efl_version} \
945eldbus >= ${efl_version} \
946eio >= ${efl_version} \
947eo >= ${efl_version} \
948elementary >= ${efl_version} \
949emotion >= ${efl_version} \
950$udisks_mount \
951$eeze_mount \
952$device_libs"
953if test "x${have_wayland_only}" != "xyes"; then
954 requirements_e="$requirements_e ecore-x >= $efl_version"
955fi
956
957e_libs="$E_LIBS $LIBINTL $fnmatch_libs $execinfo_libs"
958e_cflags="$E_CFLAGS"
959
960AC_SUBST([e_libs])
961AC_SUBST([e_cflags])
962AC_SUBST([requirements_e])
963
964HALT="/sbin/shutdown -h now"
965REBOOT="/sbin/shutdown -r now"
966SUSPEND=""
967HIBERNATE=""
968MOUNT="/bin/mount"
969UMOUNT="/bin/umount"
970EJECT="/usr/bin/eject"
971case "$host_os" in
972 freebsd*|pcbsd*)
973 #SUSPEND="acpiconf -s3"
974 SUSPEND="/usr/sbin/zzz"
975 AC_MSG_NOTICE([use suspend method: $SUSPEND])
976 HIBERNATE="acpiconf -s4"
977 AC_MSG_NOTICE([use hibernate method: $HIBERNATE])
978 HALT="/sbin/shutdown -p now"
979 MOUNT="/sbin/mount"
980 UMOUNT="/sbin/umount"
981 EJECT="/usr/sbin/cdcontrol eject"
982 ;;
983 *)
984 if test "x${have_systemd_user_session}" = "xyes"; then
985 HALT="/usr/bin/systemctl poweroff"
986 REBOOT="/usr/bin/systemctl reboot"
987 SUSPEND="/usr/bin/systemctl suspend"
988 HIBERNATE="/usr/bin/systemctl hibernate"
989 AC_MSG_NOTICE([use systemctl for halt, reboot, suspend and hibernate])
990 else
991 AC_PATH_PROGS([SUSPEND], [sleep.sh pm-suspend],[/etc/acpi/sleep.sh], [/etc/acpi:/sbin:/usr/sbin:$PATH])
992 if test "$SUSPEND" = "/etc/acpi/sleep.sh" ; then
993 SUSPEND="/etc/acpi/sleep.sh force"
994 AC_MSG_NOTICE([use suspend method: $SUSPEND])
995 fi
996
997 AC_PATH_PROGS([HIBERNATE], [hibernate.sh pm-hibernate],[/etc/acpi/hibernate.sh], [/etc/acpi:/sbin:/usr/sbin:$PATH])
998 if test "$HIBERNATE" = "/etc/acpi/hibernate.sh" ; then
999 HIBERNATE="/etc/acpi/hibernate.sh force"
1000 AC_MSG_NOTICE([use hibernate method: $HIBERNATE])
1001 fi
1002 fi
1003 ;;
1004esac
1005AC_SUBST([HALT])
1006AC_SUBST([REBOOT])
1007AC_SUBST([SUSPEND])
1008AC_SUBST([HIBERNATE])
1009AC_SUBST([MOUNT])
1010AC_SUBST([UMOUNT])
1011AC_SUBST([EJECT])
1012
1013m4_ifdef([v_rev],
1014 [
1015 EFL_COMPILER_FLAG([-Wall])
1016 EFL_COMPILER_FLAG([-W])
1017 EFL_COMPILER_FLAG([-Wpointer-arith])
1018 EFL_COMPILER_FLAG([-Wshadow])
1019 EFL_COMPILER_FLAG([-Wno-missing-field-initializers])
1020 EFL_COMPILER_FLAG([-Wfloat-equal])
1021 EFL_COMPILER_FLAG([-Wuninitialized])
1022 EFL_COMPILER_FLAG([-Wundef])
1023 EFL_COMPILER_FLAG([-Wcast-align])
1024 EFL_COMPILER_FLAG([-Wformat=2])
1025 EFL_COMPILER_FLAG([-Wno-format-y2k])
1026 ])
1027
1028SUID_CFLAGS=
1029SUID_LDFLAGS=
1030case "$host_os" in
1031 freebsd*|pcbsd*)
1032 ;;
1033 *)
1034 if test -n "$GCC"; then
1035 AC_MSG_CHECKING(if GCC supports -fPIE)
1036
1037 OLDCFLAGS="$CFLAGS"
1038 OLDLDFLAGS="$LDFLAGS"
1039
1040 CFLAGS="$CFLAGS -fPIE"
1041 LDFLAGS="$LDFLAGS -pie"
1042
1043 AC_TRY_LINK(,,
1044 [
1045 SUID_CFLAGS="-fPIE"
1046 SUID_LDFLAGS="-pie"
1047 AC_MSG_RESULT(yes)],
1048 AC_MSG_RESULT(no))
1049 CFLAGS="$OLDCFLAGS"
1050 LDFLAGS="$OLDLDFLAGS"
1051 fi
1052 ;;
1053esac
1054AC_SUBST([SUID_CFLAGS])
1055AC_SUBST([SUID_LDFLAGS])
1056
1057AC_OUTPUT([
1058Makefile
1059enlightenment.pc
1060src/bin/e_fm_shared_types.h
1061src/modules/everything/everything.pc
1062data/session/enlightenment.desktop
1063data/etc/sysactions.conf
1064data/units/enlightenment.service
1065doc/Doxyfile
1066doc/e.dox
1067$po_makefile_in
1068])
1069
1070# report
1071txt_strip() {
1072 echo "[$]@" | sed -e 's/^[[ \t]]*\([[^ \t]]*\)[[ \t]]*$/\1/g'
1073}
1074
1075echo
1076cat << SUMMARY_EOF
1077Summary:
1078 * project.........: $PACKAGE $VERSION
1079 * prefix..........: $(txt_strip $prefix)
1080 * CFLAGS..........: $(txt_strip $CFLAGS)
1081 * LDFLAGS.........: $(txt_strip $LDFLAGS)
1082 * eet.............: ${eet_eet}
1083 * eldbus-codegen..: ${eldbus_codegen}
1084SUMMARY_EOF
1085
1086if test "$have_systemd_user_session" = "yes"; then
1087 echo " * systemd.........: yes (${USER_SESSION_DIR})"
1088else
1089 echo " * systemd.........: no"
1090fi
1091
1092echo
1093cat << ACTIONS_EOF
1094System Actions:
1095 * Halt.....: ${HALT}
1096 * Reboot...: ${REBOOT}
1097 * Suspend..: ${SUSPEND}
1098 * Hibernate: ${HIBERNATE}
1099
1100ACTIONS_EOF
1101
1102cat << DEVICE_EOF
1103Preferred Backends:
1104 * device..............: $device_backend
1105 * udisks_mount........: $e_cv_want_mount_udisks
1106 * eeze_mount..........: $e_cv_want_mount_eeze
1107DEVICE_EOF
1108echo
1109
1110UNUSED_MODS=""
1111for mod in $UNUSED_OPTIONAL_MODULES; do
1112 UNUSED_MODS="$UNUSED_MODS${COLOR_HRED}$mod${COLOR_END} "
1113done
1114
1115cat << MODULES_EOF
1116Modules:
1117 * disabled........: $(txt_strip $UNUSED_MODS)
1118MODULES_EOF
1119echo
1120
1121cat << DOCS_EOF
1122Documentation:
1123 * enabled.........: ${build_doc}
1124DOCS_EOF
1125if test "x${build_doc}" = "xyes" ; then
1126 echo " Building..........: make doc"
1127fi
1128echo
1129
1130cat << COMPILE_EOF
1131Compilation........: make (or gmake)
1132COMPILE_EOF
1133echo
1134
1135cat << INSTALL_EOF
1136Installation.......: make all install (as root if needed, with 'su' or 'sudo')
1137INSTALL_EOF
1138echo