summaryrefslogtreecommitdiff
path: root/msdos
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2023-08-07 16:40:27 +0800
committerPo Lu <luangruo@yahoo.com>2023-08-07 16:40:27 +0800
commite37ab2065647ba603c7b87c0f795ae5d002e2205 (patch)
treeaee5ca7e578af77d954534d4f459583887706db3 /msdos
parent9a4249a022e26353c42a7da966789b05573bb3ec (diff)
downloademacs-e37ab2065647ba603c7b87c0f795ae5d002e2205.tar.gz
Fix the DJGPP build halfway
* msdos/sed1v2.inp (abs_top_builddir): Edit to .., and explain why this is okay. ($(abs_top_builddir)/src/lisp.mk): Edit to plain lisp.mk.
Diffstat (limited to 'msdos')
-rw-r--r--msdos/sed1v2.inp8
1 files changed, 8 insertions, 0 deletions
diff --git a/msdos/sed1v2.inp b/msdos/sed1v2.inp
index 1b96cc7ddc4..e7561f49889 100644
--- a/msdos/sed1v2.inp
+++ b/msdos/sed1v2.inp
@@ -295,3 +295,11 @@ s| -I\. -I\$(srcdir)| -I.|
/\$(CC) -o \$@.tmp/s/\$@.tmp/\$@/
/mv \$@.tmp \$@/d
/^top_builddir =*/s/@top_builddir@/../
+# While this variable is named abs_top_builddir, the distinction is
+# only relevant when Emacs is undergoing cross-compilation.
+/^abs_top_builddir =*/s/@abs_top_builddir@/../
+# In fact, this leads to errors where Make protests that the
+# command line is ``too long'', so edit the lisp.mk stuff to
+# not specify an absolute file name.
+s/\$(abs_top_builddir)\/src\/lisp.mk/lisp.mk/
+# But this still doesn't work.