diff armadillo-2.4.4/configure @ 0:8b6102e2a9b0

Armadillo Library
author maxzanoni76 <max.zanoni@eecs.qmul.ac.uk>
date Wed, 11 Apr 2012 09:27:06 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/armadillo-2.4.4/configure	Wed Apr 11 09:27:06 2012 +0100
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+ABORT=no
+
+check_cmake()
+  {
+  (cmake --version) </dev/null >/dev/null 2>&1 ||
+    {
+    echo "error: cmake 2.6 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 .
+