diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2005-09-06 04:11:33 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2005-09-06 04:11:33 (GMT) |
commit | f0bb265b2e4d8dfd9034950d4cbbb41e5233930d (patch) | |
tree | e542c261473cd411ad284c7cb823b87aff3dd782 /configure | |
parent | c12eeffd9ffbb4547607800daea873508f2c1f00 (diff) | |
download | hdf5-f0bb265b2e4d8dfd9034950d4cbbb41e5233930d.zip hdf5-f0bb265b2e4d8dfd9034950d4cbbb41e5233930d.tar.gz hdf5-f0bb265b2e4d8dfd9034950d4cbbb41e5233930d.tar.bz2 |
[svn-r11350] Purpose:
Bug fix.
Description:
The incompatibility of enable-parallel and enable-cxx was not correctly
coded. It would complained even for the case of
./configure --enable-cxx --disable-parallel.
Solution:
Changed it to use "$enable_XYZ" = "yes". Fixed the same for the
enable-threadsafe checking too.
Platforms tested:
tested in heping.
Misc. update:
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -48110,13 +48110,13 @@ if test "${enable_parallel+set}" = set; then fi; -if test "X${HDF_CXX}" != "X" && test "X$enable_parallel" != "X"; then +if test "${enable_cxx}" = "yes" -a "$enable_parallel" = "yes"; 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 "${enable_threadsafe}" = "yes" -a "$enable_parallel" = "yes"; 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; }; } |