X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=configure.ac;h=39f17abaa9494223622123efeb179f97ca7d2bcd;hb=refs%2Fheads%2Fstable-2.0;hp=b8b23d21b888f9066ed0ec63e77344c5e2b76875;hpb=63fae78781b6f55b7345aa018250bf92834460e5;p=lttng-ust.git diff --git a/configure.ac b/configure.ac index b8b23d21..39f17aba 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_INIT([lttng-ust],[2.0.5],[mathieu dot desnoyers at efficios dot com]) +AC_INIT([lttng-ust],[2.0.8],[mathieu dot desnoyers at efficios dot com]) # Following the numbering scheme proposed by libtool for the library version # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html @@ -72,6 +72,18 @@ AC_PROG_CXX AC_PROG_MAKE_SET LT_INIT +# rw_PROG_CXX_WORKS +# Check whether the C++ compiler works. +AC_CACHE_CHECK([whether the C++ compiler works], + [rw_cv_prog_cxx_works], + [AC_LANG_PUSH([C++]) + AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], + [rw_cv_prog_cxx_works=yes], + [rw_cv_prog_cxx_works=no]) + AC_LANG_POP([C++])]) + +AM_CONDITIONAL([CXX_WORKS], [test "x$rw_cv_prog_cxx_works" = "xyes"]) + ## Checks for libraries. AC_CHECK_LIB([dl], [dlopen]) AC_CHECK_LIB([pthread], [pthread_create])