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:
parent
e80591b930
commit
3765e93695
2
configure
vendored
2
configure
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user