X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=configure.ac;h=400feadd37ea5615cf7727a413cb600f5a31311f;hb=35cbacdb34948e328f5d360f2fd76618dd678e2f;hp=e07888c093fd38beda92477bc45ef051766eac39;hpb=8aeb3cae3d7a1c2cf0fb24d8d83c94e32d5622dd;p=lttng-ust.git diff --git a/configure.ac b/configure.ac index e07888c0..400feadd 100644 --- a/configure.ac +++ b/configure.ac @@ -2,9 +2,9 @@ dnl Version infos m4_define([V_MAJOR], [2]) m4_define([V_MINOR], [12]) m4_define([V_PATCH], [0]) -m4_define([V_EXTRA], [pre]) -m4_define([V_NAME], [[Codename TBD]]) -m4_define([V_DESC], [[Description TBD]]) +m4_define([V_EXTRA], [rc1]) +m4_define([V_NAME], [[(Ta) Meilleure]]) +m4_define([V_DESC], [[Ta Meilleure is a Northeast IPA beer brewed by Lagabière. Translating to "Your best one", this beer gives out strong aromas of passion fruit, lemon, and peaches. Tastewise, expect a lot of fruit, a creamy texture, and a smooth lingering hop bitterness.]]) m4_define([V_STRING], [V_MAJOR.V_MINOR.V_PATCH]) m4_ifdef([V_EXTRA], [m4_append([V_STRING], [-V_EXTRA])]) @@ -55,6 +55,7 @@ AC_SYS_LARGEFILE AC_PROG_CC AC_PROG_CC_STDC AC_PROG_CXX +AX_CXX_COMPILE_STDCXX([11]) RW_PROG_CXX_WORKS AM_CONDITIONAL([CXX_WORKS], [test "x$rw_cv_prog_cxx_works" = "xyes"]) @@ -249,6 +250,17 @@ AM_CONDITIONAL([HAVE_DLINFO], [test "x${ac_cv_have_decl_RTLD_DI_LINKMAP}" = "xye # URCU +AC_MSG_CHECKING([DEFINE_URCU_TLS_INIT()]) +AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ + #include + DEFINE_URCU_TLS_INIT(int, a, 1); +]])], [ + AC_MSG_RESULT([yes]) +], [ + AC_MSG_RESULT([no]) + AC_MSG_ERROR([Please upgrade your version of liburcu to 0.12.0 or better]) +]) + # urcu - check if we just find the headers it out of the box. AC_CHECK_HEADERS([urcu-bp.h], [], [AC_MSG_ERROR([Cannot find [URCU] headers (urcu-bp.h). Use [CPPFLAGS]=-Idir to specify their location. This error can also occur when the liburcu package's configure script has not been run.])])