From ff8c74670559f153b3f084fd67bba0eb03b07e7c Mon Sep 17 00:00:00 2001 From: Prasanna Kumar Kalever Date: Wed, 15 Feb 2017 20:33:06 +0530 Subject: build: update dependency list Signed-off-by: Prasanna Kumar Kalever --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2285c29..9644f7f 100644 --- a/configure.ac +++ b/configure.ac @@ -61,6 +61,17 @@ AC_CHECK_LIB([pthread], [pthread_mutex_init],[PTHREAD="-lpthread"], AC_MSG_ERROR([Posix threads library is required to build gluster-block])) AC_SUBST(PTHREAD) +AC_CHECK_PROG(TCMURUNNER, tcmu-runner, yes, no) +if test "x$TCMURUNNER" = "xno"; then + AC_MSG_ERROR([tcmu-runner not found; try again after installing]) +fi + +# FIXME: version check, need atleast 'targetcli-2.1.fb43' +AC_CHECK_PROG(TARGETCLI, targetcli, yes, no) +if test "x$TARGETCLI" = "xno"; then + AC_MSG_ERROR([targetcli not found; try again after installing]) +fi + # Dirty hacky stuff to make STATEDIR work if test "x$prefix" = xNONE; then test $localstatedir = '${prefix}/var' && localstatedir=$ac_default_prefix/var -- cgit