From 4f41aa754ab3240db19d6f02ec3606a762cd7d7f Mon Sep 17 00:00:00 2001
From: Stefen Guzik <guzik2@llnl.gov>
Date: Sun, 1 Oct 2006 02:48:16 +0000
Subject: [PATCH] Fix for CGNS

---
 configure.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure.in b/configure.in
index 28fc79aa3a..bb470b40d5 100644
--- a/configure.in
+++ b/configure.in
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.103 2006-09-30 02:38:04 guzik Exp $
+dnl $Id: configure.in,v 1.104 2006-10-01 02:48:16 guzik Exp $
 dnl
 dnl Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
 dnl
@@ -532,6 +532,7 @@ if test "x$enable_cgns" = "xyes"; then
   if test "x${CGNS}" = "xyes"; then
     if test "x${CGNS_PREFIX}" = "x"; then
       GMSH_LIBS="${GMSH_LIBS} -lcgns"
+      FLAGS="${FLAGS} -DHAVE_LIBCGNS"
     else
       GMSH_LIBS="${GMSH_LIBS} -L${CGNS_PREFIX}/lib -lcgns"
       FLAGS="${FLAGS} -DHAVE_LIBCGNS -I${CGNS_PREFIX}/include"
-- 
GitLab