summaryrefslogtreecommitdiff
path: root/Config
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-02-09 01:12:43 -0500
committerAdam <Adam@anope.org>2011-02-09 01:12:43 -0500
commitd26a19b41d52c5ac3233165359980d357a3bf121 (patch)
tree442c11935be2dc14f6ca094f86fdbb3013231db5 /Config
parenta55b3742cb36731ddea5eb2de32ebce0cd6f9002 (diff)
Made ./Config output a userful error message if cmake is not found
Diffstat (limited to 'Config')
-rwxr-xr-xConfig11
1 files changed, 11 insertions, 0 deletions
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*)