diff options
author | Adam <Adam@anope.org> | 2011-02-09 01:12:43 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-02-09 01:12:43 -0500 |
commit | d26a19b41d52c5ac3233165359980d357a3bf121 (patch) | |
tree | 442c11935be2dc14f6ca094f86fdbb3013231db5 /Config | |
parent | a55b3742cb36731ddea5eb2de32ebce0cd6f9002 (diff) |
Made ./Config output a userful error message if cmake is not found
Diffstat (limited to 'Config')
-rwxr-xr-x | Config | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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*) |