]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/unix/chkconf.h
2 * Name: wx/unix/chkconf.h
3 * Purpose: Unix-specific config settings consistency checks
4 * Author: Vadim Zeitlin
7 * Copyright: (c) 2007 Vadim Zeitlin <vadim@wxwidgets.org>
8 * Licence: wxWindows licence
11 /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
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"
18 # undef wxUSE_SELECT_DISPATCHER
19 # define wxUSE_SELECT_DISPATCHER 1
22 #endif /* wxUSE_CONSOLE_EVENTLOOP */
25 # if !defined(wxHAS_INOTIFY) && !defined(wxHAS_KQUEUE)
26 # ifdef wxABORT_ON_CONFIG_ERROR
27 # error "wxFileSystemWatcher requires either inotify() or kqueue()"
29 # undef wxUSE_FSWATCHER
30 # define wxUSE_FSWATCHER 0
33 #endif /* wxUSE_FSWATCHER */
37 # ifdef wxABORT_ON_CONFIG_ERROR
38 # error "GStreamer requires threads"
40 # undef wxUSE_GSTREAMER
41 # define wxUSE_GSTREAMER 0
44 #endif /* wxUSE_GSTREAMER */