1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
|
EFL_VERSION([1], [16], [99], [dev])
AC_INIT([elementary], [efl_version], [enlightenment-devel@lists.sourceforge.net])
AC_PREREQ(2.63)
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_MACRO_DIR([m4])
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_CONFIG_HEADERS([elementary_config.h])
AH_TOP([
#ifndef EFL_CONFIG_H__
#define EFL_CONFIG_H__
])
AH_BOTTOM([
#endif /* EFL_CONFIG_H__ */
])
AC_USE_SYSTEM_EXTENSIONS
AM_INIT_AUTOMAKE([1.11 dist-xz -Wall])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
LT_INIT([win32-dll disable-static pic-only])
EFL_INIT
### Additional options to configure
# C++ bindings
AC_ARG_ENABLE([cxx-bindings],
[AS_HELP_STRING([--disable-cxx-bindings],
[Disable C++11 bindings. @<:@default=enabled@:>@])],
[want_cxx11="${enableval}"],
[want_cxx11="yes"])
AC_ARG_ENABLE([js-bindings],
[AS_HELP_STRING([--enable-js-bindings],
[enable JS bindings. @<:@default=disabled@:>@])],
[want_js="${enableval}"],
[want_js="yes"])
# Tests
AC_ARG_WITH([tests],
[AS_HELP_STRING([--with-tests=none|regular|coverage],
[choose elementary testing method: regular, coverage or none @<:@default=none@:>@])],
[build_tests=${withval}],
[build_tests=auto])
want_coverage="no"
want_tests="no"
case "${build_tests}" in
auto)
if test "${build_profile}" = "dev"; then
want_tests="yes"
fi
;;
regular)
want_tests="yes"
;;
coverage)
want_tests="yes"
want_coverage="yes"
;;
no*)
;;
*)
AC_MSG_ERROR([Unknown build tests option: --with-tests=${build_tests}])
;;
esac
# Elementary base dir
AC_ARG_WITH([elementary-base-dir],
[AS_HELP_STRING([--with-elementary-base-dir=PATH], [specify the subdirectory for all elementary data @<:@default=${elementary_base_dir}@:>@])],
[elementary_base_dir=${withval}],
[elementary_base_dir=".elementary"])
AC_MSG_NOTICE([ELEMENTARY_BASE_DIR set to ${elementary_base_dir}])
AC_DEFINE_UNQUOTED([ELEMENTARY_BASE_DIR], ["${elementary_base_dir}"], ["subdirectory for all elementary data"])
# Build and install examples
EFL_CHECK_BUILD_EXAMPLES(
[enable_build_examples="yes"],
[enable_build_examples="no"])
EFL_CHECK_INSTALL_EXAMPLES(
[enable_install_examples="yes"],
[enable_install_examples="no"])
# Debug mode
AC_ARG_ENABLE([debug],
[AS_HELP_STRING([--enable-debug], [enable elementary debug support. @<:@default=disabled@:>@])],
[want_elementary_debug=$enableval],
[want_elementary_debug="no"])
ELM_DEBUG_DEF="#undef"
if test "x$want_elementary_debug" = "xyes"; then
AC_DEFINE([HAVE_ELEMENTARY_DEBUG], [1], [Elementary debug.])
ELM_DEBUG_DEF="#define"
fi
AC_SUBST([ELM_DEBUG_DEF])
# quicklaunch support
AC_ARG_ENABLE([quick-launch],
[AS_HELP_STRING([--disable-quick-launch], [disable quick-launch support, @<:@default=detect@:>@])],
[want_quicklaunch=$enableval],
[want_quicklaunch="auto"])
### Default options with respect to host and default values
ELM_VERSION_MAJOR="v_maj"
ELM_VERSION_MINOR="v_min"
AC_SUBST([ELM_VERSION_MAJOR])
AC_SUBST([ELM_VERSION_MINOR])
MODULE_ARCH="v-v_maj.v_min.v_mic"
AC_SUBST([MODULE_ARCH])
AC_DEFINE_UNQUOTED([MODULE_ARCH], ["$MODULE_ARCH"], ["Module architecture"])
ELM_UNIX_DEF="#undef"
ELM_WIN32_DEF="#undef"
have_windows="no"
have_freebsd="no"
case "$host_os" in
mingw*)
AC_DEFINE([HAVE_EVIL], [1], [Set to 1 if evil package is installed.])
ELM_WIN32_DEF="#define"
have_windows="yes"
;;
*solaris*)
ELM_UNIX_DEF="#define"
;;
freebsd*)
ELM_UNIX_DEF="#define"
have_freebsd="yes"
;;
darwin*)
ELM_UNIX_DEF="#define"
;;
*)
ELM_UNIX_DEF="#define"
;;
esac
AM_CONDITIONAL([ELEMENTARY_WINDOWS_BUILD], [test "x${have_windows}" = "xyes"])
AM_CONDITIONAL([HAVE_FREEBSD], [test "x${have_freebsd}" = "xyes"])
AC_SUBST([ELM_UNIX_DEF])
AC_SUBST([ELM_WIN32_DEF])
### Checks for programs
# compilers
AC_PROG_CC
AC_PROG_CC_STDC
AC_PROG_CXX
EFL_CXX_COMPILE_STDCXX_11([ext])
# pkg-config
PKG_PROG_PKG_CONFIG
# gettext
m4_ifdef([AM_GNU_GETTEXT_VERSION], [
AM_GNU_GETTEXT_VERSION([0.18])
])
m4_ifdef([AM_GNU_GETTEXT], [
AM_GNU_GETTEXT([external])
po_makefile_in=po/Makefile.in
have_po="yes"
],[
have_po="no"
])
AC_SUBST([LTLIBINTL])
if test "x${POSUB}" = "x" ; then
have_po="no"
fi
AM_CONDITIONAL([HAVE_PO], [test "x${have_po}" = "xyes"])
# doxygen
EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
# EFL binaries
EFL_WITH_BIN([eet], [eet-eet], [eet])
EFL_WITH_BIN([edje], [edje-cc], [edje_cc])
EFL_WITH_BIN([elementary], [elementary-codegen], [elementary_codegen])
EFL_WITH_BIN([elementary], [elm-prefs-cc], [elm_prefs_cc])
EFL_WITH_BIN([eolian], [eolian-gen], [eolian_gen])
EFL_WITH_BIN([eolian-cxx], [eolian-cxx], [eolian_cxx])
EFL_WITH_BIN([eldbus], [eldbus_codegen], [eldbus-codegen])
# Force the helper to try external eolian generators
AM_CONDITIONAL([HAVE_EOLIAN_GEN], [true])
AM_CONDITIONAL([HAVE_EOLIAN_CXX], [true])
AM_CONDITIONAL([HAVE_EOLIAN_JS], [true])
EFL_ENABLE_BIN([elementary-test])
EFL_ENABLE_BIN([elementary-codegen])
EFL_ENABLE_BIN([elm-prefs-cc])
EFL_ENABLE_BIN([elementary-config])
### Checks for libraries
requirement_elm_pc=""
case "$host_os" in
mingw*)
requirement_elm_pc="evil >= efl_version"
;;
esac
requirement_elm_pc_only="\
efl >= efl_version \
eina >= efl_version \
eet >= efl_version \
evas >= efl_version \
ecore >= efl_version \
ecore-evas >= efl_version \
ecore-file >= efl_version \
ecore-input >= efl_version \
edje >= efl_version \
eo >= efl_version \
ethumb_client >= efl_version \
emotion >= efl_version \
ecore-imf >= efl_version \
ecore-con >= efl_version \
eio >= efl_version \
eldbus >= efl_version \
efreet >= efl_version \
efreet-mime >= efl_version \
efreet-trash >= efl_version \
eio >= efl_version \
"
requirement_elm_pc="\
${requirement_elm_pc} \
${requirement_elm_pc_only} \
"
ELM_CHECK_BACKEND([X])
ELM_CHECK_BACKEND([FB])
ELM_CHECK_BACKEND([PSL1GHT])
ELM_CHECK_BACKEND([SDL])
ELM_CHECK_BACKEND([Cocoa])
ELM_CHECK_BACKEND([Win32])
ELM_CHECK_BACKEND([Wl2])
ELM_CHECK_BACKEND([DRM])
ELM_CHECK_OPTION([elocation], [0.1.0])
ELM_CHECK_OPTION([eweather], [0.2.0])
# emap is in svn : trunk/PROTO
ELM_CHECK_OPTION([emap], [0.1.0])
ELM_CHECK_OPTION([eweb])
if test "x${HAVE_CXX11}" = "x1" -a "x${want_cxx11}" = "xyes"; then
PKG_CHECK_MODULES([ELEMENTARY_CXX],
[
efl-cxx >= efl_version
eo-cxx >= efl_version
eina-cxx >= efl_version
evas-cxx >= efl_version
eio-cxx >= efl_version
edje-cxx >= efl_version
],
[
requirement_elm_pc="${requirement_elm_pc} \
efl-cxx >= efl_version \
eo-cxx >= efl_version \
eina-cxx >= efl_version \
evas-cxx >= efl_version \
eio-cxx >= efl_version \
edje-cxx >= efl_version \
"
have_cxx11="yes"
LDFLAGS="${LDFLAGS} -fPIC -DPIC"
CXXFLAGS="${CXXFLAGS} -fPIC -DPIC"
AC_CONFIG_FILES([src/lib/Elementary.hh])
],
[have_cxx11="no"]
)
else
have_cxx11="no"
fi
AM_CONDITIONAL([HAVE_CXX11], [test "x${have_cxx11}" = "xyes"])
if test "x${want_js}" = "xyes"; then
PKG_CHECK_MODULES([ELEMENTARY_JS],
[
eolian-js >= efl_version
eo-js >= efl_version
efl-js >= efl_version
eina-js >= efl_version
efl-cxx >= efl_version
eo-cxx >= efl_version
eina-cxx >= efl_version
],
[
requirement_elm_js_pc="${requirement_elm_js_pc} \
eolian-js >= efl_version \
eo-js >= efl_version \
efl-js >= efl_version \
eina-js >= efl_version \
efl-cxx >= efl_version \
eina-cxx >= efl_version \
eo-cxx >= efl_version \
"
have_js="yes"
dep_js=`$PKG_CONFIG --variable=want_js efl-js`
],
[have_js="no"
dep_js="none"
]
)
else
have_js="no"
dep_js="none"
fi
PKG_CHECK_MODULES([ELEMENTARY], [${requirement_elm_pc}])
if test "x${have_js}" = "xyes"; then
PKG_CHECK_MODULES([ELEMENTARY_JS], [${requirement_elm_js_pc}])
fi
PKG_CHECK_MODULES([ELEMENTARY_PC], [${requirement_elm_pc_only}])
EFL_ENABLE_EO_API_SUPPORT
EFL_ENABLE_BETA_API_SUPPORT
AM_CONDITIONAL([HAVE_JS], [test "x${have_js}" = "xyes"])
AM_CONDITIONAL([HAVE_NODEJS], [test "x${dep_js}" = "xnodejs"])
AC_DEFINE_IF([HAVE_NODEJS], [test "x${dep_js}" = "xnodejs"],
[1], [Using NodeJS])
AC_SUBST([want_js])
AC_SUBST([HAVE_NODEJS])
AM_CONDITIONAL([HAVE_JS], [test "x${dep_js}" = "xnodejs" -o "x${dep_js}" = "xlibv8" -o "x${dep_js}" = "xlibuv"])
AC_DEFINE_IF([HAVE_JS], [test "x${dep_js}" = "xnodejs" -o "x${dep_js}" = "xlibv8" -o "x${dep_js}" = "xlibuv"],
[1], [Compiling bindings for JavaScript])
AC_SUBST([HAVE_JS])
AM_CONDITIONAL([HAVE_LIBUV], [test "x${dep_js}" = "xnodejs" -o "x${dep_js}" = "xlibuv"])
AC_DEFINE_IF([HAVE_LIBUV], [test "x${dep_js}" = "xnodejs" -o "x${dep_js}" = "xlibuv"],
[1], [Compiling libuv event loop integration])
AC_SUBST([HAVE_LIBUV])
EFL_WITH_BIN([eolian-js], [eolian-js], [eolian_js])
MODULE_EDJE=`${PKG_CONFIG} --variable=module_arch edje`
AC_SUBST([MODULE_EDJE])
AC_DEFINE_UNQUOTED([MODULE_EDJE], ["$MODULE_EDJE"], ["Edje module architecture"])
# Needs to be moved into a macro, and also, needs a way to automatically fetch
# from all the dependencies using the Requires.
DEPS_EOLIAN_FLAGS=`${PKG_CONFIG} --variable=eolian_flags eo evas edje ecore efl`
AC_SUBST([DEPS_EOLIAN_FLAGS])
requirement_elm_libs="-lm"
# sockets
case "$host_os" in
mingw*)
have_socket="no"
;;
*solaris*)
AC_CHECK_LIB([socket], [connect],
[
have_socket="yes"
requirement_elm_libs="-lsocket ${requirement_elm_libs}"
],
[have_socket="no"])
;;
darwin*)
have_socket="yes"
;;
*)
have_socket="yes"
;;
esac
AM_CONDITIONAL([BUILD_RUN], [test "x$have_socket" = "xyes"])
# dlopen
have_dlopen="no"
case "$host_os" in
mingw*)
dnl managed by evil
AC_DEFINE([HAVE_DLADDR], [1], [Define to 1 if you have the `dladdr' function.])
have_dlopen="yes"
requirement_elm_libs="-ldl ${requirement_elm_libs}"
;;
linux*)
AC_CHECK_LIB([dl], [dlopen], [res=yes], [res=no])
if test "x$res" = "xyes"; then
AC_CHECK_LIB([dl], [dladdr], AC_DEFINE([HAVE_DLADDR], [1], [Define to 1 if you have the `dladdr' function.]))
requirement_elm_libs="-ldl ${requirement_elm_libs}"
have_dlopen="yes"
fi
;;
*)
have_dlopen="yes"
;;
esac
AM_CONDITIONAL([BUILD_MODULES], [test "x$have_dlopen" = "xyes"])
ELEMENTARY_LIBS="${ELEMENTARY_LIBS} ${requirement_elm_libs}"
ELEMENTARY_PC_LIBS="${ELEMENTARY_PC_LIBS} ${requirement_elm_libs}"
AC_SUBST([requirement_elm_pc])
AC_SUBST([requirement_elm_js_pc])
# check unit testing library
if test "${want_tests}" = "yes"; then
PKG_CHECK_MODULES([CHECK], [check >= 0.9.5])
fi
AM_CONDITIONAL([ELEMENTARY_ENABLE_TESTS], [test "${want_tests}" = "yes"])
# lcov
if test "${want_coverage}" = "yes" ; then
AC_CHECK_PROG([have_lcov], [lcov], [yes], [no])
if test "x${have_lcov}" = "xyes" ; then
ELEMENTARY_CFLAGS="${ELEMENTARY_CFLAGS} -fprofile-arcs -ftest-coverage"
ELEMENTARY_LIBS="${ELEMENTARY_LIBS} -lgcov"
if test "x${prefer_assert}" = "xno"; then
ELEMENTARY_CFLAGS="${ELEMENTARY_CFLAGS} -DNDEBUG"
else
ELEMENTARY_CFLAGS="${ELEMENTARY_CFLAGS} -g -O0 -DDEBUG"
fi
else
AC_MSG_ERROR([lcov is not found])
fi
fi
AM_CONDITIONAL([ELEMENTARY_ENABLE_COVERAGE], [test "${want_coverage}" = "yes"])
### Checks for header files
ELM_ALLOCA_H_DEF="#undef"
AC_CHECK_HEADER([alloca.h], [ELM_ALLOCA_H_DEF="#define"])
AC_SUBST([ELM_ALLOCA_H_DEF])
ELM_LIBINTL_H_DEF="#undef"
AC_CHECK_HEADER([libintl.h], [ELM_LIBINTL_H_DEF="#define"])
AC_SUBST([ELM_LIBINTL_H_DEF])
ELM_DIRENT_H_DEF="#undef"
AC_CHECK_HEADER([dirent.h], [ELM_DIRENT_H_DEF="#define"])
AC_SUBST([ELM_DIRENT_H_DEF])
AC_CHECK_HEADER([sys/mman.h], [have_mman="yes"], [have_mman="no"])
if test "x${have_mman}" = "xyes"; then
AC_DEFINE([HAVE_MMAN_H], [1], [Have sys/mman.h header file])
fi
AC_CHECK_HEADERS([locale.h langinfo.h sys/times.h])
case "$host_os" in
darwin*)
AC_CHECK_HEADERS([crt_externs.h])
;;
esac
### Checks for types
### Checks for structures
### Checks for compiler characteristics
AC_C_BIGENDIAN
m4_ifdef([v_mic],
[
EFL_COMPILER_FLAG([-Wshadow])
EFL_COMPILER_FLAG([-Wall])
EFL_COMPILER_FLAG([-W])
])
EFL_COMPILER_FLAG([-Wall -Wextra -Wpointer-arith -Wno-missing-field-initializers -fvisibility=hidden -fdata-sections -ffunction-sections])
EFL_CHECK_PATH_MAX
### Checks for linker characteristics
EFL_LINKER_FLAG([-fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--as-needed -Wl,--no-copy-dt-needed-entries])
# Check if we can build binary with quicklaunch support
ELM_QUICKLAUNCH
### Checks for library functions
AC_FUNC_ALLOCA
AC_CHECK_FUNCS([geteuid getuid getpwent])
if test "x${want_quicklaunch}" != "xno"; then
AC_CHECK_FUNCS([fork clearenv])
fi
if test "x${have_dlopen}" = "xno"; then
AC_CHECK_FUNCS([dlopen dladdr])
fi
if test "x${ac_cv_func_dlopen}" = "xyes"; then
have_dlopen="yes"
fi
AM_CONDITIONAL([BUILD_QUICKLAUNCH], [test "x${ac_cv_func_fork}" = "xyes" && test "x${have_dlopen}" = "xyes"])
# environ variable
AC_COMPILE_IFELSE(
[AC_LANG_PROGRAM(
[[
# define _GNU_SOURCE 1
#include <unistd.h>
]],
[[
extern char **environ;
]])
],
[AC_DEFINE([HAVE_ENVIRON], [1], [extern environ exists])])
case "$host_os" in
darwin*)
AC_DEFINE([environ], [(*_NSGetEnviron())], ["apple doesn't follow POSIX in this case."])
;;
esac
AC_CONFIG_FILES([
Makefile
elementary.spec
doc/Makefile
doc/Doxyfile
doc/widgets/Makefile
src/Makefile
src/lib/Makefile
src/lib/Elementary.h
src/lib/elm_intro.h
src/bin/Makefile
src/modules/Makefile
src/modules/prefs/Makefile
src/modules/access_output/Makefile
src/modules/datetime_input_ctxpopup/Makefile
src/modules/test_entry/Makefile
src/modules/test_map/Makefile
src/edje_externals/Makefile
src/examples/Makefile
src/examples/sphere_hunter/Makefile
src/examples/performance/Makefile
src/tests/Makefile
src/imported/Makefile
src/imported/atspi/Makefile
data/Makefile
data/themes/Makefile
data/images/Makefile
data/objects/Makefile
data/desktop/Makefile
data/edje_externals/Makefile
config/Makefile
config/default/Makefile
config/default/base.src
config/standard/Makefile
config/standard/base.src
config/mobile/Makefile
config/mobile/base.src
$po_makefile_in
cmakeconfig/ElementaryConfig.cmake
cmakeconfig/ElementaryConfigVersion.cmake
])
AC_OUTPUT
#####################################################################
## Info
echo
echo
echo
echo "------------------------------------------------------------------------"
echo "$PACKAGE $VERSION"
echo "------------------------------------------------------------------------"
echo
echo "Configuration Options Summary:"
echo
echo " Engines:"
echo " X11....................: ${have_elementary_x}"
echo " Framebuffer............: ${have_elementary_fb}"
echo " DRM....................: ${have_elementary_drm}"
echo " PSL1GHT................: ${have_elementary_psl1ght}"
echo " SDL....................: ${have_elementary_sdl}"
echo " Cocoa..................: ${have_elementary_cocoa}"
echo " Windows XP.............: ${have_elementary_win32}"
echo " Wayland................: ${have_elementary_wayland}"
echo
echo " Features:"
echo " EWeather...............: ${have_elementary_eweather}"
echo " EMap...................: ${have_elementary_emap}"
echo " Web (WebKit)...........: ${elementary_web}"
echo " Quick Launch...........: ${ac_cv_func_fork}"
echo " Elocation..............: ${have_elementary_elocation}"
echo
echo " eet......................: ${eet_eet}"
echo " edje_cc..................: ${edje_cc}"
echo " elementary_codegen.......: ${elementary_codegen}"
echo " elm_prefs_cc.............: ${elm_prefs_cc}"
echo " eolian_gen...............: ${eolian_gen}"
echo " eolian_cxx...............: ${eolian_cxx}"
echo " eldbus_codegen...........: ${eldbus_codegen}"
echo " eolian_js...............: ${eolian_js}"
echo
echo " Build elementary_test....: ${have_elementary_test}"
echo " Build elementary_codegen.: ${have_elementary_codegen}"
echo " Build elm_prefs_cc.......: ${have_elm_prefs_cc}"
echo " Examples.................: ${enable_build_examples}"
echo " Examples installed.......: ${enable_install_examples}"
echo " Build elementary_config..: ${have_elementary_config}"
echo " Enable debug.............: ${want_elementary_debug}"
echo " Enable C++...............: ${have_cxx11}"
echo " Enable JavaScript........: ${have_js}"
echo
echo "Compilation................: make (or gmake)"
echo " CPPFLAGS.................: $CPPFLAGS"
echo " CFLAGS...................: $CFLAGS"
if test "x${have_cxx11}" = "xyes"; then
echo " CXXFLAGS.................: $CXXFLAGS"
fi
echo " LDFLAGS..................: $LDFLAGS"
echo
if test "${build_tests}" = "none"; then
echo "Tests......................: no"
else
echo "Tests......................: make check"
fi
if test "${build_doc}" = "no"; then
echo "Docs.......................: no (doxygen not found)"
else
echo "Docs.......................: make doc"
fi
echo
echo "Installation...............: make install (as root if needed, with 'su' or 'sudo')"
echo " prefix...................: $prefix"
echo
|