Fix: don't build C++ example if a C++ compiler isn't available
authorSamuel Martin <s.martin49@gmail.com>
Sun, 13 Jan 2013 16:40:10 +0000 (11:40 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 13 Jan 2013 16:40:10 +0000 (11:40 -0500)
commit340f77635d76ea6800caeca2d71f0432fea0d31a
treec5b6cb61e72c12ae0424d5ea55f9d39fb2a3aa9f
parent962a6b603e9f3bd48d03289dec73ab9046c55d5f
Fix: don't build C++ example if a C++ compiler isn't available

By default lttng-ust builds a hello.cxx C++ example that demonstrates
the usage of the userspace tracing library in a C++ program.
Unfortunately, when no C++ support is available, the build of lttng-ust
fails just because of this example code. So we make the compilation of
this code conditional on whether a working C++ compiler was found.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
configure.ac
tests/Makefile.am
This page took 0.024953 seconds and 4 git commands to generate.