fix: use the configured cmake binary
[deliverable/lttng-ust.git] / configure.ac
index b93d20968e515914fd64344e86ecfa6bce4ff504..a7ec5a511c2c97a9b7cd6950346c98b07891608f 100644 (file)
@@ -73,8 +73,8 @@ AC_PROG_GREP
 AC_PROG_LN_S
 AC_PROG_MKDIR_P
 AC_PROG_MAKE_SET
-AC_CHECK_PROG([HAVE_CMAKE], [cmake], ["yes"])
-AM_CONDITIONAL([HAVE_CMAKE], [test "x$HAVE_CMAKE" = "xyes"])
+AC_CHECK_PROG([CMAKE], [cmake])
+AM_CONDITIONAL([HAVE_CMAKE], [test "x$CMAKE" != "x"])
 
 # libtool link_all_deplibs fixup. See http://bugs.lttng.org/issues/321.
 AC_ARG_ENABLE([libtool-linkdep-fixup], [
This page took 0.024464 seconds and 5 git commands to generate.