diff options
| author | Jan Djärv | 2013-06-08 20:13:24 +0200 |
|---|---|---|
| committer | Jan Djärv | 2013-06-08 20:13:24 +0200 |
| commit | b33f93eea9ddf94aaa4c48b9c057a58b8fa2b6c9 (patch) | |
| tree | 7fec26bb221a967dd3dbe6834dc32e950fba8465 /src/process.c | |
| parent | 1698f87abddff63b6c8662276334936e249d80a2 (diff) | |
| download | emacs-b33f93eea9ddf94aaa4c48b9c057a58b8fa2b6c9.tar.gz emacs-b33f93eea9ddf94aaa4c48b9c057a58b8fa2b6c9.zip | |
Fix compilation issues for GNUStep and GLIB conflicts.
* configure.ac (HAVE_GLIB): Only set XGSELOBJ if HAVE_NS = no.
(with_file_notification): Don't set to gfile if with_ns = yes.
* src/process.c (wait_reading_process_output): Check for NS before GLIB.
GLIB may be linked in due to rsvg, but ns_select must be called.
* src/xgselect.c (xg_select): Remove call to window_system_available
and g_main_context_pending at the top, so Gdk events (i.e. file
notify) are processed when Emacs is started with -nw.
* src/xgselect.c: Remove unneeded include xterm.h
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/process.c b/src/process.c index 6ae02494d36..e51b45bd64f 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -4528,10 +4528,10 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd, | |||
| 4528 | } | 4528 | } |
| 4529 | #endif | 4529 | #endif |
| 4530 | 4530 | ||
| 4531 | #if defined (HAVE_GLIB) | 4531 | #if defined (HAVE_NS) |
| 4532 | nfds = xg_select | 4532 | nfds = ns_select |
| 4533 | #elif defined (HAVE_NS) | 4533 | #elif defined (HAVE_GLIB) |
| 4534 | nfds = ns_select | 4534 | nfds = xg_select |
| 4535 | #else | 4535 | #else |
| 4536 | nfds = pselect | 4536 | nfds = pselect |
| 4537 | #endif | 4537 | #endif |