diff options
| author | Eli Zaretskii | 2011-02-19 21:56:29 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2011-02-19 21:56:29 +0200 |
| commit | 615d868ee6add5d37db574d266f0d166c2f16bb8 (patch) | |
| tree | abf530e19e9273272afaa4064ffd74ea67857dd5 /src | |
| parent | 67ab0163d67fbfeb41c37c8a259f27eeef965520 (diff) | |
| parent | 83627c032a6c07c15cc0434b23514f34d9583685 (diff) | |
| download | emacs-615d868ee6add5d37db574d266f0d166c2f16bb8.tar.gz emacs-615d868ee6add5d37db574d266f0d166c2f16bb8.zip | |
Adapt and fix the MS-DOS port due to gnulib imports.
msdos/depfiles.bat: New file.
msdos/sedlibmk.inp: New file.
msdos/sedlibcf.inp: New file.
msdos/sedleim.inp (RUN_EMACS): Rename from RUN-EMACS.
(BUILT_EMACS): Rename from BUILT-EMACS.
msdos/sed6.inp (MAKEINFO): Edit to "makeinfo".
(ENVADD): Adjust to MAKEINFO_OPTS.
(texinputdir): Don't edit.
msdos/sed3v2.inp (-DVERSION): Edit out.
(LOADLIBES): Don't edit to empty.
msdos/sed2v2.inp: Remove workaround for the "#if ! HAVE_MKTIME ||
BROKEN_MKTIME" stuff -- it's no longer in src/config.in.
(HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
(HAVE__BOOL): Edit to 1.
(VERSION, inline, restrict): Edit for DJGPP.
(my_strftime): Edit to nstrftime.
msdos/sed1v2.inp (NS_OBJC_OBJ): Edit to empty.
(@true): Edit to "@rem".
(move-if-change): Edit to "update".
(echo): Edit to "djecho".
(cd $(lib) && ...): Edit to "$(MAKE) -C ...".
(LIBOBJS): Edit to empty.
($(libsrc)/make-docfile): Two new edits, one each for every
invocation of make-docfile.
(move-if-change): Fix edit.
Remove some unused switches from $(ALL_CFLAGS), to make the GCC
command line shorter.
msdos/mainmake.v2 (version): Remove, no longer needed (config.in
defines VERSION).
(all): Add lib.
(lib): New target and recipe.
(lib-src): Depend on lib.
(src): Depend on lib and lib-src.
(clean, mostlyclean, distclean, maintainer-clean, extraclean)
(bootstrap-clean): Recurse into lib.
(lib, lib-src, src): Specify "all" as an explicit target.
.bzrignore: Ignore cxxdefs.h and lib/*.in-h files.
Add lib/deps/.
config.bat: Configure in `lib'.
Generate *.Po files in lib/deps.
src/termcap.c (tputs): Don't declare baud_rate.
src/s/msdos.h (strtold): Define to _strtold.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/s/msdos.h | 9 | ||||
| -rw-r--r-- | src/termcap.c | 1 |
3 files changed, 15 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index dea7b2547fd..2b4d60f9189 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-02-19 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * termcap.c (tputs): Don't declare baud_rate. | ||
| 4 | |||
| 5 | * s/msdos.h (strtold): Define to _strtold. | ||
| 6 | |||
| 1 | 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 8 | ||
| 3 | * process.c (Fstart_process, Fmake_serial_process) | 9 | * process.c (Fstart_process, Fmake_serial_process) |
diff --git a/src/s/msdos.h b/src/s/msdos.h index a1d23521a0a..8debd28dccb 100644 --- a/src/s/msdos.h +++ b/src/s/msdos.h | |||
| @@ -73,6 +73,15 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */ | |||
| 73 | #define HAVE_INVERSE_HYPERBOLIC | 73 | #define HAVE_INVERSE_HYPERBOLIC |
| 74 | #define FLOAT_CHECK_DOMAIN | 74 | #define FLOAT_CHECK_DOMAIN |
| 75 | 75 | ||
| 76 | /* Start of gnulib-related stuff */ | ||
| 77 | |||
| 78 | /* lib/ftoastr.c wants strtold, but DJGPP only has _strtold. DJGPP > | ||
| 79 | 2.03 has it, but it also has _strtold as a stub that jumps to | ||
| 80 | strtold, so use _strtold in all versions. */ | ||
| 81 | #define strtold _strtold | ||
| 82 | |||
| 83 | /* End of gnulib-related stuff. */ | ||
| 84 | |||
| 76 | /* When $TERM is "internal" then this is substituted: */ | 85 | /* When $TERM is "internal" then this is substituted: */ |
| 77 | #define INTERNAL_TERMINAL "pc|bios|IBM PC with color display:\ | 86 | #define INTERNAL_TERMINAL "pc|bios|IBM PC with color display:\ |
| 78 | :co#80:li#25:Co#16:pa#256:km:ms:cm=<CM>:cl=<CL>:ce=<CE>:\ | 87 | :co#80:li#25:Co#16:pa#256:km:ms:cm=<CM>:cl=<CL>:ce=<CE>:\ |
diff --git a/src/termcap.c b/src/termcap.c index 9e64d027640..69ce56d93b3 100644 --- a/src/termcap.c +++ b/src/termcap.c | |||
| @@ -268,7 +268,6 @@ tputs (register char *str, int nlines, register int (*outfun) (/* ??? */)) | |||
| 268 | register int padcount = 0; | 268 | register int padcount = 0; |
| 269 | register int speed; | 269 | register int speed; |
| 270 | 270 | ||
| 271 | extern EMACS_INT baud_rate; | ||
| 272 | speed = baud_rate; | 271 | speed = baud_rate; |
| 273 | /* For quite high speeds, convert to the smaller | 272 | /* For quite high speeds, convert to the smaller |
| 274 | units to avoid overflow. */ | 273 | units to avoid overflow. */ |