File mpich-1.2.7p1-iostream.dif of Package mpich
--- configure
+++ configure
@@ -2744,7 +2744,7 @@
# (the autoconf tests are too GNU-centric)
if test -n "$GXXTRIAL" ; then
cat > conftest.cc <<EOF
-#include <iostream.h>
+#include <iostream>
EOF
rm -f conftest.out
if $GXXTRIAL $CXXFLAGS -c conftest.cc >conftest.out 2>&1 ; then
@@ -2840,13 +2840,13 @@
fi
if test -z "$ac_echo_test" -a 1 = 1 ; then
-echo $ac_n "checking whether selected C++ compiler can compile iostream.h""... $ac_c"
+echo $ac_n "checking whether selected C++ compiler can compile iostream""... $ac_c"
else
-echo $ac_n "checking whether selected C++ compiler can compile iostream.h""... $ac_c" 1>&1
+echo $ac_n "checking whether selected C++ compiler can compile iostream""... $ac_c" 1>&1
fi
rm -f conftest*
cat > conftest.cc <<EOF
-#include <iostream.h>
+#include <iostream>
EOF
if $CPP_COMPILER $CXXFLAGS -c conftest.cc>conftest.out 2>&1 ; then
if test -z "$ac_echo_test" -a 1 = 1 ; then
--- configure.in
+++ configure.in
@@ -1800,7 +1800,7 @@
# (the autoconf tests are too GNU-centric)
if test -n "$GXXTRIAL" ; then
cat > conftest.cc <<EOF
-#include <iostream.h>
+#include <iostream>
EOF
rm -f conftest.out
if $GXXTRIAL $CXXFLAGS -c conftest.cc >conftest.out 2>&1 ; then
@@ -1841,10 +1841,10 @@
# used above is used only to *find* a compiler; if the user selected
# a compiler that doesn't work, we still need the test.
if test -n "$CPP_COMPILER" ; then
- AC_MSG_CHECKING([whether selected C++ compiler can compile iostream.h])
+ AC_MSG_CHECKING([whether selected C++ compiler can compile iostream])
rm -f conftest*
cat > conftest.cc <<EOF
-#include <iostream.h>
+#include <iostream>
EOF
if $CPP_COMPILER $CXXFLAGS -c conftest.cc>conftest.out 2>&1 ; then
AC_MSG_RESULT(yes)
--- installtest/hello++.cc
+++ installtest/hello++.cc
@@ -26,7 +26,7 @@
// OR OTHER RIGHTS.
//
-#include <iostream.h>
+#include <iostream>
// modified to reference the master mpi.h file, to meet the MPI standard spec.
#include "mpi.h"