diff options
author | Eli Zaretskii <[email protected]> | 2011-02-19 17:57:35 +0200 |
---|---|---|
committer | Eli Zaretskii <[email protected]> | 2011-02-19 17:57:35 +0200 |
commit | 9d9d12cdf35151946d2429845a72149c5a7309e4 (patch) | |
tree | 9c8d43067efc1129d682005ad923e014b882c98f /src/s | |
parent | 56e96bed349771df1df56546450a21afc75c00d3 (diff) |
Initial version of fix for the MS-DOS build, not yet tested.
config.bat: Configure in `lib'.
msdos/sedlibmk.inp: New file.
msdos/sedlibcf.inp: New file.
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 ...".
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.
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.
src/s/msdos.h (strtold): Define to _strtold.
admin/admin.el (set-version): Add msdos/sed2v2.inp.
Diffstat (limited to 'src/s')
-rw-r--r-- | src/s/msdos.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/s/msdos.h b/src/s/msdos.h index a1d23521a0..8debd28dcc 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 */ #define HAVE_INVERSE_HYPERBOLIC #define FLOAT_CHECK_DOMAIN +/* Start of gnulib-related stuff */ + +/* lib/ftoastr.c wants strtold, but DJGPP only has _strtold. DJGPP > + 2.03 has it, but it also has _strtold as a stub that jumps to + strtold, so use _strtold in all versions. */ +#define strtold _strtold + +/* End of gnulib-related stuff. */ + /* When $TERM is "internal" then this is substituted: */ #define INTERNAL_TERMINAL "pc|bios|IBM PC with color display:\ :co#80:li#25:Co#16:pa#256:km:ms:cm=<CM>:cl=<CL>:ce=<CE>:\ |