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:
2
configure
vendored
2
configure
vendored
@@ -12898,7 +12898,7 @@ rm -f conftest*
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
|
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
|
cat >> confdefs.h <<\EOF
|
||||||
#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
|
#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
|
||||||
EOF
|
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)
|
AC_DEFINE(HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER)
|
||||||
else
|
else
|
||||||
dnl this may break code working elsewhere, so at least warn about it
|
dnl this may break code working elsewhere, so at least warn about it
|
||||||
|
Reference in New Issue
Block a user