# HG changeset patch # User Eli Zaretskii # Date 1273231289 -10800 # Node ID e514622e9d117c4a3b8c64dc17d0d60472675ff7 # Parent 47521399f06ec014e6be0a0ced1f5cb8ddb3000a Fix the "config msdos" step of MS-DOS build (due to removal of some cpp stuff from configury). 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. diff -r 47521399f06e -r e514622e9d11 ChangeLog --- a/ChangeLog Fri May 07 13:45:54 2010 +0300 +++ b/ChangeLog Fri May 07 14:21:29 2010 +0300 @@ -1,3 +1,8 @@ +2010-05-07 Eli Zaretskii + + * config.bat: Allow for 2 leading `#'s in comments in + src/Makefile.in. + 2010-05-07 Glenn Morris * configure.in (LD_SWITCH_SYSTEM): Set with configure, not cpp. diff -r 47521399f06e -r e514622e9d11 config.bat --- a/config.bat Fri May 07 13:45:54 2010 +0300 +++ b/config.bat Fri May 07 14:21:29 2010 +0300 @@ -197,7 +197,7 @@ rem Create "makefile" from "makefile.in". rm -f Makefile junk.c -sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" junk.c +sed -e "1,/== start of cpp stuff ==/s@^##*[ ].*$@@" junk.c If "%DJGPP_VER%" == "1" Goto mfV1 gcc -E -traditional junk.c | sed -f ../msdos/sed1v2.inp >Makefile goto mfDone diff -r 47521399f06e -r e514622e9d11 src/ChangeLog --- a/src/ChangeLog Fri May 07 13:45:54 2010 +0300 +++ b/src/ChangeLog Fri May 07 14:21:29 2010 +0300 @@ -1,3 +1,8 @@ +2010-05-07 Eli Zaretskii + + * Makefile.in (PRE_ALLOC_OBJ): Don't use Make-style comments past + the "start of cpp stuff" line. + 2010-05-07 Glenn Morris * Makefile.in (LD_SWITCH_SYSTEM): Set with configure, not cpp. diff -r 47521399f06e -r e514622e9d11 src/Makefile.in --- a/src/Makefile.in Fri May 07 13:45:54 2010 +0300 +++ b/src/Makefile.in Fri May 07 14:21:29 2010 +0300 @@ -397,9 +397,9 @@ 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. */