Browse Source

ENH: Add error message for make missing

Andy Cedilnik 22 years ago
parent
commit
9ad2a2eb14
1 changed files with 4 additions and 0 deletions
  1. 4 0
      bootstrap

+ 4 - 0
bootstrap

@@ -425,6 +425,10 @@ done
 cd "${cmake_bootstrap_dir}"
 rm -rf "${cmake_bootstrap_dir}/${TMPFILE}"
 
+if [ -z "${cmake_make_processor}" ]; then
+  cmake_error "Cannot find apropriate Makefile processor on this system.
+Please specify one using environment variable MAKE."
+fi
 echo "Make processor on this system is: ${cmake_make_processor}"
 
 # Ok, we have CC, CXX, and MAKE.