X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1873279648582e6af46f9103460da50bf5e03b9..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/unix/chkconf.h?ds=sidebyside diff --git a/include/wx/unix/chkconf.h b/include/wx/unix/chkconf.h index a6a4e64cc5..b8a1904133 100644 --- a/include/wx/unix/chkconf.h +++ b/include/wx/unix/chkconf.h @@ -3,7 +3,6 @@ * Purpose: Unix-specific config settings consistency checks * Author: Vadim Zeitlin * Created: 2007-07-14 - * RCS-ID: $Id$ * Copyright: (c) 2007 Vadim Zeitlin * Licence: wxWindows licence */ @@ -20,3 +19,25 @@ # endif # endif #endif /* wxUSE_CONSOLE_EVENTLOOP */ + +#if wxUSE_FSWATCHER +# if !defined(wxHAS_INOTIFY) && !defined(wxHAS_KQUEUE) +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxFileSystemWatcher requires either inotify() or kqueue()" +# else +# undef wxUSE_FSWATCHER +# define wxUSE_FSWATCHER 0 +# endif +# endif +#endif /* wxUSE_FSWATCHER */ + +#if wxUSE_GSTREAMER +# if !wxUSE_THREADS +# ifdef wxABORT_ON_CONFIG_ERROR +# error "GStreamer requires threads" +# else +# undef wxUSE_GSTREAMER +# define wxUSE_GSTREAMER 0 +# endif +# endif +#endif /* wxUSE_GSTREAMER */