Disable wxFileSystemWatcher in configure if threads are disabled.

wxFileSystemWatcher requires threads under MSW so disable it automatically in
configure if --disable-threads was used to avoid compilation errors in
wx/msw/chkconf.h later.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2011-06-16 15:19:55 +00:00
parent 3d55f45e94
commit dac2ee8dee
2 changed files with 11 additions and 0 deletions

6
configure vendored
View File

@@ -43755,6 +43755,12 @@ _ACEOF
else
wxUSE_FSWATCHER=no
fi
else
if test "$wxUSE_THREADS" != "yes"; then
{ echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
wxUSE_FSWATCHER=no
fi
fi
if test "$wxUSE_FSWATCHER" = "yes"; then

View File

@@ -5669,6 +5669,11 @@ if test "$wxUSE_FSWATCHER" = "yes"; then
else
wxUSE_FSWATCHER=no
fi
else
if test "$wxUSE_THREADS" != "yes"; then
AC_MSG_WARN([wxFileSystemWatcher disabled due to --disable-threads])
wxUSE_FSWATCHER=no
fi
fi
if test "$wxUSE_FSWATCHER" = "yes"; then