fixed problem with HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER test

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-06-01 15:34:08 +00:00
parent e80591b930
commit 3765e93695
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -12898,7 +12898,7 @@ rm -f conftest*
fi
echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
if test "$wx_cv_type_pthread_rec_mutex_init"="yes"; then
if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
cat >> confdefs.h <<\EOF
#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
EOF

View File

@ -2836,7 +2836,7 @@ if test "$wxUSE_THREADS" = "yes" ; then
]
)
])
if test "$wx_cv_type_pthread_rec_mutex_init"="yes"; then
if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
AC_DEFINE(HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER)
else
dnl this may break code working elsewhere, so at least warn about it