diff options
| author | Michael Albinus | 2015-11-09 10:00:56 +0100 |
|---|---|---|
| committer | Michael Albinus | 2015-11-11 12:10:48 +0100 |
| commit | 662ee733257d573deaadd2e217894b70265fb5fe (patch) | |
| tree | 31a343154a51e310bee1ae3d840dd8aec13c4d3f /src/lisp.h | |
| parent | ef75c3b56b8ff034eb47e0c69328227127cc93fa (diff) | |
| download | emacs-662ee733257d573deaadd2e217894b70265fb5fe.tar.gz emacs-662ee733257d573deaadd2e217894b70265fb5fe.zip | |
Add kqueue support
* configure.ac (--with-file-notification): Add kqueue.
(top): Remove special test for "${HAVE_NS}" and
${with_file_notification}, this is handled inside gfilenotify
tests. Add kqueue tests. Use NOTIFY_CFLAGS and NOTIFY_LIBS
instead of library specific variables.
* src/Makefile.in: Use NOTIFY_CFLAGS and NOTIFY_LIBS.
* src/emacs.c (main): Call globals_of_kqueue and syms_of_kqueue.
* src/kqueue.c: New file.
* src/lisp.h: Declare extern globals_of_kqueue and syms_of_kqueue.
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/lisp.h b/src/lisp.h index c782f0dd003..b34a852439c 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -4258,17 +4258,23 @@ extern void init_font (void); | |||
| 4258 | extern void syms_of_fontset (void); | 4258 | extern void syms_of_fontset (void); |
| 4259 | #endif | 4259 | #endif |
| 4260 | 4260 | ||
| 4261 | /* Defined in inotify.c */ | ||
| 4262 | #ifdef HAVE_INOTIFY | ||
| 4263 | extern void syms_of_inotify (void); | ||
| 4264 | #endif | ||
| 4265 | |||
| 4266 | /* Defined in kqueue.c */ | ||
| 4267 | #ifdef HAVE_KQUEUE | ||
| 4268 | extern void globals_of_kqueue (void); | ||
| 4269 | extern void syms_of_kqueue (void); | ||
| 4270 | #endif | ||
| 4271 | |||
| 4261 | /* Defined in gfilenotify.c */ | 4272 | /* Defined in gfilenotify.c */ |
| 4262 | #ifdef HAVE_GFILENOTIFY | 4273 | #ifdef HAVE_GFILENOTIFY |
| 4263 | extern void globals_of_gfilenotify (void); | 4274 | extern void globals_of_gfilenotify (void); |
| 4264 | extern void syms_of_gfilenotify (void); | 4275 | extern void syms_of_gfilenotify (void); |
| 4265 | #endif | 4276 | #endif |
| 4266 | 4277 | ||
| 4267 | /* Defined in inotify.c */ | ||
| 4268 | #ifdef HAVE_INOTIFY | ||
| 4269 | extern void syms_of_inotify (void); | ||
| 4270 | #endif | ||
| 4271 | |||
| 4272 | #ifdef HAVE_W32NOTIFY | 4278 | #ifdef HAVE_W32NOTIFY |
| 4273 | /* Defined on w32notify.c. */ | 4279 | /* Defined on w32notify.c. */ |
| 4274 | extern void syms_of_w32notify (void); | 4280 | extern void syms_of_w32notify (void); |