aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDmitry Antipov <[email protected]>2014-06-05 10:24:54 +0400
committerDmitry Antipov <[email protected]>2014-06-05 10:24:54 +0400
commitea633fff4c8e2e4a2b7f6117ba0a9d5a2685aecd (patch)
treed055b3ab685fea0ab59223f9dfcedd858576eccd /configure.ac
parent0d46b5f12c2e87c1fb2d5f103f2012c2f03a7ba9 (diff)
* configure.ac (POLL_FOR_INPUT): Define with HAVE_WINDOW_SYSTEM.
* nt/inc/ms-w32.h (POLL_FOR_INPUT): Likewise. * src/keyboard.c, src/process.c: Do not define POLL_FOR_INPUT here because it will be defined in generated config.h if needed.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index fbfedb0279..f5485942bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4847,6 +4847,7 @@ AC_SUBST(LD_SWITCH_SYSTEM_TEMACS)
## Common for all window systems
if test "$window_system" != "none"; then
AC_DEFINE(HAVE_WINDOW_SYSTEM, 1, [Define if you have a window system.])
+ AC_DEFINE(POLL_FOR_INPUT, 1, [Define if you poll periodically to detect C-g.])
WINDOW_SYSTEM_OBJ="fontset.o fringe.o image.o"
fi