summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure6
-rw-r--r--configure.in6
2 files changed, 12 insertions, 0 deletions
diff --git a/configure b/configure
index d9317ac..2441231 100755
--- a/configure
+++ b/configure
@@ -35429,6 +35429,12 @@ echo "$as_me: error: \'$enable_parallel\' is not a valid parallel search type" >
esac
if test -n "$PARALLEL"; then
+ if test "X$HDF_CXX" = "Xyes"; then
+ { { echo "$as_me:$LINENO: error: enable-cxx is incompatible with parallel library" >&5
+echo "$as_me: error: enable-cxx is incompatible with parallel library" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+
TESTPARALLEL=testpar
diff --git a/configure.in b/configure.in
index d8edc12..6bc29e3 100644
--- a/configure.in
+++ b/configure.in
@@ -1964,6 +1964,12 @@ dnl ----------------------------------------------------------------------
dnl Print some other parallel information and do some sanity checks.
dnl
if test -n "$PARALLEL"; then
+ dnl Ensure that user isn't trying to build both C++ and parallel;
+ dnl this isn't supported.
+ if test "X$HDF_CXX" = "Xyes"; then
+ AC_MSG_ERROR([enable-cxx is incompatible with parallel library])
+ fi
+
dnl The 'testpar' directory should participate in the build
TESTPARALLEL=testpar