build: Check for programs required by the test harness @ configure time.
This is an exhaustive check for all executables required by the
int-log-compiler.sh script. We only omit shell built-ins.
Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
diff --git a/configure.ac b/configure.ac
index 9e36604..0387b26 100644
--- a/configure.ac
+++ b/configure.ac
@@ -160,6 +160,22 @@
AS_IF([test "x$enable_integration" = "xyes"],
[ERROR_IF_NO_PROG([tpm_server])
ERROR_IF_NO_PROG([netstat])
+ ERROR_IF_NO_PROG([ps])
+ ERROR_IF_NO_PROG([echo])
+ ERROR_IF_NO_PROG([kill])
+ ERROR_IF_NO_PROG([nohup])
+ ERROR_IF_NO_PROG([sleep])
+ ERROR_IF_NO_PROG([cat])
+ ERROR_IF_NO_PROG([realpath])
+ ERROR_IF_NO_PROG([dirname])
+ ERROR_IF_NO_PROG([basename])
+ ERROR_IF_NO_PROG([mktemp])
+ ERROR_IF_NO_PROG([od])
+ ERROR_IF_NO_PROG([awk])
+ ERROR_IF_NO_PROG([expr])
+ ERROR_IF_NO_PROG([grep])
+ ERROR_IF_NO_PROG([env])
+ ERROR_IF_NO_PROG([rm])
PKG_CHECK_MODULES([LIBCRYPTO],[libcrypto])
AC_CHECK_HEADER(uthash.h, [], [AC_MSG_ERROR([Can not find uthash.h. Please install uthash-dev])])
AC_SUBST([ENABLE_INTEGRATION], [$enable_integration])])