summaryrefslogtreecommitdiff
path: root/config.bat
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2004-04-04 20:53:04 +0000
committerEli Zaretskii <eliz@gnu.org>2004-04-04 20:53:04 +0000
commit7b227084d6505b24802d346a6d41e9ced32ca00c (patch)
tree010ff8c2d42b67c18d68463ac45005013c48a44f /config.bat
parent3e2de24d19c9419658337f9263df9eb55252390a (diff)
downloademacs-7b227084d6505b24802d346a6d41e9ced32ca00c.tar.gz
(lib-src): Recognize comment lines in Makefile.in
that have a TAB after the #, to avoid errors in preprocessing with GCC 3.3.3.
Diffstat (limited to 'config.bat')
-rw-r--r--config.bat12
1 files changed, 6 insertions, 6 deletions
diff --git a/config.bat b/config.bat
index bfadf3d5575..732c4021aaf 100644
--- a/config.bat
+++ b/config.bat
@@ -1,7 +1,7 @@
@echo off
rem ----------------------------------------------------------------------
rem Configuration script for MSDOS
-rem Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001
+rem Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2004
rem Free Software Foundation, Inc.
rem This file is part of GNU Emacs.
@@ -191,7 +191,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
@@ -276,7 +276,7 @@ set $foo$=
set X11=
set nodebug=
set djgpp_ver=
-
-goto skipArchTag
- arch-tag: 2d2fed23-4dc6-4006-a2e4-49daf0031f33
-:skipArchTag
+
+goto skipArchTag
+ arch-tag: 2d2fed23-4dc6-4006-a2e4-49daf0031f33
+:skipArchTag