]>
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
6 * Copyright: (c) 2007 Vadim Zeitlin <vadim@wxwidgets.org>
7 * Licence: wxWindows licence
10 /* THIS IS A C FILE, DON'T USE C++ FEATURES (IN PARTICULAR COMMENTS) IN IT */
12 #if wxUSE_CONSOLE_EVENTLOOP
13 # if !wxUSE_SELECT_DISPATCHER && !wxUSE_EPOLL_DISPATCHER
14 # ifdef wxABORT_ON_CONFIG_ERROR
15 # error "wxSelect/EpollDispatcher needed for console event loop"
17 # undef wxUSE_SELECT_DISPATCHER
18 # define wxUSE_SELECT_DISPATCHER 1
21 #endif /* wxUSE_CONSOLE_EVENTLOOP */
24 # if !defined(wxHAS_INOTIFY) && !defined(wxHAS_KQUEUE)
25 # ifdef wxABORT_ON_CONFIG_ERROR
26 # error "wxFileSystemWatcher requires either inotify() or kqueue()"
28 # undef wxUSE_FSWATCHER
29 # define wxUSE_FSWATCHER 0
32 #endif /* wxUSE_FSWATCHER */
36 # ifdef wxABORT_ON_CONFIG_ERROR
37 # error "GStreamer requires threads"
39 # undef wxUSE_GSTREAMER
40 # define wxUSE_GSTREAMER 0
43 #endif /* wxUSE_GSTREAMER */