+
+#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 */