use Win32 native mutex on Windows. To use it, pass the following option
[framework/uifw/eina.git] / configure.ac
1 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
3 m4_define([v_maj], [0])
4 m4_define([v_min], [9])
5 m4_define([v_mic], [9])
6 m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v export || 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-07])
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 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
21  
22 AC_INIT([eina], [v_ver], [enlightenment-devel@lists.sourceforge.net])
23 AC_PREREQ([2.59])
24 AC_CONFIG_SRCDIR([configure.ac])
25 AC_CONFIG_MACRO_DIR([m4])
26 AC_CANONICAL_BUILD
27 AC_CANONICAL_HOST
28 AC_ISC_POSIX
29
30 AM_INIT_AUTOMAKE([1.6 dist-bzip2])
31 AM_CONFIG_HEADER([config.h])
32 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
33
34 AC_LIBTOOL_WIN32_DLL
35 define([AC_LIBTOOL_LANG_CXX_CONFIG], [:])dnl
36 define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
37 AC_PROG_LIBTOOL
38
39 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
40 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
41 m4_ifdef([v_rev], , [m4_define([v_rev], [0])])
42 m4_ifdef([v_rel], , [m4_define([v_rel], [])])
43 AC_DEFINE_UNQUOTED(VMAJ, [v_maj], [Major version])
44 AC_DEFINE_UNQUOTED(VMIN, [v_min], [Minor version])
45 AC_DEFINE_UNQUOTED(VMIC, [v_mic], [Micro version])
46 AC_DEFINE_UNQUOTED(VREV, [v_rev], [Revison])
47 version_info="lt_rev:lt_cur:lt_age"
48 release_info="v_rel"
49 AC_SUBST(version_info)
50 AC_SUBST(release_info)
51 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
52 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
53 VMAJ=v_maj
54 AC_SUBST(VMAJ)
55
56 ### Needed information
57
58 requirement_eina=""
59
60 case "$host_os" in
61    mingw32ce*)
62       MODULE_ARCH="$host_os-$host_cpu"
63       ;;
64    *)
65       MODULE_ARCH="$host_os-$host_cpu-$relname"
66       ;;
67 esac
68 AC_SUBST(MODULE_ARCH)
69 AC_DEFINE_UNQUOTED(MODULE_ARCH, "${MODULE_ARCH}", "Module architecture")
70
71 case "$host_os" in
72    mingw*)
73       MODULE_EXT=".dll"
74       ;;
75    *)
76       MODULE_EXT=".so"
77       ;;
78 esac
79
80 AC_DEFINE_UNQUOTED(SHARED_LIB_SUFFIX, "${MODULE_EXT}", [Suffix for shared objects])
81
82 EFL_CHECK_CPU_MMX([have_mmx="yes"], [have_mmx="no"])
83 EFL_CHECK_CPU_SSE([have_sse="yes"], [have_sse="no"])
84 EFL_CHECK_CPU_SSE2([have_sse2="yes"], [have_sse2="no"])
85 EFL_CHECK_CPU_ALTIVEC([have_altivec="yes"], [have_altivec="no"])
86
87 EFL_CHECK_THREADS(["yes"],
88    [
89     if test "x${_efl_have_posix_threads}" = "xyes" ; then
90        have_threads="POSIX"
91     else
92        if test "x${_efl_have_win32_threads}" = "xyes" ; then
93           have_threads="Win32"
94        else
95           have_threads="no"
96        fi
97     fi
98    ],
99    [have_threads="no"],
100    [have_posix_threads_spinlock="yes"],
101    [have_posix_threads_spinlock="no"])
102
103 ### Additional options to configure
104
105 # Magic debug
106 AC_ARG_ENABLE([magic-debug],
107    [AC_HELP_STRING([--disable-magic-debug], [disable magic debug of eina structure @<:@default=enabled@:>@])],
108    [
109     if test "x${enableval}" = "xyes" ; then
110        have_magic_debug="yes"
111     else
112        have_magic_debug="no"
113     fi
114    ],
115    [have_magic_debug="yes"])
116
117 AC_MSG_CHECKING([whether magic debug is enable])
118 AC_MSG_RESULT([${have_magic_debug}])
119
120 if test "x${have_magic_debug}" = "xyes" ; then
121    EINA_CONFIGURE_MAGIC_DEBUG="#define EINA_MAGIC_DEBUG"
122 fi
123 AC_SUBST(EINA_CONFIGURE_MAGIC_DEBUG)
124
125 # Safety checks (avoid crashes on wrong api usage)
126 AC_ARG_ENABLE(safety-checks,
127    [AC_HELP_STRING([--disable-safety-checks], [disable safety checks for NULL pointers and like. @<:@default=enabled@:>@])],
128    [
129     if test "x${enableval}" = "xyes" ; then
130        have_safety_checks="yes"
131     else
132        have_safety_checks="no"
133     fi
134    ],
135    [have_safety_checks="yes"])
136
137 AC_MSG_CHECKING(whether to do safety checking on api parameters)
138 AC_MSG_RESULT($have_safety_checks)
139
140 AM_CONDITIONAL(SAFETY_CHECKS, test "x$have_safety_checks" = "xyes")
141 if test "x$have_safety_checks" = "xyes"; then
142   AC_DEFINE(EINA_SAFETY_CHECKS, 1, [disable safety checks for NULL pointers and like.])
143   EINA_CONFIGURE_SAFETY_CHECKS="#define EINA_SAFETY_CHECKS"
144 fi
145 AC_SUBST(EINA_CONFIGURE_SAFETY_CHECKS)
146
147 with_max_log_level="<unset>"
148 AC_ARG_WITH(internal-maximum-log-level,
149    [AC_HELP_STRING([--with-internal-maximum-log-level=NUMBER],
150                    [limit eina internal log level to the given number, any call to EINA_LOG() with values greater than this will be compiled out, ignoring runtime settings, but saving function calls.])],
151    [
152     if test "x${withval}" != "xno"; then
153        if echo "${withval}" | grep '^[[0-9]]\+$' >/dev/null 2>/dev/null; then
154           AC_MSG_NOTICE([ignoring any EINA_LOG() with level greater than ${withval}])
155           AC_DEFINE_UNQUOTED(EINA_LOG_LEVEL_MAXIMUM, ${withval}, [if set, logging is limited to this amount.])
156           with_max_log_level="${withval}"
157        else
158           AC_MSG_ERROR([--with-internal-maximum-log-level takes a decimal number, got "${withval}" instead.])
159        fi
160     fi
161     ], [:])
162
163 AC_ARG_ENABLE([amalgamation],
164    [AC_HELP_STRING([--enable-amalgamation], [enable generation of one single file with all source code in it, helps compiler optimizations.])],
165    [if test "x${enableval}" = "xyes"; then
166        do_amalgamation="yes"
167     else
168        do_amalgamation="no"
169     fi
170    ],
171    [do_amalgamation="no"]
172 )
173 AM_CONDITIONAL(EINA_AMALGAMATION, test "x${do_amalgamation}" = "xyes")
174
175 # Choose best memory pool
176 AC_ARG_ENABLE([default-mempool],
177    [AC_HELP_STRING([--enable-default-mempool], [Default memory allocator could be faster for some computer. @<:@default=disabled@:>@])],
178    [
179     if test "x${enableval}" = "xyes"; then
180        have_default_mempool="yes"
181     else
182        have_default_mempool="no"
183     fi
184    ],
185    [have_default_mempool="no"]
186 )
187 AC_MSG_CHECKING([whether to use default mempool allocator])
188 AC_MSG_RESULT([${have_default_mempool}])
189
190 if test "x${have_default_mempool}" = "xyes" ; then
191    EINA_CONFIGURE_DEFAULT_MEMPOOL="#define EINA_DEFAULT_MEMPOOL"
192 fi
193 AC_SUBST(EINA_CONFIGURE_DEFAULT_MEMPOOL)
194
195 # Report stringshare usage
196 AC_ARG_ENABLE([stringshare-usage],
197    [AC_HELP_STRING([--enable-stringshare-usage], [Report stringshare usage on stringshare shutdown. @<:@default=disabled@:>@])],
198    [
199     if test "x${enableval}" = "xyes"; then
200        have_stringshare_usage="yes"
201     else
202        have_stringshare_usage="no"
203     fi
204    ],
205    [have_stringshare_usage="no"]
206 )
207 AC_MSG_CHECKING([whether to report stringshare usage])
208 AC_MSG_RESULT([${have_stringshare_usage}])
209
210 if test "x${have_stringshare_usage}" = "xyes"; then
211    AC_DEFINE(EINA_STRINGSHARE_USAGE, 1, [Report Eina stringshare usage pattern])
212 fi
213
214 # Check if we want to benchmark on real data
215 enable_benchmark_e17="no"
216 AC_ARG_ENABLE([e17],
217    [AC_HELP_STRING([--enable-e17], [enable heavy benchmark @<:@default=no@:>@])],
218    [
219     if test "x${enableval}" = "xyes" ; then
220        enable_benchmark_e17="yes"
221     else
222        enable_benchmark_e17="no"
223     fi
224    ],
225    [enable_benchmark_e17="no"])
226
227 AC_MSG_CHECKING([whether e17 real data benchmark are built])
228 AC_MSG_RESULT([${enable_benchmark_e17}])
229
230 AM_CONDITIONAL(EINA_ENABLE_BENCHMARK_E17, test "x${enable_benchmark_e17}" = "xyes")
231
232
233 ### Checks for programs
234 AC_PROG_CC
235
236 # pkg-config
237 PKG_PROG_PKG_CONFIG
238
239 # Check whether pkg-config supports Requires.private
240 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
241    pkgconfig_requires_private="Requires.private"
242 else
243    pkgconfig_requires_private="Requires"
244 fi
245 AC_SUBST(pkgconfig_requires_private)
246
247 # doxygen program for documentation building
248
249 EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
250
251
252 ### Checks for libraries
253
254 # Evil library for compilation on Windows CE
255
256 EFL_EINA_BUILD=""
257 case "$host_os" in
258    mingw*)
259       PKG_CHECK_MODULES([EVIL], [evil])
260       AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if evil package is installed])
261       requirement_eina="evil"
262       EFL_EINA_BUILD="-DEFL_EINA_BUILD"
263    ;;
264 esac
265 AC_SUBST(EFL_EINA_BUILD)
266
267 # Check ememoa memory pool library
268
269 AC_ARG_ENABLE([ememoa],
270    [AC_HELP_STRING([--enable-ememoa], [build ememoa memory pool module @<:@default=yes@:>@])],
271    [
272     if test "x${enableval}" = "xyes" ; then
273        enable_ememoa="yes"
274     else
275        enable_ememoa="no"
276     fi
277    ],
278    [enable_ememoa="yes"]
279 )
280 AC_MSG_CHECKING([whether to use ememoa for memory pool])
281 AC_MSG_RESULT([$enable_ememoa])
282
283 if test "x${enable_ememoa}" = "xyes" ; then
284    PKG_CHECK_MODULES([EMEMOA],
285       [ememoa >= 0.0.26 ],
286       [enable_ememoa="yes"],
287       [enable_ememoa="no"]
288    )
289 fi
290
291 ### Checks for header files
292 AC_HEADER_ASSERT
293 AC_HEADER_DIRENT
294 AC_HEADER_TIME
295
296 ### Checks for types
297
298
299 ### Checks for structures
300
301
302 ### Checks for compiler characteristics
303 AC_C_CONST
304 AC_C_BIGENDIAN
305 AC_C_INLINE
306 AC_C___ATTRIBUTE__
307 AC_PROG_CC_STDC
308
309 EINA_CPPFLAGS=""
310 EINA_CFLAGS=""
311 case "$host_os" in
312    mingw32ce*)
313       EINA_CPPFLAGS="-D_WIN32_WCE=0x0420"
314       EINA_CFLAGS="${EVIL_CFLAGS}"
315       ;;
316    mingw*)
317       EINA_CPPFLAGS="-D_WIN32_WINNT=0x0501"
318       EINA_CFLAGS="${EVIL_CFLAGS}"
319       ;;
320 esac
321
322 m4_ifdef([v_mic],
323    [
324     EFL_COMPILER_FLAG([-Wall])
325     EFL_COMPILER_FLAG([-W])
326    ])
327
328 EFL_COMPILER_FLAG([-Wshadow])
329
330 AC_SUBST(EINA_CPPFLAGS)
331 AC_SUBST(EINA_CFLAGS)
332
333
334 ### Checks for linker characteristics
335 EINA_LIBS=
336 lt_enable_auto_import=""
337 case "${host_os}" in
338    mingw*)
339       EINA_LIBS="-ldl ${EVIL_LIBS} -lm"
340       lt_enable_auto_import="-Wl,--enable-auto-import"
341    ;;
342    dragonfly*|openbsd*)
343       EINA_LIBS="-lm"
344    ;;
345    freebsd*|netbsd*)
346       EINA_LIBS="-lrt -lm"
347    ;;
348    darwin*)
349       EINA_LIBS="-lm"
350    ;;
351    cygwin*)
352       EINA_LIBS="-ldl -lm"
353    ;;
354    *)
355       EINA_LIBS="-ldl -lrt -lm"
356    ;;
357 esac
358 AC_SUBST(EINA_LIBS)
359 AC_SUBST(lt_enable_auto_import)
360
361 EFL_LINKER_FLAG([-fno-strict-aliasing])
362
363
364 ### Checks for library functions
365 AC_FUNC_ALLOCA
366 AC_CHECK_FUNCS(strlcpy)
367
368 #dlopen and dladdr
369 dlopen_libs=""
370 case "$host_os" in
371    mingw*)
372 # managed by evil
373       AC_DEFINE(HAVE_DLADDR)
374       ;;
375    *)
376       AC_CHECK_FUNCS([dlopen], [res="yes"], [res="no"])
377       if test "x${res}" = "xyes" ; then
378          AC_CHECK_FUNCS([dladdr], [AC_DEFINE(HAVE_DLADDR)])
379       else
380          AC_CHECK_LIB([dl], [dlopen], [res="yes"], [res="no"])
381          if test "x${res}" = "xyes" ; then
382             AC_CHECK_LIB([dl], [dladdr], [AC_DEFINE(HAVE_DLADDR)])
383             dlopen_libs="-ldl"
384          else
385             AC_MSG_ERROR([Cannot find dlopen])
386          fi
387       fi
388       ;;
389 esac
390 AC_SUBST(dlopen_libs)
391
392 EFL_CHECK_FNMATCH([], [AC_MSG_ERROR([Cannot find fnmatch()])])
393
394 # iconv library
395 have_iconv="no"
396 AC_ARG_WITH([iconv-link],
397    AC_HELP_STRING([--with-iconv-link=ICONV_LINK], [explicitly specify an iconv link option]),
398    [
399     LIBS="$withval $LIBS"
400     have_iconv="yes"
401    ])
402
403 AC_MSG_CHECKING(for explicit iconv link options)
404 if test "x${iconv_libs}" = "x" ; then
405    AC_MSG_RESULT([no explicit iconv link option])
406 else
407    AC_MSG_RESULT([$iconv_libs])
408 fi
409
410 if test "x${have_iconv}" = "xno" ; then
411    AC_CHECK_HEADERS([iconv.h], [have_iconv="yes"])
412
413    if test "x${have_iconv}" = "xyes" ; then
414       AC_MSG_CHECKING([whether iconv() is in libc])
415       
416       AC_LINK_IFELSE(
417          [AC_LANG_PROGRAM(
418              [[
419 #include <stdlib.h>
420 #include <iconv.h>
421              ]],
422              [[
423 iconv_t ic;
424 size_t count = iconv(ic, NULL, NULL, NULL, NULL);
425              ]])],
426          [have_iconv="yes"],
427          [have_iconv="no"])
428
429       AC_MSG_RESULT([${have_iconv}])
430    fi
431
432    if test "x${have_iconv}" = "xno" ; then
433       AC_MSG_CHECKING([whether iconv() is in libiconv.a])
434
435       LIBS_save="${LIBS}"
436       LIBS="-liconv $LIBS"
437       AC_LINK_IFELSE(
438          [AC_LANG_PROGRAM(
439              [[
440 #include <stdlib.h>
441 #include <iconv.h>
442              ]],
443              [[
444 iconv_t ic;
445 size_t count;
446 count = iconv(ic, NULL, NULL, NULL, NULL);
447              ]])],
448          [have_iconv="yes"],
449          [
450           have_iconv="no"
451           LIBS=${LIBS_save}
452          ])
453
454       AC_MSG_RESULT([${have_iconv}])
455    fi
456
457    if test "x${have_iconv}" = "xno" ; then
458       AC_MSG_CHECKING([whether iconv() is in libiconv_plug.a])
459
460       LIBS_save="${LIBS}"
461       LIBS="-liconv_plug $LIBS"
462       AC_LINK_IFELSE(
463          [AC_LANG_PROGRAM(
464              [[
465 #include <stdlib.h>
466 #include <iconv.h>
467              ]],
468              [[
469 iconv_t ic;
470 size_t count = iconv(ic, NULL, NULL, NULL, NULL);
471              ]])],
472          [have_iconv="yes"],
473          [
474           have_iconv="no"
475           LIBS=${LIBS_save}
476          ])
477
478       AC_MSG_RESULT([${have_iconv}])
479    fi
480 fi
481
482 if test "x${have_iconv}" = "xyes" ; then
483    AC_DEFINE([HAVE_ICONV], [1], [Set to 1 if iconv library is installed])
484 fi
485
486
487 ### Modules
488
489 if test "x${have_default_mempool}" = "xyes" ; then
490    enable_chained_pool="no"
491    enable_pass_through="static"
492 else
493    enable_chained_pool="static"
494    enable_pass_through="no"
495 fi
496
497 EINA_CHECK_MODULE([chained-pool],   [${enable_chained_pool}], [chained pool])
498 EINA_CHECK_MODULE([ememoa-fixed],   [${enable_ememoa}],       [ememoa fixed])
499 EINA_CHECK_MODULE([ememoa-unknown], [${enable_ememoa}],       [ememoa unknown])
500 EINA_CHECK_MODULE([fixed-bitmap],   [no],                     [fixed bitmap])
501 EINA_CHECK_MODULE([pass-through],   [${enable_pass_through}], [pass through])
502 EINA_CHECK_MODULE([buddy],          [no],                     [buddy])
503
504
505 ### Make the debug preprocessor configurable
506
507 ### Unit tests, coverage and benchmarking
508
509 EFL_CHECK_TESTS([enable_tests="yes"], [enable_tests="no"])
510
511 EFL_CHECK_COVERAGE([${enable_tests}], [enable_coverage="yes"], [enable_coverage="no"])
512 EINA_CFLAGS="${EINA_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
513 EINA_LIBS="${EINA_LIBS} ${EFL_COVERAGE_LIBS}"
514 if test "x$enable_coverage" = "xyes" ; then
515    EINA_CFLAGS="${EINA_CFLAGS} ${EFL_DEBUG_CFLAGS}"
516 fi
517
518 EFL_CHECK_BENCHMARK([enable_benchmark="yes"], [enable_benchmark="no"])
519 EINA_BENCH_MODULE([glib], [${enable_benchmark}], [glib-2.0], [enable_benchmark_glib="yes"], [enable_benchmark_glib="no"])
520
521 AC_SUBST(requirement_eina)
522
523 ### Create the .pc.in file according to the major version
524 #cat > ${srcdir}/eina-${VMAJ}.pc.in << EOF
525 #prefix=@prefix@
526 #exec_prefix=@exec_prefix@
527 #libdir=@libdir@
528 #includedir=@includedir@
529 #
530 #Name: Eina
531 #Description: A Library that implements fast data types and miscellaneous tools
532 #Requires:
533 #Version: @VERSION@
534 #Libs: -L${libdir} -leina
535 #Libs.private: -ldl
536 #Cflags: -I${includedir}/eina-@VMAJ@ -I${includedir}/eina-@VMAJ@/eina
537 #EOF
538
539 AC_CONFIG_FILES([
540 Makefile
541 eina-0.pc
542 eina.spec
543 doc/Makefile
544 src/Makefile
545 src/include/Makefile
546 src/include/eina_config.h
547 src/lib/Makefile
548 src/modules/Makefile
549 src/modules/mp/Makefile
550 src/modules/mp/chained_pool/Makefile
551 src/modules/mp/ememoa_fixed/Makefile
552 src/modules/mp/ememoa_unknown/Makefile
553 src/modules/mp/pass_through/Makefile
554 src/modules/mp/fixed_bitmap/Makefile
555 src/modules/mp/buddy/Makefile
556 src/tests/Makefile
557 ])
558
559 AC_OUTPUT
560
561 #####################################################################
562 ## Info
563
564 echo
565 echo
566 echo
567 echo "------------------------------------------------------------------------"
568 echo "$PACKAGE $VERSION"
569 echo "------------------------------------------------------------------------"
570 echo
571 echo
572 echo "Configuration Options Summary:"
573 echo
574 echo "  Magic debug..........: ${have_magic_debug}"
575 echo "  Safety checks........: ${have_safety_checks}"
576 echo "  Maximum log level....: ${with_max_log_level}"
577 echo "  Report string usage..: ${have_stringshare_usage}"
578 echo "  Default mempool......: ${have_default_mempool}"
579 echo $ECHO_N "  Thread Support.......: ${have_threads}$ECHO_C"
580 if test "${have_threads}" = "POSIX" ; then
581    echo " (spinlock: ${have_posix_threads_spinlock})"
582 else
583    echo
584 fi
585 echo "  Amalgamation.........: ${do_amalgamation}"
586 echo "  Iconv support........: ${have_iconv}"
587 echo
588 echo "  Documentation........: ${build_doc}"
589 echo "  Tests................: ${enable_tests}"
590 echo "  Coverage.............: ${enable_coverage}"
591 echo "  Benchmark............: ${enable_benchmark}"
592 if test "x${enable_benchmark}" = "xyes" ; then
593 echo "    Glib...............: ${enable_benchmark_glib}"
594 echo "    E17 real data......: ${enable_benchmark_e17}"
595 fi
596 echo
597 echo "  CPU Specific Extensions:"
598 echo "    MMX................: ${have_mmx}"
599 echo "    SSE................: ${have_sse}"
600 echo "    SSE2...............: ${have_sse2}"
601 echo "    ALTIVEC............: ${have_altivec}"
602 echo
603 echo "  Memory pools:"
604 echo "    Chained pool.......: ${enable_chained_pool}"
605 echo "    Ememoa fixed.......: ${enable_ememoa_fixed}"
606 echo "    Ememoa unknown.....: ${enable_ememoa_unknown}"
607 echo "    Fixed bitmap.......: ${enable_fixed_bitmap}"
608 echo "    Pass through.......: ${enable_pass_through}"
609 echo "    Buddy..............: ${enable_buddy}"
610 echo
611 echo "Compilation............: make (or gmake)"
612 echo "  CPPFLAGS.............: $CPPFLAGS"
613 echo "  CFLAGS...............: $CFLAGS"
614 echo "  LDFLAGS..............: $LDFLAGS"
615 echo
616 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
617 echo "  prefix...............: $prefix"
618 echo