mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r11344] Purpose:
Bug fix Description: Allow threadsafe & C++ to be enabled together - its working fine on sleipnir. Platforms tested: FreeBSD 4.11 (sleipnir)
This commit is contained in:
parent
8d9d70388e
commit
4aa86e2297
6
configure
vendored
6
configure
vendored
@ -44822,12 +44822,6 @@ if test "${enable_threadsafe+set}" = set; then
|
||||
THREADSAFE=$enableval
|
||||
fi;
|
||||
|
||||
if test "X${HDF_CXX}" != "X" && test "X${THREADSAFE}" != "X"; then
|
||||
{ { echo "$as_me:$LINENO: error: --enable-cxx and --enable-threadsafe flags are incompatible" >&5
|
||||
echo "$as_me: error: --enable-cxx and --enable-threadsafe flags are incompatible" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
|
||||
case "X-$THREADSAFE" in
|
||||
X-|X-no)
|
||||
echo "$as_me:$LINENO: result: no" >&5
|
||||
|
@ -1312,12 +1312,6 @@ AC_ARG_ENABLE([threadsafe],
|
||||
[Enable thread safe capability])],
|
||||
THREADSAFE=$enableval)
|
||||
|
||||
dnl The --enable-threadsafe 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${THREADSAFE}" != "X"; then
|
||||
AC_MSG_ERROR([--enable-cxx and --enable-threadsafe flags are incompatible])
|
||||
fi
|
||||
|
||||
case "X-$THREADSAFE" in
|
||||
X-|X-no)
|
||||
AC_MSG_RESULT([no])
|
||||
|
Loading…
Reference in New Issue
Block a user