From: Jan Djärv Date: Tue, 11 Mar 2008 08:14:28 +0000 (+0000) Subject: Add --enable-sync-input, default yes. X-Git-Tag: emacs-pretest-23.0.90~7282 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ca34d75a59d42b2a9f11a2f6b754ef21005fbdfd;p=emacs.git Add --enable-sync-input, default yes. --- 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 + + * configure.in: Add --enable-sync-input, default yes. + 2008-03-11 Glenn Morris * 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*)