From cc2e8f1f612b8f72e1abe38fc998ac14ed1a51b8 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Thu, 29 Mar 2007 16:34:21 +0000
Subject: [PATCH] ask more reasonnable (hum) 16Mb of stack on Win32

---
 Makefile     | 4 ++--
 configure    | 2 +-
 configure.in | 6 +++---
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Makefile b/Makefile
index e38bbb80ef..a36a340240 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.430 2007-03-11 20:18:57 geuzaine Exp $
+# $Id: Makefile,v 1.431 2007-03-29 16:34:21 geuzaine Exp $
 #
 # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
 #
@@ -23,7 +23,7 @@ include variables
 
 GMSH_MAJOR_VERSION = 2
 GMSH_MINOR_VERSION = 0
-GMSH_PATCH_VERSION = 5
+GMSH_PATCH_VERSION = 6
 GMSH_EXTRA_VERSION = "-cvs"
 
 GMSH_VERSION = ${GMSH_MAJOR_VERSION}.${GMSH_MINOR_VERSION}.${GMSH_PATCH_VERSION}${GMSH_EXTRA_VERSION}
diff --git a/configure b/configure
index 091ae3cb14..22b61a37ca 100755
--- a/configure
+++ b/configure
@@ -2788,7 +2788,7 @@ case "$UNAME" in
       UNAME="${UNAME}-no-cygwin"
       CC="${CC} -mno-cygwin"
       CXX="${CXX} -mno-cygwin"
-                  LINKER="${LINKER} -mno-cygwin -Wl,--stack,33554432"
+                  LINKER="${LINKER} -mno-cygwin -Wl,--stack,16777216"
     fi
     ;;
 esac
diff --git a/configure.in b/configure.in
index 273db7ae3d..c6f6c192c6 100644
--- a/configure.in
+++ b/configure.in
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.123 2007-03-18 12:10:32 geuzaine Exp $
+dnl $Id: configure.in,v 1.124 2007-03-29 16:34:21 geuzaine Exp $
 dnl
 dnl Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
 dnl
@@ -145,9 +145,9 @@ case "$UNAME" in
       UNAME="${UNAME}-no-cygwin"
       CC="${CC} -mno-cygwin"
       CXX="${CXX} -mno-cygwin"
-      dnl increase stack size to 32Mb to avoid stack overflows in
+      dnl increase stack size to 16Mb to avoid stack overflows in
       dnl recursive tet classification for large 3D Delaunay grids
-      LINKER="${LINKER} -mno-cygwin -Wl,--stack,33554432"
+      LINKER="${LINKER} -mno-cygwin -Wl,--stack,16777216"
     fi
     ;;
 esac
-- 
GitLab