X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/adc110de19f5015796c687c1ef7b1a398c1a0085..136e48e4ac0e15a6bf0e915d07be701dd4d7e0d0:/config.bat diff --git a/config.bat b/config.bat index 61f96325a7..5c922551d0 100644 --- a/config.bat +++ b/config.bat @@ -127,10 +127,10 @@ Rem ---------------------------------------------------------------------- Echo Configuring the source directory... cd src -rem Create "paths.h" -sed -f ../msdos/sed4.inp paths.tmp -update paths.tmp paths.h >nul -rm -f paths.tmp +rem Create "epaths.h" +sed -f ../msdos/sed4.inp epaths.tmp +update epaths.tmp epaths.h >nul +rm -f epaths.tmp rem Create "config.h" rm -f config.h2 config.tmp @@ -147,7 +147,7 @@ if exist dir.h ren dir.h vmsdir.h rem Create "makefile" from "makefile.in". rm -f Makefile junk.c -sed -e "1,/cpp stuff/s@^# .*$@@" junk.c +sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" junk.c If "%DJGPP_VER%" == "1" Goto mfV1 gcc -E junk.c | sed -f ../msdos/sed1v2.inp >Makefile goto mfDone @@ -163,7 +163,7 @@ rm -f makefile.tmp :src5 if "%nodebug%" == "" goto src6 -sed -e "/^CFLAGS *=/s/ *-g//" makefile.tmp +sed -e "/^CFLAGS *=/s/ *-gcoff//" makefile.tmp sed -e "/^LDFLAGS *=/s/=/=-s/" Makefile rm -f makefile.tmp :src6 @@ -172,7 +172,7 @@ rem ---------------------------------------------------------------------- Echo Configuring the library source directory... cd lib-src rem Create "makefile" from "makefile.in". -sed -e "1,/cpp stuff/s@^# .*$@@" junk.c +sed -e "1,/== start of cpp stuff ==/s@^# .*$@@" junk.c gcc -E -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 @@ -182,7 +182,7 @@ sed -f ../msdos/sed3v2.inp Makefile :libsrc2 rm -f makefile.new junk.c if "%nodebug%" == "" goto libsrc3 -sed -e "/^CFLAGS *=/s/ *-g//" makefile.tmp +sed -e "/^CFLAGS *=/s/ *-gcoff//" makefile.tmp sed -e "/^ALL_CFLAGS *=/s/=/= -s/" Makefile rm -f makefile.tmp :libsrc3 @@ -193,7 +193,7 @@ Echo Configuring the oldxmenu directory... cd oldxmenu sed -f ../msdos/sed5x.inp Makefile if "%nodebug%" == "" goto oldx2 -sed -e "/^CFLAGS *=/s/ *-g//" makefile.tmp +sed -e "/^CFLAGS *=/s/ *-gcoff//" makefile.tmp mv -f makefile.tmp Makefile :oldx2 cd .. @@ -204,6 +204,13 @@ cd man sed -f ../msdos/sed6.inp < Makefile.in > Makefile cd .. rem ---------------------------------------------------------------------- +If not Exist leim\quail\latin-pre.el goto maindir +Echo Configuring the leim directory... +cd leim +sed -f ../msdos/sedleim.inp < Makefile.in > Makefile +cd .. +rem ---------------------------------------------------------------------- +:maindir Echo Configuring the main directory... If "%DJGPP_VER%" == "1" goto mainv1 Echo Looking for the GDB init file...