]> code.delx.au - gnu-emacs/commitdiff
Fix glitches with 'configure --without-sync-input'.
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 14 Sep 2012 22:01:19 +0000 (15:01 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 14 Sep 2012 22:01:19 +0000 (15:01 -0700)
* configure.ac (--without-sync-input): Fix typo in usage message.
* alloc.c [!SYSTEM_MALLOC && !SYNC_INPUT && HAVE_PTHREAD]:
Include "syssignal.h", for 'main_thread'.

ChangeLog
configure.ac
src/ChangeLog
src/alloc.c

index b0f6ab6e9848565d628f1cd240c51a73f92f8885..3e662edb6bc9c133fe51d94f15786c85adf8405c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-09-14  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * configure.ac (--without-sync-input): Fix typo in usage message.
+
        * configure.ac: Port to hosts lacking gtk.
        (PKG_CHECK_MODULES): Capture pkg-config diagnostics
        better, in particular, problems in invoking pkg-config itself.
index accbb68e7b0f0d1f0c59096ac685781251062c55..382e62a97a1fac2b247bb3ecb95aefd403fc8b3b 100644 (file)
@@ -128,7 +128,7 @@ AC_ARG_WITH([mailhost],[AS_HELP_STRING([--with-mailhost=HOSTNAME],
 
 OPTION_DEFAULT_ON([sound],[don't compile with sound support])
 
-OPTION_DEFAULT_ON([sync-input],[process async input synchronously])
+OPTION_DEFAULT_ON([sync-input],[don't process async input synchronously])
 if test "$with_sync_input" = yes; then
    AC_DEFINE(SYNC_INPUT, 1, [Process async input synchronously.])
 fi
index 276988860794d41afc49ad3fdc0bcb1f10d6d7c9..b1b4dc8bbcdfd629afdf5a2e75a63b5862e3a739 100644 (file)
@@ -1,3 +1,8 @@
+2012-09-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * alloc.c [!SYSTEM_MALLOC && !SYNC_INPUT && HAVE_PTHREAD]:
+       Include "syssignal.h", for 'main_thread'.
+
 2012-09-14  Dmitry Antipov  <dmantipov@yandex.ru>
 
        Avoid out-of-range marker position (Bug#12426).
index 77807f6e086d3309e2e71e26824cc17b3c93e316..25cf03dfa2ebaab39e25769b7a351e5a7498c1bf 100644 (file)
@@ -100,6 +100,8 @@ extern void _free_internal (void *);
 #if ! defined SYSTEM_MALLOC && ! defined SYNC_INPUT
 #ifdef HAVE_PTHREAD
 
+# include "syssignal.h"
+
 /* When GTK uses the file chooser dialog, different backends can be loaded
    dynamically.  One such a backend is the Gnome VFS backend that gets loaded
    if you run Gnome.  That backend creates several threads and also allocates