summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-09-01 21:09:22 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-09-01 21:09:22 (GMT)
commitfc90c784e1b114079038484f1825ac53987c6b44 (patch)
treecc01f08062d92e56c563e23659ea1d3266a16022
parent30c61d0f254d8201e9f84ee45f15fb83ee5f4495 (diff)
downloadhdf5-fc90c784e1b114079038484f1825ac53987c6b44.zip
hdf5-fc90c784e1b114079038484f1825ac53987c6b44.tar.gz
hdf5-fc90c784e1b114079038484f1825ac53987c6b44.tar.bz2
[svn-r11336] Purpose:
Bug fix Description: A typo made configure throw an error if only C++ was enabled. Fixed. Platforms tested: mir
-rwxr-xr-xconfigure4
-rw-r--r--configure.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index eb70eed..8020370 100755
--- a/configure
+++ b/configure
@@ -48116,13 +48116,13 @@ if test "${enable_parallel+set}" = set; then
fi;
-if test "X${HDF_CXX}" != "X" && test "X${enable-parallel}" != "X"; then
+if test "X${HDF_CXX}" != "X" && test "X$enable_parallel" != "X"; then
{ { echo "$as_me:$LINENO: error: --enable-cxx and --enable-parallel flags are incompatible" >&5
echo "$as_me: error: --enable-cxx and --enable-parallel flags are incompatible" >&2;}
{ (exit 1); exit 1; }; }
fi
-if test "X${THREADSAFE}" != "X" && test "X${enable-parallel}" != "X"; then
+if test "X${THREADSAFE}" != "X" && test "X$enable_parallel" != "X"; then
{ { echo "$as_me:$LINENO: error: --enable-threadsafe and --enable-parallel flags are incompatible" >&5
echo "$as_me: error: --enable-threadsafe and --enable-parallel flags are incompatible" >&2;}
{ (exit 1); exit 1; }; }
diff --git a/configure.in b/configure.in
index 3b705b1..0359095 100644
--- a/configure.in
+++ b/configure.in
@@ -2039,12 +2039,12 @@ AC_ARG_ENABLE([parallel],
dnl The --enable-parallel flag is not compatible with --enable-cxx.
dnl If the user tried to specify both flags, throw an error.
-if test "X${HDF_CXX}" != "X" && test "X${enable-parallel}" != "X"; then
+if test "X${HDF_CXX}" != "X" && test "X$enable_parallel" != "X"; then
AC_MSG_ERROR([--enable-cxx and --enable-parallel flags are incompatible])
fi
dnl --enable-parallel is also incompatible with --enable-threadsafe.
-if test "X${THREADSAFE}" != "X" && test "X${enable-parallel}" != "X"; then
+if test "X${THREADSAFE}" != "X" && test "X$enable_parallel" != "X"; then
AC_MSG_ERROR([--enable-threadsafe and --enable-parallel flags are incompatible])
fi