[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:
Quincey Koziol 2005-09-03 08:58:24 -05:00
parent 8d9d70388e
commit 4aa86e2297
2 changed files with 0 additions and 12 deletions

6
configure vendored
View File

@ -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

View File

@ -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])