From 896d50f1e9d0510bc2adb6defa83f224e1c7cd72 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Wed, 16 Apr 2003 16:06:19 +0000
Subject: [PATCH] Use -D__USE_STD_IOSTREAM for DEC's cxx compiler

---
 configure    | 6 ++++++
 configure.in | 8 +++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 9e2af27ab7..34bd63e216 100755
--- a/configure
+++ b/configure
@@ -3405,6 +3405,12 @@ case "$UNAME" in
     LINKER="CC -O2 -mips3 -n32"
     ;;
 
+  OSF1*)
+    if test "x${CXX}" = "xcxx" ; then
+      FLAGS="-D__USE_STD_IOSTREAM ${FLAGS}"
+    fi
+    ;;
+
   SunOS*)
     FLAGS="-D_NO_DLL ${FLAGS}"
     GMSH_LIBS="${GMSH_LIBS} -lsocket -lnsl -ldl"
diff --git a/configure.in b/configure.in
index 0b0d6f419c..d7ff43215c 100644
--- a/configure.in
+++ b/configure.in
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.37 2003-04-16 16:00:59 geuzaine Exp $
+dnl $Id: configure.in,v 1.38 2003-04-16 16:06:19 geuzaine Exp $
 dnl
 dnl Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle
 dnl
@@ -315,6 +315,12 @@ case "$UNAME" in
     LINKER="CC -O2 -mips3 -n32"
     ;;
 
+  OSF1*)
+    if test "x${CXX}" = "xcxx" ; then
+      FLAGS="-D__USE_STD_IOSTREAM ${FLAGS}"
+    fi
+    ;;
+
   SunOS*)
     FLAGS="-D_NO_DLL ${FLAGS}"
     GMSH_LIBS="${GMSH_LIBS} -lsocket -lnsl -ldl"
-- 
GitLab