configure.ac: use test "x$var" = "xyes"
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 27 Feb 2016 09:32:11 +0000 (04:32 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 1 Mar 2016 01:50:53 +0000 (20:50 -0500)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
configure.ac

index c428cf9d0e681b7e23057dd42cda9944d8ef6a3c..cfb2ddf5ead414a66311501808121338321cfb44 100644 (file)
@@ -356,7 +356,7 @@ AC_DEFINE_UNQUOTED([LTTNG_SYSTEM_RUNDIR], ["$lttng_system_rundir"],
        [LTTng system runtime directory])
 
 AC_CHECK_PROG([BUILD_GEN_TP_EXAMPLES],[python],["yes"])
-AM_CONDITIONAL([BUILD_GEN_TP_EXAMPLES], [test $BUILD_GEN_TP_EXAMPLES])
+AM_CONDITIONAL([BUILD_GEN_TP_EXAMPLES], [test "x$BUILD_GEN_TP_EXAMPLES" = "xyes"])
 
 AC_CONFIG_FILES([
        Makefile
This page took 0.028173 seconds and 4 git commands to generate.