summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 026dad01..869f7cf9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,6 +46,13 @@ then
AM_CONDITIONAL([HAVE_CMPH], true)
fi
+AM_CONDITIONAL([HAVE_EIGEN], false)
+AC_ARG_WITH(eigen,
+ [AC_HELP_STRING([--with-eigen=PATH], [(optional) path to Eigen linear algebra library])],
+ [with_eigen=$withval],
+ [with_eigen=no]
+ )
+
if test "x$with_eigen" != 'xno'
then
SAVE_CPPFLAGS="$CPPFLAGS"