build: check for CXX_WORKS for cmake example
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 3 Oct 2016 15:15:21 +0000 (11:15 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 3 Oct 2016 16:11:51 +0000 (12:11 -0400)
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>
configure.ac
doc/examples/Makefile.am

index a59758e8e54307729101698897d422896414c417..82ea5dc2e26fc1ebc9d6102e29690277bc0f4f89 100644 (file)
@@ -80,7 +80,6 @@ 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
index 5d67e79141f85e7269acc6f0aa09e59845aba8a4..424b8440dff2417aad6f42ac15f9cd26bd03c7bc 100644 (file)
@@ -34,7 +34,7 @@ dist_doc_examples_python_DATA = python/hello.py
 endif
 
 if HAVE_CMAKE
-if HAVE_CXX
+if CXX_WORKS
 SUBDIRS_CMAKE = cmake-multiple-shared-libraries
 endif
 endif
This page took 0.025327 seconds and 4 git commands to generate.