aboutsummaryrefslogtreecommitdiffstats
path: root/config.bat
diff options
context:
space:
mode:
authorEli Zaretskii2004-04-04 20:53:04 +0000
committerEli Zaretskii2004-04-04 20:53:04 +0000
commitd14a46f77ec7e907f43c5748ea2a747b27895dfa (patch)
treed93b3941247d030bc2e5fdb3fa0bdb142f365398 /config.bat
parent8b44bc06654a63aa661c837c29b6ea261b35a156 (diff)
downloademacs-d14a46f77ec7e907f43c5748ea2a747b27895dfa.tar.gz
emacs-d14a46f77ec7e907f43c5748ea2a747b27895dfa.zip
(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 @@
1@echo off 1@echo off
2rem ---------------------------------------------------------------------- 2rem ----------------------------------------------------------------------
3rem Configuration script for MSDOS 3rem Configuration script for MSDOS
4rem Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001 4rem Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2004
5rem Free Software Foundation, Inc. 5rem Free Software Foundation, Inc.
6 6
7rem This file is part of GNU Emacs. 7rem This file is part of GNU Emacs.
@@ -191,7 +191,7 @@ rem ----------------------------------------------------------------------
191Echo Configuring the library source directory... 191Echo Configuring the library source directory...
192cd lib-src 192cd lib-src
193rem Create "makefile" from "makefile.in". 193rem Create "makefile" from "makefile.in".
194sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" <Makefile.in >junk.c 194sed -e "1,/== start of cpp stuff ==/s@^#[ ].*$@@" <Makefile.in >junk.c
195gcc -E -traditional -I. -I../src junk.c | sed -e "s/^ / /" -e "/^#/d" -e "/^[ ]*$/d" >makefile.new 195gcc -E -traditional -I. -I../src junk.c | sed -e "s/^ / /" -e "/^#/d" -e "/^[ ]*$/d" >makefile.new
196If "%DJGPP_VER%" == "2" goto libsrc-v2 196If "%DJGPP_VER%" == "2" goto libsrc-v2
197sed -f ../msdos/sed3.inp <makefile.new >Makefile 197sed -f ../msdos/sed3.inp <makefile.new >Makefile
@@ -276,7 +276,7 @@ set $foo$=
276set X11= 276set X11=
277set nodebug= 277set nodebug=
278set djgpp_ver= 278set djgpp_ver=
279 279
280goto skipArchTag 280goto skipArchTag
281 arch-tag: 2d2fed23-4dc6-4006-a2e4-49daf0031f33 281 arch-tag: 2d2fed23-4dc6-4006-a2e4-49daf0031f33
282:skipArchTag 282:skipArchTag