]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix the "config msdos" step of MS-DOS build (due to removal of some cpp stuff from...
authorEli Zaretskii <eliz@gnu.org>
Fri, 7 May 2010 11:21:29 +0000 (14:21 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 7 May 2010 11:21:29 +0000 (14:21 +0300)
 config.bat: Allow for 2 leading `#'s in comments in src/Makefile.in.
 src/Makefile.in: Don't use Make-style comments past the
 "start of cpp stuff" line.

ChangeLog
config.bat
src/ChangeLog
src/Makefile.in

index 06a8ad610b68e40837d1e641bbde8854baa7c3a0..ffabf7204c2f0119d9f2b24cff9c2eb0d4a163a8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-07  Eli Zaretskii  <eliz@gnu.org>
+
+       * config.bat: Allow for 2 leading `#'s in comments in
+       src/Makefile.in.
+
 2010-05-07  Glenn Morris  <rgm@gnu.org>
 
        * configure.in (LD_SWITCH_SYSTEM): Set with configure, not cpp.
index 5a0e9168fa3482eb8161634389deda2a8a007695..271673bc302f3676a3494802ccf914249e250a8d 100644 (file)
@@ -197,7 +197,7 @@ if exist dir.h ren dir.h vmsdir.h
 \r
 rem   Create "makefile" from "makefile.in".\r
 rm -f Makefile junk.c\r
-sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" <Makefile.in >junk.c\r
+sed -e "1,/== start of cpp stuff ==/s@^##*[    ].*$@@" <Makefile.in >junk.c\r
 If "%DJGPP_VER%" == "1" Goto mfV1\r
 gcc -E -traditional junk.c | sed -f ../msdos/sed1v2.inp >Makefile\r
 goto mfDone\r
index 04d9d6b82667dbe0de4d7f606648fbeade5ee35e..b6847aa164ee418ba7a54b3e30f69df423fe70dc 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-07  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (PRE_ALLOC_OBJ): Don't use Make-style comments past
+       the "start of cpp stuff" line.
+
 2010-05-07  Glenn Morris  <rgm@gnu.org>
 
        * Makefile.in (LD_SWITCH_SYSTEM): Set with configure, not cpp.
index 5ea321df78c2f59b9d0653cb0d3a89f72f105571..f6fcff659a6b396bd2c20a130342dc4a09080912 100644 (file)
@@ -397,9 +397,9 @@ rallocobj = ralloc.o
 vmlimitobj = vm-limit.o
 #endif /* !SYSTEM_MALLOC */
 
-## Empty on Cygwin, lastfile.o elsewhere.
+/* Empty on Cygwin, lastfile.o elsewhere.  */
 PRE_ALLOC_OBJ=@PRE_ALLOC_OBJ@
-## lastfile.o vm-limit.o on Cygwin, $vmlimitobj elsewhere.
+/* lastfile.o vm-limit.o on Cygwin, $vmlimitobj elsewhere.  */
 POST_ALLOC_OBJ=@POST_ALLOC_OBJ@
 
 /* List of object files that make-docfile should not be told about.  */