summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index efbf7ee..d5c9f50 100755
--- a/configure
+++ b/configure
@@ -9854,7 +9854,7 @@ cat >> src/H5config.h <<EOF
#endif
EOF
-{ grep __cplusplus src H5pubconf.h 1>2 2>/dev/null;} || \
+{ grep __cplusplus src H5pubconf.h 1>&2 2>/dev/null;} || \
cat >> src/H5pubconf.h <<EOF
/* inline is a keyword in C++. If this is a C++ compiler, undefine it */
diff --git a/configure.in b/configure.in
index f69c458..20f102a 100644
--- a/configure.in
+++ b/configure.in
@@ -1380,7 +1380,7 @@ EOF
dnl Put the C++ ifdef wrappers in the H5pubconf file as well, but only
dnl if it's not there already.
-{ grep __cplusplus src H5pubconf.h 1>2 2>/dev/null;} || \
+{ grep __cplusplus src H5pubconf.h 1>&2 2>/dev/null;} || \
cat >> src/H5pubconf.h <<EOF
/* inline is a keyword in C++. If this is a C++ compiler, undefine it */