]> git.saurik.com Git - wxWidgets.git/blob - include/wx/unix/chkconf.h
Eliminated redundant wxRichTextAnchoredObject class; refactored XML I/O code
[wxWidgets.git] / include / wx / unix / chkconf.h
1 /*
2 * Name: wx/unix/chkconf.h
3 * Purpose: Unix-specific config settings consistency checks
4 * Author: Vadim Zeitlin
5 * Created: 2007-07-14
6 * RCS-ID: $Id$
7 * Copyright: (c) 2007 Vadim Zeitlin <vadim@wxwidgets.org>
8 * Licence: wxWindows licence
9 */
10
11 /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
12
13 #if wxUSE_CONSOLE_EVENTLOOP
14 # if !wxUSE_SELECT_DISPATCHER && !wxUSE_EPOLL_DISPATCHER
15 # ifdef wxABORT_ON_CONFIG_ERROR
16 # error "wxSelect/EpollDispatcher needed for console event loop"
17 # else
18 # undef wxUSE_SELECT_DISPATCHER
19 # define wxUSE_SELECT_DISPATCHER 1
20 # endif
21 # endif
22 #endif /* wxUSE_CONSOLE_EVENTLOOP */
23
24 #if wxUSE_FSWATCHER
25 # if !defined(wxHAS_INOTIFY) && !defined(wxHAS_KQUEUE)
26 # ifdef wxABORT_ON_CONFIG_ERROR
27 # error "wxFileSystemWatcher requires either inotify() or kqueue()"
28 # else
29 # undef wxUSE_FSWATCHER
30 # define wxUSE_FSWATCHER 0
31 # endif
32 # endif
33 #endif /* wxUSE_FSWATCHER */
34
35 #if wxUSE_GSTREAMER
36 # if !wxUSE_THREADS
37 # ifdef wxABORT_ON_CONFIG_ERROR
38 # error "GStreamer requires threads"
39 # else
40 # undef wxUSE_GSTREAMER
41 # define wxUSE_GSTREAMER 0
42 # endif
43 # endif
44 #endif /* wxUSE_GSTREAMER */