max@0: #!/bin/sh max@0: max@0: ABORT=no max@0: max@0: check_cmake() max@0: { max@0: (cmake --version) /dev/null 2>&1 || max@0: { max@0: echo "error: cmake 2.6 must be present to configure and install Armadillo" max@0: echo "" max@0: echo "cmake might be available as a package for your system," max@0: echo "or can be downloaded from http://cmake.org" max@0: ABORT=yes max@0: } max@0: } max@0: max@0: check_cmake max@0: max@0: test "$ABORT" = yes && exit -1 max@0: max@0: rm -f CMakeCache.txt max@0: cmake . max@0: