blob: 1b59f83ceaac3ccd9a782fbe859fb32c841c8cc4 [file] [log] [blame]
Jason Evansb7924f52009-06-23 19:01:18 -07001dnl Process this file with autoconf to produce a configure script.
2AC_INIT([Makefile.in])
3
Jason Evansf3340ca2009-06-30 16:17:05 -07004dnl ============================================================================
5dnl Custom macro definitions.
6
7dnl JE_CFLAGS_APPEND(cflag)
8AC_DEFUN([JE_CFLAGS_APPEND],
9[
10AC_MSG_CHECKING([whether compiler supports $1])
11TCFLAGS="${CFLAGS}"
12if test "x${CFLAGS}" = "x" ; then
13 CFLAGS="$1"
14else
15 CFLAGS="${CFLAGS} $1"
16fi
17AC_RUN_IFELSE([AC_LANG_PROGRAM(
18[[
19]], [[
20 return 0;
21]])],
22 AC_MSG_RESULT([yes]),
23 AC_MSG_RESULT([no])
24 [CFLAGS="${TCFLAGS}"]
25)
26])
27
28dnl JE_COMPILABLE(label, hcode, mcode, rvar)
29AC_DEFUN([JE_COMPILABLE],
30[
31AC_MSG_CHECKING([whether $1 is compilable])
32AC_RUN_IFELSE([AC_LANG_PROGRAM(
33[$2], [$3])],
34 AC_MSG_RESULT([yes])
35 [$4="yes"],
36 AC_MSG_RESULT([no])
37 [$4="no"]
38)
39])
40
41dnl ============================================================================
42
Jason Evansb7924f52009-06-23 19:01:18 -070043srcroot=$srcdir
44if test "x${srcroot}" = "x." ; then
45 srcroot=""
46else
47 srcroot="${srcroot}/"
48fi
49AC_SUBST([srcroot])
50abs_srcroot="`cd \"${srcdir}\"; pwd`/"
51AC_SUBST([abs_srcroot])
52
53objroot=""
54AC_SUBST([objroot])
55abs_objroot="`pwd`/"
56AC_SUBST([abs_objroot])
57
58dnl Munge install path variables.
59if test "x$prefix" = "xNONE" ; then
60 prefix="/usr/local"
61fi
62if test "x$exec_prefix" = "xNONE" ; then
63 exec_prefix=$prefix
64fi
65PREFIX=$prefix
66AC_SUBST([PREFIX])
67BINDIR=`eval echo $bindir`
68BINDIR=`eval echo $BINDIR`
69AC_SUBST([BINDIR])
70INCLUDEDIR=`eval echo $includedir`
71INCLUDEDIR=`eval echo $INCLUDEDIR`
72AC_SUBST([INCLUDEDIR])
73LIBDIR=`eval echo $libdir`
74LIBDIR=`eval echo $LIBDIR`
75AC_SUBST([LIBDIR])
76DATADIR=`eval echo $datadir`
77DATADIR=`eval echo $DATADIR`
78AC_SUBST([DATADIR])
79MANDIR=`eval echo $mandir`
80MANDIR=`eval echo $MANDIR`
81AC_SUBST([MANDIR])
82
Jason Evanscc00a152009-06-25 18:06:48 -070083cfgoutputs="Makefile doc/jemalloc.3"
Jason Evansb7924f52009-06-23 19:01:18 -070084cfghdrs="src/jemalloc_defs.h"
85
Jason Evansf3340ca2009-06-30 16:17:05 -070086dnl If CFLAGS isn't defined, set CFLAGS to something reasonable. Otherwise,
87dnl just prevent autoconf from molesting CFLAGS.
Jason Evansb7924f52009-06-23 19:01:18 -070088CFLAGS=$CFLAGS
89AC_PROG_CC
90if test "x$CFLAGS" = "x" ; then
91 no_CFLAGS="yes"
Jason Evansf3340ca2009-06-30 16:17:05 -070092 JE_CFLAGS_APPEND([-std=gnu99])
93 JE_CFLAGS_APPEND([-Wall])
94 JE_CFLAGS_APPEND([-pipe])
95 JE_CFLAGS_APPEND([-g3])
96 JE_CFLAGS_APPEND([-march=native])
97 JE_CFLAGS_APPEND([-ftls-model=initial-exec])
Jason Evansb7924f52009-06-23 19:01:18 -070098fi
99dnl Append EXTRA_CFLAGS to CFLAGS, if defined.
100if test "x$EXTRA_CFLAGS" != "x" ; then
Jason Evansf3340ca2009-06-30 16:17:05 -0700101 JE_CFLAGS_APPEND([$EXTRA_CFLAGS])
Jason Evansb7924f52009-06-23 19:01:18 -0700102fi
103AC_PROG_CPP
104
105dnl sizeof_ptr is needed by the build system.
106AC_CHECK_SIZEOF([void *])
107if test "x${ac_cv_sizeof_void_p}" = "x8" ; then
108 SIZEOF_PTR_2POW=3
109elif test "x${ac_cv_sizeof_void_p}" = "x4" ; then
110 SIZEOF_PTR_2POW=2
111else
112 AC_MSG_ERROR([Unsupported pointer size: ${ac_cv_sizeof_void_p}])
113fi
114AC_DEFINE_UNQUOTED([SIZEOF_PTR_2POW], [$SIZEOF_PTR_2POW])
115
116AC_CANONICAL_HOST
117dnl CPU-specific settings.
118CPU_SPINWAIT=""
119case "${host_cpu}" in
120 i[[345]]86)
121 ;;
122 i686)
Jason Evansf3340ca2009-06-30 16:17:05 -0700123 JE_COMPILABLE([__asm__], [], [[__asm__ volatile("pause"); return 0;]],
124 [asm])
125 if test "x${asm}" = "xyes" ; then
126 CPU_SPINWAIT='__asm__ volatile("pause")'
127 fi
Jason Evansb7924f52009-06-23 19:01:18 -0700128 ;;
129 x86_64)
Jason Evansf3340ca2009-06-30 16:17:05 -0700130 JE_COMPILABLE([__asm__ syntax], [],
131 [[__asm__ volatile("pause"); return 0;]], [asm])
132 if test "x${asm}" = "xyes" ; then
133 CPU_SPINWAIT='__asm__ volatile("pause")'
134 fi
Jason Evansb7924f52009-06-23 19:01:18 -0700135 ;;
136 *)
137 ;;
138esac
139AC_DEFINE_UNQUOTED([CPU_SPINWAIT], [$CPU_SPINWAIT])
140
Jason Evansf3340ca2009-06-30 16:17:05 -0700141JE_COMPILABLE([__attribute__ syntax],
142 [static __attribute__((unused)) void foo(void){}],
143 [],
144 [attribute])
145if test "x${attribute}" = "xyes" ; then
146 AC_DEFINE_UNQUOTED([JEMALLOC_UNUSED], [__attribute__((unused))])
147else
148 AC_DEFINE_UNQUOTED([JEMALLOC_UNUSED], [])
149fi
150
Jason Evansb7924f52009-06-23 19:01:18 -0700151dnl Platform-specific settings. abi and RPATH can probably be determined
152dnl programmatically, but doing so is error-prone, which makes it generally
153dnl not worth the trouble.
154dnl
155dnl Define cpp macros in CPPFLAGS, rather than doing AC_DEFINE(macro), since the
156dnl definitions need to be seen before any headers are included, which is a pain
157dnl to make happen otherwise.
158case "${host}" in
159 *-*-darwin*)
160 CFLAGS="$CFLAGS -fno-common -no-cpp-precomp"
161 abi="macho"
162 RPATH=""
163 ;;
164 *-*-freebsd*)
165 CFLAGS="$CFLAGS"
166 abi="elf"
167 RPATH="-Wl,-rpath,"
168 ;;
169 *-*-linux*)
170 CFLAGS="$CFLAGS"
171 CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
172 abi="elf"
173 RPATH="-Wl,-rpath,"
174 ;;
175 *-*-netbsd*)
176 AC_MSG_CHECKING([ABI])
177 AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
178[[#ifdef __ELF__
179/* ELF */
180#else
181#error aout
182#endif
183]])],
184 [CFLAGS="$CFLAGS"; abi="elf"],
185 [abi="aout"])
186 AC_MSG_RESULT([$abi])
187 RPATH="-Wl,-rpath,"
188 ;;
189 *-*-solaris2*)
190 CFLAGS="$CFLAGS"
191 abi="elf"
192 RPATH="-Wl,-R,"
193 dnl Solaris needs this for sigwait().
194 CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
195 LIBS="$LIBS -lposix4 -lsocket -lnsl"
196 ;;
197 *)
198 AC_MSG_RESULT([Unsupported operating system: ${host}])
199 abi="elf"
200 RPATH="-Wl,-rpath,"
201 ;;
202esac
203AC_SUBST([abi])
204AC_SUBST([RPATH])
205
206dnl Support optional additions to rpath.
207AC_ARG_WITH([rpath],
208 [AS_HELP_STRING([--with-rpath=<rpath>], [colon-separated rpath (ELF systems only)])],
209if test "x$with_rpath" = "xno" ; then
210 RPATH_EXTRA=
211else
212 RPATH_EXTRA="`echo $with_rpath | tr \":\" \" \"`"
213fi,
214 RPATH_EXTRA=
215)
216AC_SUBST([RPATH_EXTRA])
217
218dnl Disable rules that do automatic regeneration of configure output by default.
219AC_ARG_ENABLE([autogen],
220 [AS_HELP_STRING[--enable-autogen], [Automatically regenerate configure output])],
221if test "x$enable_autogen" = "xno" ; then
222 enable_autogen="0"
223else
224 enable_autogen="1"
225fi
226,
227enable_autogen="0"
228)
229AC_SUBST([enable_autogen])
230
231AC_PROG_INSTALL
232AC_PROG_RANLIB
233AC_PATH_PROG([AR], [ar], , [$PATH])
234AC_PATH_PROG([LD], [ld], , [$PATH])
235AC_PATH_PROG([AUTOCONF], [autoconf], , [$PATH])
236
237dnl Do not compile with debugging by default.
238AC_ARG_ENABLE([debug],
239 [AS_HELP_STRING([--enable-debug], [Build debugging code])],
240[if test "x$enable_debug" = "xno" ; then
241 enable_debug="0"
242else
243 enable_debug="1"
244fi
245],
246[enable_debug="0"]
247)
248if test "x$enable_debug" = "x1" ; then
249 AC_DEFINE([JEMALLOC_DEBUG], [ ])
250fi
251AC_SUBST([enable_debug])
252
253dnl Only optimize if not debugging.
254if test "x$enable_debug" = "x0" -a "x$no_CFLAGS" = "xyes" ; then
255 dnl Make sure that an optimization flag was not specified in EXTRA_CFLAGS.
Jason Evansf3340ca2009-06-30 16:17:05 -0700256 optimize="no"
257 echo "$EXTRA_CFLAGS" | grep "\-O" >/dev/null || optimize="yes"
258 if test "x${optimize}" = "xyes" ; then
259 if test "x$GCC" = "xyes" ; then
260 JE_CFLAGS_APPEND([-O3])
261 JE_CFLAGS_APPEND([-funroll-loops])
262 JE_CFLAGS_APPEND([-fomit-frame-pointer])
263 else
264 JE_CFLAGS_APPEND([-O])
265 fi
Jason Evansb7924f52009-06-23 19:01:18 -0700266 fi
267fi
268
269dnl Do not enable statistics calculation by default.
270AC_ARG_ENABLE([stats],
271 [AS_HELP_STRING([--enable-stats], [Enable statistics calculation/reporting])],
272[if test "x$enable_stats" = "xno" ; then
273 enable_stats="0"
274else
275 enable_stats="1"
276fi
277],
278[enable_stats="0"]
279)
280if test "x$enable_stats" = "x1" ; then
281 AC_DEFINE([JEMALLOC_STATS], [ ])
282fi
283AC_SUBST([enable_stats])
Jason Evanscc00a152009-06-25 18:06:48 -0700284if test "x$enable_stats" = "x0" ; then
285 roff_stats=".\\\" "
286else
287 roff_stats=""
288fi
289AC_SUBST([roff_stats])
Jason Evansb7924f52009-06-23 19:01:18 -0700290
291dnl Enable tiny allocations by default.
292AC_ARG_ENABLE([tiny],
293 [AS_HELP_STRING([--disable-tiny], [Disable tiny (sub-quantum) allocations])],
294[if test "x$enable_tiny" = "xno" ; then
295 enable_tiny="0"
296else
297 enable_tiny="1"
298fi
299],
300[enable_tiny="1"]
301)
302if test "x$enable_tiny" = "x1" ; then
303 AC_DEFINE([JEMALLOC_TINY], [ ])
304fi
305AC_SUBST([enable_tiny])
Jason Evanscc00a152009-06-25 18:06:48 -0700306if test "x$enable_tiny" = "x0" ; then
307 roff_tiny=".\\\" "
308 roff_no_tiny=""
309else
310 roff_tiny=""
311 roff_no_tiny=".\\\" "
312fi
313AC_SUBST([roff_tiny])
314AC_SUBST([roff_no_tiny])
Jason Evansb7924f52009-06-23 19:01:18 -0700315
316dnl Enable magazines by default.
317AC_ARG_ENABLE([mag],
318 [AS_HELP_STRING([--disable-mag], [Disable magazines (per thread caches)])],
319[if test "x$enable_mag" = "xno" ; then
320 enable_mag="0"
321else
322 enable_mag="1"
323fi
324],
325[enable_mag="1"]
326)
327if test "x$enable_mag" = "x1" ; then
328 AC_DEFINE([JEMALLOC_MAG], [ ])
329fi
330AC_SUBST([enable_mag])
Jason Evanscc00a152009-06-25 18:06:48 -0700331if test "x$enable_mag" = "x0" ; then
332 roff_mag=".\\\" "
333else
334 roff_mag=""
335fi
336AC_SUBST([roff_mag])
Jason Evansb7924f52009-06-23 19:01:18 -0700337
338dnl Enable dynamic arena load balancing by default.
339AC_ARG_ENABLE([balance],
340 [AS_HELP_STRING([--disable-balance], [Disable dynamic arena load balancing])],
341[if test "x$enable_balance" = "xno" ; then
342 enable_balance="0"
343else
344 enable_balance="1"
345fi
346],
347[enable_balance="1"]
348)
349if test "x$enable_balance" = "x1" ; then
350 AC_DEFINE([JEMALLOC_BALANCE], [ ])
351fi
352AC_SUBST([enable_balance])
Jason Evanscc00a152009-06-25 18:06:48 -0700353if test "x$enable_balance" = "x0" ; then
354 roff_balance=".\\\" "
355else
356 roff_balance=""
357fi
358AC_SUBST([roff_balance])
Jason Evansb7924f52009-06-23 19:01:18 -0700359
360dnl Do not enable allocation from DSS by default.
361AC_ARG_ENABLE([dss],
362 [AS_HELP_STRING([--enable-dss], [Enable allocation from DSS])],
363[if test "x$enable_dss" = "xno" ; then
364 enable_dss="0"
365else
366 enable_dss="1"
367fi
368],
369[enable_dss="0"]
370)
371if test "x$enable_dss" = "x1" ; then
372 AC_DEFINE([JEMALLOC_DSS], [ ])
373fi
374AC_SUBST([enable_dss])
Jason Evanscc00a152009-06-25 18:06:48 -0700375if test "x$enable_dss" = "x0" ; then
376 roff_dss=".\\\" "
377else
378 roff_dss=""
379fi
380AC_SUBST([roff_dss])
Jason Evansb7924f52009-06-23 19:01:18 -0700381
382dnl Do not support the junk/zero filling option by default.
383AC_ARG_ENABLE([fill],
384 [AS_HELP_STRING([--enable-fill], [Support junk/zero filling option])],
385[if test "x$enable_fill" = "xno" ; then
386 enable_fill="0"
387else
388 enable_fill="1"
389fi
390],
391[enable_fill="0"]
392)
393if test "x$enable_fill" = "x1" ; then
394 AC_DEFINE([JEMALLOC_FILL], [ ])
395fi
396AC_SUBST([enable_fill])
Jason Evanscc00a152009-06-25 18:06:48 -0700397if test "x$enable_fill" = "x0" ; then
398 roff_fill=".\\\" "
399else
400 roff_fill=""
401fi
402AC_SUBST([roff_fill])
Jason Evansb7924f52009-06-23 19:01:18 -0700403
404dnl Do not support the xmalloc option by default.
405AC_ARG_ENABLE([xmalloc],
406 [AS_HELP_STRING([--enable-xmalloc], [Support xmalloc option])],
407[if test "x$enable_xmalloc" = "xno" ; then
408 enable_xmalloc="0"
409else
410 enable_xmalloc="1"
411fi
412],
413[enable_xmalloc="0"]
414)
415if test "x$enable_xmalloc" = "x1" ; then
416 AC_DEFINE([JEMALLOC_XMALLOC], [ ])
417fi
418AC_SUBST([enable_xmalloc])
Jason Evanscc00a152009-06-25 18:06:48 -0700419if test "x$enable_xmalloc" = "x0" ; then
420 roff_xmalloc=".\\\" "
421else
422 roff_xmalloc=""
423fi
424AC_SUBST([roff_xmalloc])
Jason Evansb7924f52009-06-23 19:01:18 -0700425
426dnl Do not support the SYSV option by default.
427AC_ARG_ENABLE([sysv],
428 [AS_HELP_STRING([--enable-sysv], [Support SYSV semantics option])],
429[if test "x$enable_sysv" = "xno" ; then
430 enable_sysv="0"
431else
432 enable_sysv="1"
433fi
434],
435[enable_sysv="0"]
436)
437if test "x$enable_sysv" = "x1" ; then
438 AC_DEFINE([JEMALLOC_SYSV], [ ])
439fi
440AC_SUBST([enable_sysv])
Jason Evanscc00a152009-06-25 18:06:48 -0700441if test "x$enable_sysv" = "x0" ; then
442 roff_sysv=".\\\" "
443else
444 roff_sysv=""
445fi
446AC_SUBST([roff_sysv])
Jason Evansb7924f52009-06-23 19:01:18 -0700447
448dnl Do not determine page shift at run time by default.
449AC_ARG_ENABLE([dynamic_page_shift],
450 [AS_HELP_STRING([--enable-dynamic-page-shift],
451 [Determine page size at run time (don't trust configure result)])],
452[if test "x$enable_dynamic_page_shift" = "xno" ; then
453 enable_dynamic_page_shift="0"
454else
455 enable_dynamic_page_shift="1"
456fi
457],
458[enable_dynamic_page_shift="0"]
459)
460if test "x$enable_dynamic_page_shift" = "x1" ; then
461 AC_DEFINE([DYNAMIC_PAGE_SHIFT], [ ])
462fi
463AC_SUBST([enable_dynamic_page_shift])
464
465AC_MSG_CHECKING([STATIC_PAGE_SHIFT])
466AC_RUN_IFELSE([AC_LANG_PROGRAM(
467[[#include <stdio.h>
468#include <unistd.h>
469#include <strings.h>
470]], [[
471 long result;
472 FILE *f;
473
474 result = sysconf(_SC_PAGESIZE);
475 if (result == -1) {
476 return 1;
477 }
478 f = fopen("conftest.out", "w");
479 if (f == NULL) {
480 return 1;
481 }
482 fprintf(f, "%u\n", ffs((int)result) - 1);
483 close(f);
484
485 return 0;
486]])],
487 [STATIC_PAGE_SHIFT=`cat conftest.out`]
488 AC_MSG_RESULT([$STATIC_PAGE_SHIFT])
489 AC_DEFINE_UNQUOTED([STATIC_PAGE_SHIFT], [$STATIC_PAGE_SHIFT]),
490 AC_MSG_RESULT([error]))
491
492dnl ============================================================================
493dnl jemalloc configuration.
494dnl
495jemalloc_version=`cat ${srcroot}VERSION`
Jason Evanscc00a152009-06-25 18:06:48 -0700496AC_DEFINE_UNQUOTED([JEMALLOC_VERSION], ["$jemalloc_version"])
Jason Evansb7924f52009-06-23 19:01:18 -0700497AC_SUBST([jemalloc_version])
498
499dnl ============================================================================
500dnl Configure pthreads.
501
502AC_CHECK_HEADERS([pthread.h], , [AC_MSG_ERROR([pthread.h is missing])])
503AC_CHECK_LIB([pthread], [pthread_create], [LIBS="$LIBS -lpthread"],
504 [AC_MSG_ERROR([libpthread is missing])])
505
506CPPFLAGS="$CPPFLAGS -D_REENTRANT"
507
508AC_MSG_CHECKING([for TLS])
509AC_RUN_IFELSE([AC_LANG_PROGRAM(
510[[
511 __thread int x;
512]], [[
513 x = 42;
514
515 return 0;
516]])],
Jason Evanscc00a152009-06-25 18:06:48 -0700517 AC_MSG_RESULT([yes])
518 roff_tls="",
Jason Evansb7924f52009-06-23 19:01:18 -0700519 AC_MSG_RESULT([no])
Jason Evanscc00a152009-06-25 18:06:48 -0700520 roff_tls=".\\\" "
Jason Evansb7924f52009-06-23 19:01:18 -0700521 AC_DEFINE_UNQUOTED([NO_TLS], [ ]))
Jason Evanscc00a152009-06-25 18:06:48 -0700522AC_SUBST([roff_tls])
Jason Evansb7924f52009-06-23 19:01:18 -0700523
Jason Evanscc00a152009-06-25 18:06:48 -0700524dnl Enable lazy locking by default.
Jason Evansb7924f52009-06-23 19:01:18 -0700525AC_ARG_ENABLE([lazy_lock],
526 [AS_HELP_STRING([--enable-lazy-lock],
Jason Evanscc00a152009-06-25 18:06:48 -0700527 [Disable lazy locking (always lock, even when single-threaded)])],
Jason Evansb7924f52009-06-23 19:01:18 -0700528[if test "x$enable_lazy_lock" = "xno" ; then
529 enable_lazy_lock="0"
530else
531 enable_lazy_lock="1"
532fi
533],
Jason Evanscc00a152009-06-25 18:06:48 -0700534[enable_lazy_lock="1"]
Jason Evansb7924f52009-06-23 19:01:18 -0700535)
536if test "x$enable_lazy_lock" = "x1" ; then
537 AC_CHECK_HEADERS([dlfcn.h], , [AC_MSG_ERROR([dlfcn.h is missing])])
538 AC_CHECK_LIB([dl], [dlopen], [LIBS="$LIBS -ldl"],
539 [AC_MSG_ERROR([libdl is missing])])
540 AC_DEFINE([JEMALLOC_LAZY_LOCK], [ ])
541fi
542AC_SUBST([enable_lazy_lock])
543
544dnl ============================================================================
545dnl Check for typedefs, structures, and compiler characteristics.
546AC_HEADER_STDBOOL
547
548dnl Process .in files.
549AC_SUBST([cfghdrs])
550AC_CONFIG_HEADERS([$cfghdrs cfghdrs.stamp])
551
552dnl ============================================================================
553dnl Generate outputs.
554AC_CONFIG_FILES([$cfgoutputs cfgoutputs.stamp])
555AC_SUBST([cfgoutputs])
556AC_OUTPUT
557
558dnl ============================================================================
559dnl Print out the results of configuration.
560AC_MSG_RESULT([===============================================================================])
561AC_MSG_RESULT([jemalloc version : $jemalloc_version])
562AC_MSG_RESULT([])
563AC_MSG_RESULT([CC : ${CC}])
564AC_MSG_RESULT([CPPFLAGS : ${CPPFLAGS}])
565AC_MSG_RESULT([CFLAGS : ${CFLAGS}])
566AC_MSG_RESULT([LDFLAGS : ${LDFLAGS}])
567AC_MSG_RESULT([LIBS : ${LIBS}])
568AC_MSG_RESULT([RPATH_EXTRA : ${RPATH_EXTRA}])
569AC_MSG_RESULT([])
570AC_MSG_RESULT([PREFIX : ${PREFIX}])
571AC_MSG_RESULT([BINDIR : ${BINDIR}])
572AC_MSG_RESULT([DATADIR : ${DATADIR}])
573AC_MSG_RESULT([MANDIR : ${MANDIR}])
574AC_MSG_RESULT([])
575AC_MSG_RESULT([srcroot : ${srcroot}])
576AC_MSG_RESULT([abs_srcroot : ${abs_srcroot}])
577AC_MSG_RESULT([objroot : ${objroot}])
578AC_MSG_RESULT([abs_objroot : ${abs_objroot}])
579AC_MSG_RESULT([])
580AC_MSG_RESULT([autogen : ${enable_autogen}])
581AC_MSG_RESULT([debug : ${enable_debug}])
582AC_MSG_RESULT([stats : ${enable_stats}])
583AC_MSG_RESULT([tiny : ${enable_tiny}])
584AC_MSG_RESULT([mag : ${enable_mag}])
585AC_MSG_RESULT([balance : ${enable_balance}])
586AC_MSG_RESULT([fill : ${enable_fill}])
587AC_MSG_RESULT([xmalloc : ${enable_xmalloc}])
588AC_MSG_RESULT([sysv : ${enable_sysv}])
589AC_MSG_RESULT([dss : ${enable_dss}])
590AC_MSG_RESULT([dynamic_page_shift : ${enable_dynamic_page_shift}])
591AC_MSG_RESULT([lazy_lock : ${enable_lazy_lock}])
592AC_MSG_RESULT([===============================================================================])