[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] wx-2.9.2: should '--disable-threads' force '--disable-fswatche
Re: [lmi] wx-2.9.2: should '--disable-threads' force '--disable-fswatcher'?
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> ../configure --prefix=/opt/lmi/local --build=i686-pc-cygwin
GC> [...] --disable-threads [...] && make && make install
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> 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
So I've just done it in r67965, thanks,