From d109c3d194f1030a406e96a7a5dfc36e32e38dd4 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Mon, 28 Jul 2014 11:01:49 -0600 Subject: add test for ccrypt, which is needed for benchmarks. --- configure.ac | 6 ++++++ host.conf.in | 1 + 2 files changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index 90f9fa67..7a9ef250 100644 --- a/configure.ac +++ b/configure.ac @@ -109,6 +109,12 @@ if test x"${AUTOGEN}" = x; then missing="${missing} autogen" fi +AC_PATH_PROG(CCRYPT, ccrypt) +if test x"${CCRYPT}" = x; then + AC_MSG_WARN([You need 'ccrypt' to run benchmarks, this can be ignored for builds]) + missing="${missing} ccrypt" +fi + dnl Building GDB requires ncurses and termcap #AC_CHECK_LIB(ncurses, doupdate) #if test x${ac_cv_lib_ncurses_doupdate} != x"yes"; then diff --git a/host.conf.in b/host.conf.in index e0f08cbd..ac1cc053 100644 --- a/host.conf.in +++ b/host.conf.in @@ -42,3 +42,4 @@ bash_shell=@BASH@ LSBCC=@LSBCC@ LSBCXX=@LSBCXX@ MAKEINFO=@MAKEINFO@ +CCRYPT=@CCRYPT@ -- cgit v1.2.3