diff options
| author | Eli Zaretskii | 2014-04-16 16:27:28 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-04-16 16:27:28 +0300 |
| commit | bf6b4923f7eedea193dee2130bf7fa597a5932d4 (patch) | |
| tree | 62bd144e45df20c0fc1600eedb3f744dcfe959a2 /config.bat | |
| parent | 3a31cae4677c7c5e501dcf7e5c520e49db16f75e (diff) | |
| download | emacs-bf6b4923f7eedea193dee2130bf7fa597a5932d4.tar.gz emacs-bf6b4923f7eedea193dee2130bf7fa597a5932d4.zip | |
Fix the MSDOS build.
src/unexcoff.c [MSDOS]: Include libc/atexit.h.
(copy_text_and_data): Zero out the atexit chain pointer before
dumping Emacs.
src/termhooks.h (encode_terminal_code): Update prototype.
src/term.c (encode_terminal_code) [DOS_NT]: Make it externally
visible for all DOS_NT ports, not just WINDOWSNT.
(syms_of_term) [!MSDOS]: Don't define 'tty-menu-*' symbols on MSDOS.
src/sysdep.c (emacs_sigaction_init, init_signals): Don't use SIGCHLD
unless it is defined.
(emacs_pipe) [MSDOS]: Redirect to 'pipe'.
src/process.c (close_on_exec, accept4, process_socket): Move into
the "ifdef subprocesses" part.
(catch_child_signal): Condition by "ifdef subprocesses".
(syms_of_process) <Qinternal_default_process_sentinel>
<Qinternal_default_process_filter>: Condition by "ifdef subprocesses".
src/msdos.h: Add prototypes for new functions.
(EINPROGRESS): Define.
(O_CLOEXEC): Define to zero.
src/msdos.c (check_window_system): Remove unnecessary an
incompatible duplicate function.
(sys_opendir, readlinkat, faccessat, fstatat, unsetenv): New
functions in support of new functionality.
src/menu.c (single_menu_item): Add visual indication of submenu
also for menus on MSDOS frames.
(Fx_popup_menu) [!MSDOS]: Do not call tty_menu_show on MSDOS.
src/lisp.h (CHECK_PROCESS) [!subprocesses]: Do not define
when async subprocesses aren't supported.
src/font.h (FONT_WIDTH) [MSDOS]: MSDOS-specific definition.
src/emacs.c (close_output_streams): Zero out errno before calling
close_stream.
src/dired.c [MSDOS]: Include msdos.h.
src/conf_post.h (opendir) [MSDOS]: Redirect to sys_opendir.
(DATA_START) [MSDOS]: Define.
(SYSTEM_PURESIZE_EXTRA) [MSDOS]: Enlarge by 25K.
src/callproc.c (block_child_signal, unblock_child_signal) [MSDOS]:
Ifdef away for MSDOS.
(record_kill_process) [MSDOS]: Ifdef away the entire body for MSDOS.
(call_process_cleanup) [MSDOS]: Ifdef away portions not relevant
for MSDOS.
(call_process) [MSDOS]: Fix call sequence of dostounix_filename.
Use temporary file template that is compatible with mkostemp.
Move vfork-related portions under #ifndef MSDOS.
(syms_of_callproc): Unify templates of MSDOS and WINDOWSNT.
lisp/term/pc-win.el (x-list-fonts, x-get-selection-value): Provide
doc strings, as required by snarf-documentation.
msdos/sedlisp.inp:
msdos/sedlibmk.inp:
msdos/sedleim.inp:
msdos/sed3v2.inp:
msdos/sed2v2.inp:
msdos/sed1v2.inp: Update Sed scripts for Emacs 24.4.
msdos/inttypes.h: Add PRIdMAX.
msdos/INSTALL: Update for Emacs 24.4.
msdos/sedadmin.inp: New file.
Diffstat (limited to 'config.bat')
| -rw-r--r-- | config.bat | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/config.bat b/config.bat index 8af3756222b..cc354478ee9 100644 --- a/config.bat +++ b/config.bat | |||
| @@ -264,8 +264,14 @@ cd lib | |||
| 264 | Rem Rename files like djtar on plain DOS filesystem would. | 264 | Rem Rename files like djtar on plain DOS filesystem would. |
| 265 | If Exist build-aux\snippet\c++defs.h update build-aux/snippet/c++defs.h build-aux/snippet/cxxdefs.h | 265 | If Exist build-aux\snippet\c++defs.h update build-aux/snippet/c++defs.h build-aux/snippet/cxxdefs.h |
| 266 | If Exist alloca.in.h update alloca.in.h alloca.in-h | 266 | If Exist alloca.in.h update alloca.in.h alloca.in-h |
| 267 | If Exist byteswap.in.h update byteswap.in.h byteswap.in-h | ||
| 268 | If Exist dirent.in.h update dirent.in.h dirent.in-h | ||
| 269 | If Exist errno.in.h update errno.in.h errno.in-h | ||
| 267 | If Exist execinfo.in.h update execinfo.in.h execinfo.in-h | 270 | If Exist execinfo.in.h update execinfo.in.h execinfo.in-h |
| 271 | If Exist fcntl.in.h update fcntl.in.h fcntl.in-h | ||
| 268 | If Exist getopt.in.h update getopt.in.h getopt.in-h | 272 | If Exist getopt.in.h update getopt.in.h getopt.in-h |
| 273 | If Exist inttypes.in.h update inttypes.in.h inttypes.in-h | ||
| 274 | If Exist stdarg.in.h update stdarg.in.h stdarg.in-h | ||
| 269 | If Exist stdalign.in.h update stdalign.in.h stdalign.in-h | 275 | If Exist stdalign.in.h update stdalign.in.h stdalign.in-h |
| 270 | If Exist stdbool.in.h update stdbool.in.h stdbool.in-h | 276 | If Exist stdbool.in.h update stdbool.in.h stdbool.in-h |
| 271 | If Exist signal.in.h update signal.in.h signal.in-h | 277 | If Exist signal.in.h update signal.in.h signal.in-h |
| @@ -274,8 +280,11 @@ If Exist stddef.in.h update stddef.in.h stddef.in-h | |||
| 274 | If Exist stdint.in.h update stdint.in.h stdint.in-h | 280 | If Exist stdint.in.h update stdint.in.h stdint.in-h |
| 275 | If Exist stdio.in.h update stdio.in.h stdio.in-h | 281 | If Exist stdio.in.h update stdio.in.h stdio.in-h |
| 276 | If Exist stdlib.in.h update stdlib.in.h stdlib.in-h | 282 | If Exist stdlib.in.h update stdlib.in.h stdlib.in-h |
| 283 | If Exist string.in.h update string.in.h string.in-h | ||
| 284 | If Exist sys_select.in.h update sys_select.in.h sys_select.in-h | ||
| 277 | If Exist sys_stat.in.h update sys_stat.in.h sys_stat.in-h | 285 | If Exist sys_stat.in.h update sys_stat.in.h sys_stat.in-h |
| 278 | If Exist sys_types.in.h update sys_types.in.h sys_types.in-h | 286 | If Exist sys_types.in.h update sys_types.in.h sys_types.in-h |
| 287 | If Exist sys_time.in.h update sys_time.in.h sys_time.in-h | ||
| 279 | If Exist time.in.h update time.in.h time.in-h | 288 | If Exist time.in.h update time.in.h time.in-h |
| 280 | If Exist unistd.in.h update unistd.in.h unistd.in-h | 289 | If Exist unistd.in.h update unistd.in.h unistd.in-h |
| 281 | If Exist Makefile.in sed -f ../msdos/sedlibcf.inp < Makefile.in > makefile.tmp | 290 | If Exist Makefile.in sed -f ../msdos/sedlibcf.inp < Makefile.in > makefile.tmp |
| @@ -294,13 +303,18 @@ If Exist gnus\.dir-locals.el update gnus/.dir-locals.el gnus/_dir-locals.el | |||
| 294 | sed -f ../msdos/sedlisp.inp < Makefile.in > Makefile | 303 | sed -f ../msdos/sedlisp.inp < Makefile.in > Makefile |
| 295 | cd .. | 304 | cd .. |
| 296 | rem ---------------------------------------------------------------------- | 305 | rem ---------------------------------------------------------------------- |
| 297 | If not Exist leim\quail\latin-pre.el goto maindir | ||
| 298 | Echo Configuring the leim directory... | 306 | Echo Configuring the leim directory... |
| 299 | cd leim | 307 | cd leim |
| 300 | sed -f ../msdos/sedleim.inp < Makefile.in > Makefile | 308 | sed -f ../msdos/sedleim.inp < Makefile.in > Makefile |
| 301 | cd .. | 309 | cd .. |
| 302 | rem ---------------------------------------------------------------------- | 310 | rem ---------------------------------------------------------------------- |
| 303 | :maindir | 311 | If Not Exist admin\unidata goto noadmin |
| 312 | Echo Configuring the admin/unidata directory... | ||
| 313 | cd admin\unidata | ||
| 314 | sed -f ../../msdos/sedadmin.inp < Makefile.in > Makefile | ||
| 315 | cd ..\.. | ||
| 316 | :noadmin | ||
| 317 | rem ---------------------------------------------------------------------- | ||
| 304 | Echo Configuring the main directory... | 318 | Echo Configuring the main directory... |
| 305 | If Exist .dir-locals.el update .dir-locals.el _dir-locals.el | 319 | If Exist .dir-locals.el update .dir-locals.el _dir-locals.el |
| 306 | If Exist src\.dbxinit update src/.dbxinit src/_dbxinit | 320 | If Exist src\.dbxinit update src/.dbxinit src/_dbxinit |