diff options
| author | Jan Djärv | 2008-03-11 08:14:28 +0000 |
|---|---|---|
| committer | Jan Djärv | 2008-03-11 08:14:28 +0000 |
| commit | ca34d75a59d42b2a9f11a2f6b754ef21005fbdfd (patch) | |
| tree | 8fb3260a8e625c9cd9ae909eaf02c78c611a5f16 | |
| parent | 191a057dc06f06388accfc0aaa7647a734372b67 (diff) | |
| download | emacs-ca34d75a59d42b2a9f11a2f6b754ef21005fbdfd.tar.gz emacs-ca34d75a59d42b2a9f11a2f6b754ef21005fbdfd.zip | |
Add --enable-sync-input, default yes.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rwxr-xr-x | configure | 17 | ||||
| -rw-r--r-- | configure.in | 13 |
3 files changed, 32 insertions, 2 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-03-11 Jan Dj$(Q)Z(Brv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * configure.in: Add --enable-sync-input, default yes. | ||
| 4 | |||
| 1 | 2008-03-11 Glenn Morris <rgm@gnu.org> | 5 | 2008-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 |
| @@ -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 | |||
| 2136 | fi | 2137 | fi |
| 2137 | 2138 | ||
| 2138 | 2139 | ||
| 2140 | # Check whether --enable-sync-input was given. | ||
| 2141 | if test "${enable_sync_input+set}" = set; then | ||
| 2142 | enableval=$enable_sync_input; USE_SYNC_INPUT=$enableval | ||
| 2143 | else | ||
| 2144 | USE_SYNC_INPUT=yes | ||
| 2145 | fi | ||
| 2146 | |||
| 2147 | |||
| 2139 | # Check whether --enable-asserts was given. | 2148 | # Check whether --enable-asserts was given. |
| 2140 | if test "${enable_asserts+set}" = set; then | 2149 | if 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 | |||
| 23900 | if test $USE_XASSERTS = yes; then | 23909 | if 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 | ||
| 23904 | fi | 23912 | fi |
| 23905 | 23913 | ||
| 23914 | if test $USE_SYNC_INPUT = yes; then | ||
| 23915 | echo " Compiling with sync input." | ||
| 23916 | CPPFLAGS="$CPPFLAGS -DSYNC_INPUT=1" | ||
| 23917 | fi | ||
| 23918 | |||
| 23919 | echo | ||
| 23920 | |||
| 23906 | if test "$USE_X_TOOLKIT" = GTK; then | 23921 | if 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 | ||
| 176 | AC_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 | |||
| 176 | AC_ARG_ENABLE(asserts, | 181 | AC_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 | |||
| 3001 | if test $USE_XASSERTS = yes; then | 3006 | if 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 | ||
| 3005 | fi | 3009 | fi |
| 3006 | 3010 | ||
| 3011 | if test $USE_SYNC_INPUT = yes; then | ||
| 3012 | echo " Compiling with sync input." | ||
| 3013 | CPPFLAGS="$CPPFLAGS -DSYNC_INPUT=1" | ||
| 3014 | fi | ||
| 3015 | |||
| 3016 | echo | ||
| 3017 | |||
| 3007 | if test "$USE_X_TOOLKIT" = GTK; then | 3018 | if test "$USE_X_TOOLKIT" = GTK; then |
| 3008 | case "$canonical" in | 3019 | case "$canonical" in |
| 3009 | *cygwin*) | 3020 | *cygwin*) |