summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2008-03-11 08:14:28 +0000
committerJan Djärv <jan.h.d@swipnet.se>2008-03-11 08:14:28 +0000
commitca34d75a59d42b2a9f11a2f6b754ef21005fbdfd (patch)
tree8fb3260a8e625c9cd9ae909eaf02c78c611a5f16
parent191a057dc06f06388accfc0aaa7647a734372b67 (diff)
downloademacs-ca34d75a59d42b2a9f11a2f6b754ef21005fbdfd.tar.gz
Add --enable-sync-input, default yes.
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure17
-rw-r--r--configure.in13
3 files changed, 32 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 25d7ad5c7b7..16eb9e778a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-11 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se>
+
+ * configure.in: Add --enable-sync-input, default yes.
+
2008-03-11 Glenn Morris <rgm@gnu.org>
* Makefile.in (install-etc, mkdir): Handle directory
diff --git a/configure b/configure
index f2c2110faba..54830584109 100755
--- a/configure
+++ b/configure
@@ -1333,6 +1333,7 @@ Optional Features:
specify install directory for Emacs.app on Mac OS X
[DIR=/Application]
--disable-font-backend don't compile font-backend support
+ --enable-sync-input compile code with sync-input
--enable-asserts compile code with asserts enabled
--enable-maintainer-mode
enable make rules and dependencies not useful (and
@@ -2136,6 +2137,14 @@ else
fi
+# Check whether --enable-sync-input was given.
+if test "${enable_sync_input+set}" = set; then
+ enableval=$enable_sync_input; USE_SYNC_INPUT=$enableval
+else
+ USE_SYNC_INPUT=yes
+fi
+
+
# Check whether --enable-asserts was given.
if test "${enable_asserts+set}" = set; then
enableval=$enable_asserts; USE_XASSERTS=$enableval
@@ -23900,9 +23909,15 @@ echo
if test $USE_XASSERTS = yes; then
echo " Compiling with asserts turned on."
CPPFLAGS="$CPPFLAGS -DXASSERTS=1"
- echo
fi
+if test $USE_SYNC_INPUT = yes; then
+ echo " Compiling with sync input."
+ CPPFLAGS="$CPPFLAGS -DSYNC_INPUT=1"
+fi
+
+echo
+
if test "$USE_X_TOOLKIT" = GTK; then
case "$canonical" in
*cygwin*)
diff --git a/configure.in b/configure.in
index e8a7ab20e04..72d4863f559 100644
--- a/configure.in
+++ b/configure.in
@@ -173,6 +173,11 @@ AC_ARG_ENABLE(font-backend,
USE_FONT_BACKEND=$enableval,
USE_FONT_BACKEND=yes)
+AC_ARG_ENABLE(sync-input,
+[AS_HELP_STRING([--enable-sync-input], [compile code with sync-input])],
+ USE_SYNC_INPUT=$enableval,
+ USE_SYNC_INPUT=yes)
+
AC_ARG_ENABLE(asserts,
[AS_HELP_STRING([--enable-asserts], [compile code with asserts enabled])],
USE_XASSERTS=$enableval,
@@ -3001,9 +3006,15 @@ echo
if test $USE_XASSERTS = yes; then
echo " Compiling with asserts turned on."
CPPFLAGS="$CPPFLAGS -DXASSERTS=1"
- echo
fi
+if test $USE_SYNC_INPUT = yes; then
+ echo " Compiling with sync input."
+ CPPFLAGS="$CPPFLAGS -DSYNC_INPUT=1"
+fi
+
+echo
+
if test "$USE_X_TOOLKIT" = GTK; then
case "$canonical" in
*cygwin*)