m4_define([urcu_version_major], [0])
m4_define([urcu_version_minor], [13])
m4_define([urcu_version_patch], [0])
-m4_define([urcu_version_dev_stage], [-pre])
+m4_define([urcu_version_dev_stage], [])
m4_define([urcu_version], urcu_version_major[.]urcu_version_minor[.]urcu_version_patch[]urcu_version_dev_stage)
# Library version information of "liburcu"
AX_APPEND_COMPILE_FLAGS([WARN_FLAGS_LIST], [WARN_CFLAGS], [-Werror])
AC_LANG_POP([C])
+AE_IF_FEATURE_ENABLED([Werror], [WARN_CFLAGS="${WARN_CFLAGS} -Werror"])
+
## ##
## Header checks ##
])
-## ##
-## Optionnal features selection ##
-## ##
+## ##
+## Optional features selection ##
+## ##
# Allow to fallback to FIXME if the membarrier syscall is unavailable on the
# running kernel, when disabled, abort if the syscall is unavailable. Applies
AE_FEATURE_DEFAULT_DISABLE
AE_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.])
+# When given, add -Werror to WARN_CFLAGS and WARN_CXXFLAGS.
+# Disabled by default
+AE_FEATURE_DEFAULT_DISABLE
+AE_FEATURE([Werror],[Treat compiler warnings as errors.])
## ##
## Set defines for optional features conditionnals in the source code ##
Makefile
doc/Makefile
doc/examples/Makefile
+ extras/Makefile
include/Makefile
src/Makefile
tests/Makefile