aboutsummaryrefslogtreecommitdiffstats
path: root/config.bat
diff options
context:
space:
mode:
authorEli Zaretskii2001-01-08 17:23:43 +0000
committerEli Zaretskii2001-01-08 17:23:43 +0000
commitc212c118d3130aafa255b4a19fd8603e643992e9 (patch)
treed2ce151e0bacb85d6392b3398d02cf5b047c628e /config.bat
parentbbc96600a75e7ba655fe8679e41c7c3da91fc89a (diff)
downloademacs-c212c118d3130aafa255b4a19fd8603e643992e9.tar.gz
emacs-c212c118d3130aafa255b4a19fd8603e643992e9.zip
Run the preprocessor with -traditional.
Diffstat (limited to 'config.bat')
-rw-r--r--config.bat6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.bat b/config.bat
index 302eb24b0dc..4f7a167c6bb 100644
--- a/config.bat
+++ b/config.bat
@@ -162,10 +162,10 @@ rem Create "makefile" from "makefile.in".
162rm -f Makefile junk.c 162rm -f Makefile junk.c
163sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" <Makefile.in >junk.c 163sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" <Makefile.in >junk.c
164If "%DJGPP_VER%" == "1" Goto mfV1 164If "%DJGPP_VER%" == "1" Goto mfV1
165gcc -E junk.c | sed -f ../msdos/sed1v2.inp >Makefile 165gcc -E -traditional junk.c | sed -f ../msdos/sed1v2.inp >Makefile
166goto mfDone 166goto mfDone
167:mfV1 167:mfV1
168gcc -E junk.c | sed -f ../msdos/sed1.inp >Makefile 168gcc -E -traditional junk.c | sed -f ../msdos/sed1.inp >Makefile
169:mfDone 169:mfDone
170rm -f junk.c 170rm -f junk.c
171 171
@@ -186,7 +186,7 @@ Echo Configuring the library source directory...
186cd lib-src 186cd lib-src
187rem Create "makefile" from "makefile.in". 187rem Create "makefile" from "makefile.in".
188sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" <Makefile.in >junk.c 188sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" <Makefile.in >junk.c
189gcc -E -I. -I../src junk.c | sed -e "s/^ / /" -e "/^#/d" -e "/^[ ]*$/d" >makefile.new 189gcc -E -traditional -I. -I../src junk.c | sed -e "s/^ / /" -e "/^#/d" -e "/^[ ]*$/d" >makefile.new
190If "%DJGPP_VER%" == "2" goto libsrc-v2 190If "%DJGPP_VER%" == "2" goto libsrc-v2
191sed -f ../msdos/sed3.inp <makefile.new >Makefile 191sed -f ../msdos/sed3.inp <makefile.new >Makefile
192Goto libsrc2 192Goto libsrc2