view armadillo-3.900.4/configure @ 76:a595de3e6f8d

Fix invalid call to parts.erase(parts.end()), which can crash and never does anything good. I think this is the intended behaviour.
author Chris Cannam
date Thu, 24 Jan 2019 15:07:04 +0000
parents 1ec0e2823891
children
line wrap: on
line source
#!/bin/sh

ABORT=no

check_cmake()
  {
  (cmake --version) </dev/null >/dev/null 2>&1 ||
    {
    echo "error: cmake (version 2.6 or later) must be present to configure and install Armadillo"
    echo ""
    echo "cmake might be available as a package for your system,"
    echo "or can be downloaded from http://cmake.org"
    ABORT=yes
    }
  }

check_cmake

test "$ABORT" = yes && exit -1

rm -f CMakeCache.txt
cmake .