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:43:51 +0000 (11:43 -0500)
commita317f82b0f6810a1d98f38c954ed33e505d8dc1e
tree796796c262d82b5c6407524ccd11eb1e4a08bdca
parentabcabd6a23a42744beb0a80afee4104b690f23aa
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.025656 seconds and 4 git commands to generate.