diff options
author | Eli Zaretskii <eliz@gnu.org> | 2011-04-30 13:31:17 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2011-04-30 13:31:17 +0300 |
commit | 8db90b73941f09a17c41069828c64b91eca790d6 (patch) | |
tree | 85c45053563b0662294fea78e88bb0a27febbbd7 /msdos/sed1v2.inp | |
parent | 330d880c3acc6b9e072b75af68a6332120de4457 (diff) | |
download | emacs-8db90b73941f09a17c41069828c64b91eca790d6.tar.gz |
Adapt the MSDOS build to latest changes.
msdos/inttypes.h: New file.
msdos/sed2v2.inp (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
(HAVE_STRTOULL, HAVE_STRTOULL): Define to 1.
src/sedlibmk.inp (BUILT_SOURCES): Edit out inttypes.h.
src/sed1v2.inp (CPPFLAGS): Edit to "-I../msdos".
Add ../msdos/inttypes.h to prerequisites of lread.o.
src/dosfns.c (Fint86, Fdos_memget, Fdos_memput): Use `ASIZE (FOO)'
rather than `XVECTOR (FOO)->size'.
Diffstat (limited to 'msdos/sed1v2.inp')
-rw-r--r-- | msdos/sed1v2.inp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/msdos/sed1v2.inp b/msdos/sed1v2.inp index 2afce070e30..44ee53a5c34 100644 --- a/msdos/sed1v2.inp +++ b/msdos/sed1v2.inp @@ -28,7 +28,8 @@ s/\.h\.in/.h-in/ /^CPP *=/s/@[^@\n]*@/gcc -e/ /^CFLAGS *=/s/@[^@\n]*@/-O2 -gcoff/ /^ALL_CFLAGS *=/s/@[^@\n]*@//g -/^CPPFLAGS *=/s/@[^@\n]*@// +/^ALL_CFLAGS *=/s/ -I\.//g +/^CPPFLAGS *=/s|@[^@\n]*@|-I../msdos| /^LDFLAGS *=/s/@[^@\n]*@// /^LD_FIRSTFLAG *=/s/@[^@\n]*@// /^LIBS *=/s/@[^@\n]*@// @@ -193,3 +194,5 @@ s/\$(LIBOTF_CFLAGS) \$(M17N_FLT_CFLAGS) \$(DEPFLAGS) // s/ \$(C_SWITCH_X_SITE)// s/ \$(DBUS_CFLAGS)// s| -I\$(srcdir)/../lib|| +# Add our local inttypes.h to prerequisites where needed +/^lread\.o:/s|lread\.c|& ../msdos/inttypes.h| |