diff options
| author | Eli Zaretskii | 2000-05-01 15:19:27 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2000-05-01 15:19:27 +0000 |
| commit | 373ea6d5eeeb9a1e2202efae36617095bb9ef557 (patch) | |
| tree | 2a2e5039c6af7e050a08f47e643d4ee144a1d645 /config.bat | |
| parent | 40292c8a39d1a9c7283ed03ebb825b6b6a27cd0b (diff) | |
| download | emacs-373ea6d5eeeb9a1e2202efae36617095bb9ef557.tar.gz emacs-373ea6d5eeeb9a1e2202efae36617095bb9ef557.zip | |
Identify the beginning of cpp stuff in src/Makefile.in and
lib/src/Makefile.in more accurately.
Diffstat (limited to 'config.bat')
| -rw-r--r-- | config.bat | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config.bat b/config.bat index 74060672af1..5c922551d0e 100644 --- a/config.bat +++ b/config.bat | |||
| @@ -147,7 +147,7 @@ if exist dir.h ren dir.h vmsdir.h | |||
| 147 | 147 | ||
| 148 | rem Create "makefile" from "makefile.in". | 148 | rem Create "makefile" from "makefile.in". |
| 149 | rm -f Makefile junk.c | 149 | rm -f Makefile junk.c |
| 150 | sed -e "1,/cpp stuff/s@^# .*$@@" <Makefile.in >junk.c | 150 | sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" <Makefile.in >junk.c |
| 151 | If "%DJGPP_VER%" == "1" Goto mfV1 | 151 | If "%DJGPP_VER%" == "1" Goto mfV1 |
| 152 | gcc -E junk.c | sed -f ../msdos/sed1v2.inp >Makefile | 152 | gcc -E junk.c | sed -f ../msdos/sed1v2.inp >Makefile |
| 153 | goto mfDone | 153 | goto mfDone |
| @@ -172,7 +172,7 @@ rem ---------------------------------------------------------------------- | |||
| 172 | Echo Configuring the library source directory... | 172 | Echo Configuring the library source directory... |
| 173 | cd lib-src | 173 | cd lib-src |
| 174 | rem Create "makefile" from "makefile.in". | 174 | rem Create "makefile" from "makefile.in". |
| 175 | sed -e "1,/cpp stuff/s@^# .*$@@" <Makefile.in >junk.c | 175 | sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" <Makefile.in >junk.c |
| 176 | gcc -E -I. -I../src junk.c | sed -e "s/^ / /" -e "/^#/d" -e "/^[ ]*$/d" >makefile.new | 176 | gcc -E -I. -I../src junk.c | sed -e "s/^ / /" -e "/^#/d" -e "/^[ ]*$/d" >makefile.new |
| 177 | If "%DJGPP_VER%" == "2" goto libsrc-v2 | 177 | If "%DJGPP_VER%" == "2" goto libsrc-v2 |
| 178 | sed -f ../msdos/sed3.inp <makefile.new >Makefile | 178 | sed -f ../msdos/sed3.inp <makefile.new >Makefile |