annotate armadillo-3.900.4/configure @ 62:8bd9b79c9e83 mirex2013

Avoid returning unwanted output from process; move Linux makefile to linux rather than linux64 as there's nothing 64-bit-specific about it
author Chris Cannam
date Thu, 13 Jun 2013 17:40:24 +0100
parents 1ec0e2823891
children
rev   line source
Chris@49 1 #!/bin/sh
Chris@49 2
Chris@49 3 ABORT=no
Chris@49 4
Chris@49 5 check_cmake()
Chris@49 6 {
Chris@49 7 (cmake --version) </dev/null >/dev/null 2>&1 ||
Chris@49 8 {
Chris@49 9 echo "error: cmake (version 2.6 or later) must be present to configure and install Armadillo"
Chris@49 10 echo ""
Chris@49 11 echo "cmake might be available as a package for your system,"
Chris@49 12 echo "or can be downloaded from http://cmake.org"
Chris@49 13 ABORT=yes
Chris@49 14 }
Chris@49 15 }
Chris@49 16
Chris@49 17 check_cmake
Chris@49 18
Chris@49 19 test "$ABORT" = yes && exit -1
Chris@49 20
Chris@49 21 rm -f CMakeCache.txt
Chris@49 22 cmake .
Chris@49 23