From d26a19b41d52c5ac3233165359980d357a3bf121 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 9 Feb 2011 01:12:43 -0500 Subject: Made ./Config output a userful error message if cmake is not found --- Config | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Config') diff --git a/Config b/Config index be395091f..deea02258 100755 --- a/Config +++ b/Config @@ -153,6 +153,17 @@ done ########################################################################### +which cmake > /dev/null +if [ $? -ne 0 ] ; then + clear + echo "Anope requires CMake 2.4 or newer to be configured, which can" + echo "be downloaded at http://www.cmake.org/. If you have installed" + echo "CMake already, ensure it is in your PATH environment variable." + exit 0 +fi + +########################################################################### + if [ ! "$NO_INTRO" ] ; then case `uname -s` in MINGW*) -- cgit