fix: use the configured cmake binary
[lttng-ust.git] / configure.ac
index 89d2c1ea10066632abe03761e6f4c7e57253407d..d46f8f5f75106fe5060ad4c3a5afca1b3dc8c0ff 100644 (file)
@@ -74,8 +74,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.022688 seconds and 4 git commands to generate.