summaryrefslogtreecommitdiff
path: root/config.bat
diff options
context:
space:
mode:
Diffstat (limited to 'config.bat')
-rw-r--r--config.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.bat b/config.bat
index f2eb0262e60..5a0e9168fa3 100644
--- a/config.bat
+++ b/config.bat
@@ -222,7 +222,7 @@ rem ----------------------------------------------------------------------
Echo Configuring the library source directory...
cd lib-src
rem Create "makefile" from "makefile.in".
-sed -e "1,/== start of cpp stuff ==/s@^#[ ].*$@@" <Makefile.in >junk.c
+sed -e "1,/== start of cpp stuff ==/s@^##*[ ].*$@@" <Makefile.in >junk.c
gcc -E -traditional -I. -I../src junk.c | sed -e "s/^ / /" -e "/^#/d" -e "/^[ ]*$/d" >makefile.new
If "%DJGPP_VER%" == "2" goto libsrc-v2
sed -f ../msdos/sed3.inp <makefile.new >Makefile