]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix the DJGPP build halfway
authorPo Lu <luangruo@yahoo.com>
Mon, 7 Aug 2023 08:40:27 +0000 (16:40 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 7 Aug 2023 08:40:27 +0000 (16:40 +0800)
* 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.

msdos/sed1v2.inp

index 1b96cc7ddc445bd93f00242686388e8328d26860..e7561f498892c97f76e42ed9e44c9f694dfa341b 100644 (file)
@@ -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.