]> git.lttng.org Git - lttng-ust.git/commit
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:41:00 +0000 (11:41 -0500)
commite7ac2635e1418a06a20fb27e3e29c0ab3b695d73
treedccb3d2d0970b2a7877cb60bc33abb447bf36f53
parent0c9ad44b7604040dfcd1e67b18afc3dc5d025b19
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.028363 seconds and 4 git commands to generate.