Fix compilation issues for GNUStep and GLIB conflicts.
authorJan Djärv <jan.h.d@swipnet.se>
Sat, 8 Jun 2013 18:13:24 +0000 (20:13 +0200)
committerJan Djärv <jan.h.d@swipnet.se>
Sat, 8 Jun 2013 18:13:24 +0000 (20:13 +0200)
commitb33f93eea9ddf94aaa4c48b9c057a58b8fa2b6c9
tree7fec26bb221a967dd3dbe6834dc32e950fba8465
parent1698f87abddff63b6c8662276334936e249d80a2
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
ChangeLog
configure.ac
src/ChangeLog
src/process.c
src/xgselect.c