Tracepoints and tracepoint provider compilation need a functional
c++ compiler (g++ > 4.7).
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
# 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
endif
if HAVE_CMAKE
-if HAVE_CXX
+if CXX_WORKS
SUBDIRS_CMAKE = cmake-multiple-shared-libraries
endif
endif