From 4cd4f2efe0d77885c74c943983a74f3cf15c589a Mon Sep 17 00:00:00 2001
From: "Peter W. Draper" <p.w.draper@durham.ac.uk>
Date: Wed, 21 Feb 2018 11:48:10 +0000
Subject: [PATCH] Make parmetis a requirement when given --with-parmetis

---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index a940afbdbb..cbae8dfea2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -478,6 +478,8 @@ if test "x$with_parmetis" != "xno"; then
    fi
    if test "$have_parmetis" == "yes"; then
       AC_DEFINE([HAVE_PARMETIS],1,[The ParMETIS library is present.])
+   else
+      AC_MSG_ERROR("Failed to find a ParMETIS library")
    fi
 fi
 
-- 
GitLab