Refactor window-system configuration
authorDaniel Colascione <dancol@dancol.org>
Sat, 1 Sep 2012 06:38:52 +0000 (22:38 -0800)
committerDaniel Colascione <dancol@dancol.org>
Sat, 1 Sep 2012 06:38:52 +0000 (22:38 -0800)
commit17a2cbbd76385d0be8a4b28974e64f4debf459c1
treec9d9f61e8580269679c9583ee94ccd812cca5790
parentc650a5dec69902c684c5333befd35da6c518c5e0
Refactor window-system configuration

This change streamlines the window system selection code in
configure.in and moves many common function declarations from
window-specific headers to frame.h.  It introduces a new TERM_HEADER
macro in config.h: we set this macro to the right header to use for
the window system for which we're compiling Emacs and have source
files include it indirectly.  This way, we don't have to teach every
file about every window system.
24 files changed:
ChangeLog
configure.ac
nt/ChangeLog
nt/inc/ms-w32.h
src/ChangeLog
src/Makefile.in
src/ccl.h
src/dispnew.c
src/emacs.c
src/font.c
src/frame.c
src/frame.h
src/gtkutil.h
src/image.c
src/keyboard.c
src/keyboard.h
src/menu.c
src/nsterm.h
src/process.c
src/w32font.h
src/w32term.h
src/w32xfns.c
src/xfaces.c
src/xterm.h