aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 @@
12008-03-11 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se>
2
3 * configure.in: Add --enable-sync-input, default yes.
4
12008-03-11 Glenn Morris <rgm@gnu.org> 52008-03-11 Glenn Morris <rgm@gnu.org>
2 6
3 * Makefile.in (install-etc, mkdir): Handle directory 7 * 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:
1333 specify install directory for Emacs.app on Mac OS X 1333 specify install directory for Emacs.app on Mac OS X
1334 [DIR=/Application] 1334 [DIR=/Application]
1335 --disable-font-backend don't compile font-backend support 1335 --disable-font-backend don't compile font-backend support
1336 --enable-sync-input compile code with sync-input
1336 --enable-asserts compile code with asserts enabled 1337 --enable-asserts compile code with asserts enabled
1337 --enable-maintainer-mode 1338 --enable-maintainer-mode
1338 enable make rules and dependencies not useful (and 1339 enable make rules and dependencies not useful (and
@@ -2136,6 +2137,14 @@ else
2136fi 2137fi
2137 2138
2138 2139
2140# Check whether --enable-sync-input was given.
2141if test "${enable_sync_input+set}" = set; then
2142 enableval=$enable_sync_input; USE_SYNC_INPUT=$enableval
2143else
2144 USE_SYNC_INPUT=yes
2145fi
2146
2147
2139# Check whether --enable-asserts was given. 2148# Check whether --enable-asserts was given.
2140if test "${enable_asserts+set}" = set; then 2149if test "${enable_asserts+set}" = set; then
2141 enableval=$enable_asserts; USE_XASSERTS=$enableval 2150 enableval=$enable_asserts; USE_XASSERTS=$enableval
@@ -23900,9 +23909,15 @@ echo
23900if test $USE_XASSERTS = yes; then 23909if test $USE_XASSERTS = yes; then
23901 echo " Compiling with asserts turned on." 23910 echo " Compiling with asserts turned on."
23902 CPPFLAGS="$CPPFLAGS -DXASSERTS=1" 23911 CPPFLAGS="$CPPFLAGS -DXASSERTS=1"
23903 echo
23904fi 23912fi
23905 23913
23914if test $USE_SYNC_INPUT = yes; then
23915 echo " Compiling with sync input."
23916 CPPFLAGS="$CPPFLAGS -DSYNC_INPUT=1"
23917fi
23918
23919echo
23920
23906if test "$USE_X_TOOLKIT" = GTK; then 23921if test "$USE_X_TOOLKIT" = GTK; then
23907 case "$canonical" in 23922 case "$canonical" in
23908 *cygwin*) 23923 *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,
173 USE_FONT_BACKEND=$enableval, 173 USE_FONT_BACKEND=$enableval,
174 USE_FONT_BACKEND=yes) 174 USE_FONT_BACKEND=yes)
175 175
176AC_ARG_ENABLE(sync-input,
177[AS_HELP_STRING([--enable-sync-input], [compile code with sync-input])],
178 USE_SYNC_INPUT=$enableval,
179 USE_SYNC_INPUT=yes)
180
176AC_ARG_ENABLE(asserts, 181AC_ARG_ENABLE(asserts,
177[AS_HELP_STRING([--enable-asserts], [compile code with asserts enabled])], 182[AS_HELP_STRING([--enable-asserts], [compile code with asserts enabled])],
178 USE_XASSERTS=$enableval, 183 USE_XASSERTS=$enableval,
@@ -3001,9 +3006,15 @@ echo
3001if test $USE_XASSERTS = yes; then 3006if test $USE_XASSERTS = yes; then
3002 echo " Compiling with asserts turned on." 3007 echo " Compiling with asserts turned on."
3003 CPPFLAGS="$CPPFLAGS -DXASSERTS=1" 3008 CPPFLAGS="$CPPFLAGS -DXASSERTS=1"
3004 echo
3005fi 3009fi
3006 3010
3011if test $USE_SYNC_INPUT = yes; then
3012 echo " Compiling with sync input."
3013 CPPFLAGS="$CPPFLAGS -DSYNC_INPUT=1"
3014fi
3015
3016echo
3017
3007if test "$USE_X_TOOLKIT" = GTK; then 3018if test "$USE_X_TOOLKIT" = GTK; then
3008 case "$canonical" in 3019 case "$canonical" in
3009 *cygwin*) 3020 *cygwin*)