fix: add missing 'S' to AC_CHECK_PROGS
[urcu.git] / configure.ac
CommitLineData
23975ca7
MJ
1dnl SPDX-License-Identifier: LGPL-2.1-only
2dnl
3dnl Copyright (C) 2021 EfficiOS, Inc.
4dnl
5dnl Process this file with autoconf to produce a configure script.
6
7# Project version information
8m4_define([urcu_version_major], [0])
ee966010 9m4_define([urcu_version_minor], [13])
23975ca7 10m4_define([urcu_version_patch], [0])
ee966010 11m4_define([urcu_version_dev_stage], [-pre])
23975ca7
MJ
12m4_define([urcu_version], urcu_version_major[.]urcu_version_minor[.]urcu_version_patch[]urcu_version_dev_stage)
13
14# Library version information of "liburcu"
98bc124a
YB
15# Following the numbering scheme proposed by libtool for the library version
16# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
23975ca7
MJ
17m4_define([urcu_lib_version_current], [7])
18m4_define([urcu_lib_version_revision], [0])
19m4_define([urcu_lib_version_age], [1])
20m4_define([urcu_lib_version], urcu_lib_version_current[:]urcu_lib_version_revision[:]urcu_lib_version_age)
21
22
23## ##
24## Autoconf base setup ##
25## ##
26
afb6113f 27AC_PREREQ([2.69])
23975ca7 28AC_INIT([userspace-rcu],[urcu_version],[mathieu dot desnoyers at efficios dot com],[],[http://liburcu.org/])
98bc124a 29
6893800a 30AC_CONFIG_HEADERS([include/config.h include/urcu/config.h])
48d848c7 31AC_CONFIG_AUX_DIR([config])
074c3a1b
MJ
32AC_CONFIG_MACRO_DIR([m4])
33
7d413817
MD
34AC_CANONICAL_TARGET
35AC_CANONICAL_HOST
074c3a1b 36
afb6113f
MJ
37
38## ##
39## Automake base setup ##
40## ##
41
42AM_INIT_AUTOMAKE([1.12 foreign dist-bzip2 no-dist-gzip nostdinc -Wall -Wno-portability -Werror])
35eb2d6c 43AM_MAINTAINER_MODE([enable])
7d413817 44
afb6113f
MJ
45# Enable silent rules by default
46AM_SILENT_RULES([yes])
e72596d1 47
514079bb
MJ
48
49## ##
50## OS and Arch specific defaults ##
51## ##
52
53AS_CASE([$host],
54 [*-cygwin*], [LT_NO_UNDEFINED="-no-undefined"]
55)
56
57
8b2f0590
MJ
58## ##
59## C compiler checks ##
60## ##
61
62# Choose the C compiler
63AC_PROG_CC
64# AC_PROG_CC_STDC was merged in AC_PROG_CC in autoconf 2.70
65m4_version_prereq([2.70], [], [AC_PROG_CC_STDC])
66
67# Make sure the C compiler supports C99
68AS_IF([test "$ac_cv_prog_cc_c99" = "no"], [AC_MSG_ERROR([The compiler does not support C99])])
69
70# Enable available system extensions and LFS support
71AC_USE_SYSTEM_EXTENSIONS
72AC_SYS_LARGEFILE
73
74# Make sure the C compiler supports __attribute__
75AX_C___ATTRIBUTE__
76AS_IF([test "x$ax_cv___attribute__" != "xyes"],
77 [AC_MSG_ERROR([The compiler does not support __attribute__ extensions])])
78
79# Make sure we have pthread support
80AX_PTHREAD([], [AC_MSG_ERROR([Could not configure pthread support])])
81
82# Make sure the C compiler supports weak symbols
83AX_SYS_WEAK_ALIAS
84AS_IF([test "x$ax_cv_sys_weak_alias" = "xno"],
85 [AC_MSG_ERROR([Your platform doesn't support weak symbols.])])
86
87# Checks for typedefs, structures, and compiler characteristics.
88AC_C_INLINE
89AC_C_TYPEOF
90AC_TYPE_INT32_T
91AC_TYPE_PID_T
92AC_TYPE_SIZE_T
93AC_TYPE_SSIZE_T
94AC_TYPE_UINT16_T
95AC_TYPE_UINT32_T
96AC_TYPE_UINT64_T
97AC_TYPE_UINT8_T
98
99
6b5533b0
MJ
100## ##
101## Header checks ##
102## ##
103
104AC_HEADER_STDBOOL
105AC_CHECK_HEADERS([ \
106 limits.h \
107 stddef.h \
108 sys/param.h \
109 sys/time.h \
110])
111
112
113## ##
114## Programs checks ##
115## ##
116
117AC_PROG_AWK
118AC_PROG_GREP
119AC_PROG_MAKE_SET
120AC_CHECK_PROGS(NPROC, [nproc gnproc])
f0124a5a 121AC_CHECK_PROGS(GETCONF, [getconf])
6b5533b0
MJ
122AS_IF([test "x$NPROC" != "x"],
123 [NPROC_CMD=$NPROC],
124 [AS_IF([test "x$GETCONF" != "x"],
125 [NPROC_CMD="$GETCONF _NPROCESSORS_ONLN"],
126 [NPROC_CMD="echo 1"]
127 )]
128)
129AC_SUBST([NPROC_CMD], [$NPROC_CMD])
130
131# Initialize and configure libtool
132LT_INIT
133
134
c673679b
MJ
135## ##
136## Library checks ##
137## ##
138
139# Checks for library functions.
140AC_FUNC_MMAP
141AC_FUNC_FORK
142AC_CHECK_FUNCS([ \
143 atexit \
144 getcpuid \
145 gettid \
146 gettimeofday \
147 memeset \
148 memset \
149 munmap \
150 rand_r \
151 sched_getcpu \
0614a2e6 152 sched_setaffinity \
c673679b
MJ
153 strerror \
154 strtoul \
155 sysconf \
156])
157
158# AC_FUNC_MALLOC causes problems when cross-compiling.
159#AC_FUNC_MALLOC
160
161# Search for clock_gettime() in -lrt
162AC_SEARCH_LIBS([clock_gettime], [rt], [
163 AC_DEFINE([CONFIG_RCU_HAVE_CLOCK_GETTIME], [1], [clock_gettime() is detected.])
164])
165
166
86bc2ad8
MJ
167## ##
168## Optionnal features selection ##
169## ##
170
171# Allow to fallback to FIXME if the membarrier syscall is unavailable on the
172# running kernel, when disabled, abort if the syscall is unavailable. Applies
173# to default and bulletproof flavors.
174# Enabled by default
175AE_FEATURE_DEFAULT_ENABLE
176AE_FEATURE([sys-membarrier-fallback], [Abort if sys-membarrier is needed but not available rather than using a fallback.])
177
178# Use compiler Thread Local Storage, when disabled use pthread_getspecific() to emulate TLS.
179# Enabled by default
180AE_FEATURE_DEFAULT_ENABLE
181AE_FEATURE([compiler-tls], [Use pthread_getspecific() to emulate Thread Local Storage (TLS) variables.])
c673679b 182
86bc2ad8
MJ
183# smp-support configure option
184# Enabled by default
185AE_FEATURE_DEFAULT_ENABLE
186AE_FEATURE([smp-support], [Disable SMP support. Warning: only use this on uniprocessor systems.])
d8d9a340 187
86bc2ad8
MJ
188# RCU debugging option
189# Disabled by default
190AE_FEATURE_DEFAULT_DISABLE
191AE_FEATURE([rcu-debug], [Enable internal debugging self-checks. Introduces a performance penalty.])
a767fdc3 192
86bc2ad8
MJ
193# rculfhash iterator debugging
194# Disabled by default
195AE_FEATURE_DEFAULT_DISABLE
196AE_FEATURE([cds-lfht-iter-debug], [Enable extra debugging checks for lock-free hash table iterator traversal. Alters the rculfhash ABI. Make sure to compile both library and application with matching configuration.])
75478b32 197
48d848c7 198
86bc2ad8
MJ
199## ##
200## Set defines for optional features conditionnals in the source code ##
201## ##
48d848c7 202
86bc2ad8
MJ
203AE_IF_FEATURE_DISABLED([sys-membarrier-fallback], [
204 AC_DEFINE([CONFIG_RCU_FORCE_SYS_MEMBARRIER], [1], [Require the operating system to support the membarrier system call for default and bulletproof flavors.])
205])
cdadd34c 206
86bc2ad8
MJ
207AE_IF_FEATURE_ENABLED([compiler-tls], [
208 AC_DEFINE([CONFIG_RCU_TLS], [1], [Use compiler provided Thread Local Storage.])
209])
0854ccff 210
86bc2ad8
MJ
211AE_IF_FEATURE_ENABLED([smp-support], [
212 AC_DEFINE([CONFIG_RCU_SMP], [1], [Enable SMP support. With SMP support enabled, uniprocessors are also supported. With SMP support disabled, UP systems work fine, but the behavior of SMP systems is undefined.])
213])
7d413817 214
86bc2ad8
MJ
215AE_IF_FEATURE_ENABLED([rcu-debug], [
216 AC_DEFINE([CONFIG_RCU_DEBUG], [1], [Enable internal debugging self-checks. Introduces a performance penalty.])
d4e640c0 217])
48d848c7 218
86bc2ad8
MJ
219AE_IF_FEATURE_ENABLED([cds-lfht-iter-debug], [
220 AC_DEFINE([CONFIG_CDS_LFHT_ITER_DEBUG], [1], [Enable extra debugging checks for lock-free hash table iterator traversal. Alters the rculfhash ABI. Make sure to compile both library and application with matching configuration.])
d7c76f85
MD
221])
222
86bc2ad8 223
1136f454
MJ
224## ##
225## Set automake variables for optional feature conditionnals in Makefile.am ##
226## ##
227
228# Building the examples requires the shared libraries to be enabled
229AM_CONDITIONAL([ENABLE_EXAMPLES], AE_IS_FEATURE_ENABLED([shared]))
230
231
23975ca7
MJ
232## ##
233## Substitute variables for use in Makefile.am ##
234## ##
235
236# Library versions for libtool
237AC_SUBST([URCU_LIBRARY_VERSION], [urcu_lib_version])
238
514079bb
MJ
239AC_SUBST(LT_NO_UNDEFINED)
240
01956342
MJ
241# The order in which the include folders are searched is important.
242# The top_builddir should always be searched first in the event that a build
243# time generated file is included.
244AM_CPPFLAGS="-I\$(top_builddir)/include -I\$(top_srcdir)/include -include config.h"
9a79c612
MJ
245AC_SUBST(AM_CPPFLAGS)
246
1136f454 247AM_CFLAGS="-Wall -Wextra -Wno-unused-parameter $PTHREAD_CFLAGS"
9a79c612 248AC_SUBST(AM_CFLAGS)
d8540fc5 249
0614a2e6
MJ
250
251## ##
252## Output files generated by configure ##
253## ##
254
48d848c7
PMF
255AC_CONFIG_FILES([
256 Makefile
fe999c05 257 doc/Makefile
8bad63a0 258 doc/examples/Makefile
6893800a
MJ
259 include/Makefile
260 src/Makefile
48d848c7 261 tests/Makefile
f5ab766e
MD
262 tests/common/Makefile
263 tests/unit/Makefile
264 tests/benchmark/Makefile
265 tests/regression/Makefile
1b387491 266 tests/utils/Makefile
6893800a
MJ
267 src/liburcu.pc
268 src/liburcu-bp.pc
269 src/liburcu-cds.pc
270 src/liburcu-qsbr.pc
271 src/liburcu-mb.pc
272 src/liburcu-signal.pc
48d848c7 273])
03c5782e
MJ
274
275AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_perf_global.tap], [chmod +x tests/regression/rcutorture_urcu_bp_perf_global.tap])
276AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_perf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_bp_perf_percpu.tap])
277AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_perf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_bp_perf_perthread.tap])
278AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_rperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_bp_rperf_global.tap])
279AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_rperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_bp_rperf_percpu.tap])
280AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_rperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_bp_rperf_perthread.tap])
281AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_stress_global.tap], [chmod +x tests/regression/rcutorture_urcu_bp_stress_global.tap])
282AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_stress_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_bp_stress_percpu.tap])
283AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_stress_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_bp_stress_perthread.tap])
284AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_uperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_bp_uperf_global.tap])
285AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_uperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_bp_uperf_percpu.tap])
286AC_CONFIG_FILES([tests/regression/rcutorture_urcu_bp_uperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_bp_uperf_perthread.tap])
287AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_perf_global.tap], [chmod +x tests/regression/rcutorture_urcu_mb_perf_global.tap])
288AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_perf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_mb_perf_percpu.tap])
289AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_perf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_mb_perf_perthread.tap])
290AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_rperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_mb_rperf_global.tap])
291AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_rperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_mb_rperf_percpu.tap])
292AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_rperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_mb_rperf_perthread.tap])
293AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_stress_global.tap], [chmod +x tests/regression/rcutorture_urcu_mb_stress_global.tap])
294AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_stress_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_mb_stress_percpu.tap])
295AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_stress_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_mb_stress_perthread.tap])
296AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_uperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_mb_uperf_global.tap])
297AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_uperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_mb_uperf_percpu.tap])
298AC_CONFIG_FILES([tests/regression/rcutorture_urcu_mb_uperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_mb_uperf_perthread.tap])
299AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_perf_global.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_perf_global.tap])
300AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_perf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_perf_percpu.tap])
301AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_perf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_perf_perthread.tap])
302AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_rperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_rperf_global.tap])
303AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_rperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_rperf_percpu.tap])
304AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_rperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_rperf_perthread.tap])
305AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_stress_global.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_stress_global.tap])
306AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_stress_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_stress_percpu.tap])
307AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_stress_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_stress_perthread.tap])
308AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_uperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_uperf_global.tap])
309AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_uperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_uperf_percpu.tap])
310AC_CONFIG_FILES([tests/regression/rcutorture_urcu_membarrier_uperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_membarrier_uperf_perthread.tap])
311AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_perf_global.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_perf_global.tap])
312AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_perf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_perf_percpu.tap])
313AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_perf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_perf_perthread.tap])
314AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_rperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_rperf_global.tap])
315AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_rperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_rperf_percpu.tap])
316AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_rperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_rperf_perthread.tap])
317AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_stress_global.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_stress_global.tap])
318AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_stress_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_stress_percpu.tap])
319AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_stress_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_stress_perthread.tap])
320AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_uperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_uperf_global.tap])
321AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_uperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_uperf_percpu.tap])
322AC_CONFIG_FILES([tests/regression/rcutorture_urcu_qsbr_uperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_qsbr_uperf_perthread.tap])
323AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_perf_global.tap], [chmod +x tests/regression/rcutorture_urcu_signal_perf_global.tap])
324AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_perf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_signal_perf_percpu.tap])
325AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_perf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_signal_perf_perthread.tap])
326AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_rperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_signal_rperf_global.tap])
327AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_rperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_signal_rperf_percpu.tap])
328AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_rperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_signal_rperf_perthread.tap])
329AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_stress_global.tap], [chmod +x tests/regression/rcutorture_urcu_signal_stress_global.tap])
330AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_stress_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_signal_stress_percpu.tap])
331AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_stress_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_signal_stress_perthread.tap])
332AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_uperf_global.tap], [chmod +x tests/regression/rcutorture_urcu_signal_uperf_global.tap])
333AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_uperf_percpu.tap], [chmod +x tests/regression/rcutorture_urcu_signal_uperf_percpu.tap])
334AC_CONFIG_FILES([tests/regression/rcutorture_urcu_signal_uperf_perthread.tap], [chmod +x tests/regression/rcutorture_urcu_signal_uperf_perthread.tap])
335
336
48d848c7 337AC_OUTPUT
a6412536 338
628a1a72
MJ
339#
340# Mini-report on what will be built.
341#
342
343PPRINT_INIT
344PPRINT_SET_INDENT(1)
345PPRINT_SET_TS(38)
346
347AS_ECHO
348AS_ECHO("${PPRINT_COLOR_BLDBLU}Userspace-RCU $PACKAGE_VERSION${PPRINT_COLOR_RST}")
349AS_ECHO
350
351PPRINT_SUBTITLE([Features])
352
353PPRINT_PROP_STRING([Target architecture], $host_cpu)
354
355# SMP support enabled/disabled
86bc2ad8 356AE_IS_FEATURE_ENABLED([smp-support]) && value=1 || value=0
628a1a72
MJ
357PPRINT_PROP_BOOL([SMP support], $value)
358
628a1a72 359# TLS
86bc2ad8 360AE_IS_FEATURE_ENABLED([compiler-tls]) && value="compiler TLS" || value="pthread_getspecific()"
628a1a72
MJ
361PPRINT_PROP_STRING([Thread Local Storage (TLS)], [$value])
362
363# clock_gettime() available
c673679b 364test "x$ac_cv_search_function_clock_gettime" != "xno" && value=1 || value=0
628a1a72
MJ
365PPRINT_PROP_BOOL([clock_gettime()], $value)
366
367# Require membarrier
86bc2ad8 368AE_IS_FEATURE_ENABLED([sys-membarrier-fallback]) && value=0 || value=1
628a1a72
MJ
369PPRINT_PROP_BOOL([Require membarrier], $value)
370
371# RCU debug enabled/disabled
86bc2ad8 372AE_IS_FEATURE_ENABLED([rcu-debug]) && value=1 || value=0
628a1a72
MJ
373PPRINT_PROP_BOOL([Internal debugging], $value)
374
d7c76f85 375# rculfhash iterator debug enabled/disabled
86bc2ad8
MJ
376AE_IS_FEATURE_ENABLED([cds-lfht-iter-debug]) && value=1 || value=0
377PPRINT_PROP_BOOL([Lock-free HT iterator debugging], $value)
d7c76f85 378
4477a870
MD
379PPRINT_PROP_BOOL([Multi-flavor support], 1)
380
628a1a72
MJ
381report_bindir="`eval eval echo $bindir`"
382report_libdir="`eval eval echo $libdir`"
383
86bc2ad8 384# Print the bindir and libdir this 'make install' will install into.
628a1a72
MJ
385AS_ECHO
386PPRINT_SUBTITLE([Install directories])
387PPRINT_PROP_STRING([Binaries], [$report_bindir])
388PPRINT_PROP_STRING([Libraries], [$report_libdir])
75478b32 389
This page took 0.08861 seconds and 4 git commands to generate.