X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=configure.ac;h=105b46ff97831a549aa8304bd78a260701fe223f;hb=b9389e6efa5e337e3de81062070f2e0dff1a4222;hp=26c3b1d7a4caf38c573f79366eea88d60cb180f1;hpb=f3c7428e8878c6e467020881813c018e0d530a21;p=lttng-ust.git diff --git a/configure.ac b/configure.ac index 26c3b1d7..105b46ff 100644 --- a/configure.ac +++ b/configure.ac @@ -3,13 +3,13 @@ dnl Process this file with autoconf to produce a configure script. dnl Version infos m4_define([V_MAJOR], [2]) -m4_define([V_MINOR], [8]) +m4_define([V_MINOR], [9]) m4_define([V_PATCH], [0]) -m4_define([V_EXTRA], [rc1]) +m4_define([V_EXTRA], [pre]) m4_define([V_STRING], [V_MAJOR.V_MINOR.V_PATCH]) m4_ifdef([V_EXTRA], [m4_append([V_STRING], [-V_EXTRA])]) -m4_define([V_NAME], [[Isseki Nicho]]) -m4_define([V_DESC], [[The result of a collaboration between "Dieu du Ciel!" and Nagano-based "Shiga Kogen", Isseki Nicho is a strong Imperial Dark Saison offering a rich roasted malt flavor combined with a complex fruity finish typical of Saison yeasts.]]) +m4_define([V_NAME], [[J-TBD]]) +m4_define([V_DESC], [[]]) AC_INIT([lttng-ust], V_STRING, [mathieu dot desnoyers at efficios dot com]) @@ -79,6 +79,9 @@ AM_CONDITIONAL([NO_SHARED], [test "x$enable_shared" = "xno"]) # Checks for programs. AC_PROG_CC AC_PROG_CXX +AM_CONDITIONAL([HAVE_CXX], [test "x$CXX" != "x"]) +AC_CHECK_PROG([HAVE_CMAKE], [cmake], ["yes"]) +AM_CONDITIONAL([HAVE_CMAKE], [test "x$HAVE_CMAKE" = "xyes"]) AC_PROG_MAKE_SET LT_INIT @@ -135,6 +138,11 @@ AM_CONDITIONAL([LTTNG_UST_BUILD_WITH_LIBDL], [test "x$have_libdl" = "xyes"]) AM_CONDITIONAL([LTTNG_UST_BUILD_WITH_LIBC_DL], [test "x$have_libc_dl" = "xyes"]) AC_CHECK_LIB([pthread], [pthread_create]) +AC_CHECK_LIB([pthread], [pthread_setname_np], + AC_DEFINE([HAVE_PTHREAD_SETNAME_NP], [1], [Define to 1 if pthread_setname_np is available.]), + AC_CHECK_LIB([pthread], [pthread_set_name_np], + AC_DEFINE([HAVE_PTHREAD_SET_NAME_NP], [1], [Define to 1 if pthread_set_name_np is available.]), + AC_MSG_RESULT([pthread setname/set_name not found.]))) # Check for dlfcn.h AC_CHECK_HEADER([dlfcn.h]) @@ -236,7 +244,7 @@ AS_CASE([$host_cpu], [s390], [NO_UNALIGNED_ACCESS=1], [s390x], [NO_UNALIGNED_ACCESS=1], [arm*], [NO_UNALIGNED_ACCESS=1], - [aarch64], [NO_UNALIGNED_ACCESS=1], + [aarch64*], [NO_UNALIGNED_ACCESS=1], [mips*], [NO_UNALIGNED_ACCESS=1], [tile*], [NO_UNALIGNED_ACCESS=1], [ @@ -477,6 +485,7 @@ AC_CONFIG_FILES([ tests/benchmark/Makefile tests/utils/Makefile tests/test-app-ctx/Makefile + tests/gcc-weak-hidden/Makefile lttng-ust.pc ])