diff config.bat @ 35137:6722a8132e56

Run the preprocessor with -traditional.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 08 Jan 2001 17:23:43 +0000
parents e1e1d5816d44
children 6fd0d497fc9c
line wrap: on
line diff
--- a/config.bat	Mon Jan 08 16:59:54 2001 +0000
+++ b/config.bat	Mon Jan 08 17:23:43 2001 +0000
@@ -162,10 +162,10 @@
 rm -f Makefile junk.c
 sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" <Makefile.in >junk.c
 If "%DJGPP_VER%" == "1" Goto mfV1
-gcc -E junk.c | sed -f ../msdos/sed1v2.inp >Makefile
+gcc -E -traditional junk.c | sed -f ../msdos/sed1v2.inp >Makefile
 goto mfDone
 :mfV1
-gcc -E junk.c | sed -f ../msdos/sed1.inp >Makefile
+gcc -E -traditional junk.c | sed -f ../msdos/sed1.inp >Makefile
 :mfDone
 rm -f junk.c
 
@@ -186,7 +186,7 @@
 cd lib-src
 rem   Create "makefile" from "makefile.in".
 sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" <Makefile.in >junk.c
-gcc -E -I. -I../src junk.c | sed -e "s/^ /	/" -e "/^#/d" -e "/^[ 	]*$/d" >makefile.new
+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
 Goto libsrc2