From c7584cd8f58f6f1919494d7fe2ee81ac2e4706ea Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 1 Sep 2011 10:08:46 +0000
Subject: [PATCH] fix compile w/o kbipack

---
 Geo/ChainComplex.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Geo/ChainComplex.cpp b/Geo/ChainComplex.cpp
index 4c73f7ee05..4c7b811497 100644
--- a/Geo/ChainComplex.cpp
+++ b/Geo/ChainComplex.cpp
@@ -6,6 +6,9 @@
 //  See LICENCE.txt for license information.
 //  See README.txt for more information.
 
+#include "GmshConfig.h"
+#if defined(HAVE_KBIPACK)
+
 #include "ChainComplex.h"
 
 ChainComplex::ChainComplex(CellComplex* cellComplex, int domain)
@@ -1030,3 +1033,4 @@ void HomologySequence::blockHBasis(gmp_matrix* block1T,
   destroy_gmp_matrix(temp2);
 }
 
+#endif
-- 
GitLab