[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] wx-2.9.2: should '--disable-threads' force '--disable-fswatche
From: |
Vadim Zeitlin |
Subject: |
Re: [lmi] wx-2.9.2: should '--disable-threads' force '--disable-fswatcher'? |
Date: |
Thu, 16 Jun 2011 17:20:32 +0200 |
On Wed, 15 Jun 2011 15:17:28 +0000 Greg Chicares <address@hidden> wrote:
GC> While building this tarball:
GC> ftp://ftp.wxwidgets.org/pub/Daily_HEAD/files/wx-all-2010-11-06.tar.gz
GC>
GC> ../configure --prefix=/opt/lmi/local --build=i686-pc-cygwin
--host=i686-pc-mingw32 \
GC> [...] --disable-threads [...] && make && make install
GC> [...]
GC> In file included from ../include/wx/chkconf.h:1138,
GC> from ../include/wx/platform.h:711,
GC> from ../include/wx/defs.h:26,
GC> from ../include/wx/vector.h:15,
GC> from ../src/stc/scintilla/src/Selection.h:134,
GC> from ../src/stc/scintilla/src/Editor.cxx:41:
GC> ../include/wx/msw/chkconf.h:408:13: #error "wxFileSystemWatcher requires
wxThread under MSW"
GC>
GC> If I add '--disable-fswatcher', then that problem does not occur.
GC> Should '--disable-threads' force '--disable-fswatcher'?
In general we can't support all possible wxUSE_XXX dependencies as there
are simply too many of them but in this particular case it seems simple
enough to add a check for this to configure and it's also potentially
useful as it is probably not obvious that disabling threads also disables
wxFileSystemWatcher.
So I've just done it in r67965, thanks,
VZ