rem ----------------------------------------------------------------------\r
rem YOU'LL NEED THE FOLLOWING UTILITIES TO MAKE EMACS:\r
rem\r
-rem + djgpp.\r
+rem + djgpp version 1,11\r
rem + make utility that allows breaking of 128 chars limit of commands.\r
rem ndmake (as of version 4.5) won't work due to a line length limit.\r
rem + rm, mv, chmod (From GNU file utilities).\r
rem + sed.\r
-rem + patch (Larry Wall's for instance. I think it's supplied with djgpp).\r
rem ----------------------------------------------------------------------\r
if not "%2" == "" goto usage\r
if "%1" == "msdos" goto msdos\r
if exist dir.h ren dir.h vmsdir.h\r
\r
rem Create "makefile" from "makefile.in.in" using a context patch.\r
-rm -f makefile\r
-cp %MAKEFILEIN% makefile\r
-patch -p1 -B ! -r patch.rjt makefile ../msdos/patch1\r
-echo All hunks above should have passed! If they didn't, you'll have to\r
-echo update manually. That should be easy though.\r
-mv makefile junk.c\r
+rm -f makefile junk.c\r
+cp %MAKEFILEIN% junk.c\r
gcc -E junk.c | sed -f ../msdos/sed1.inp >makefile\r
-del !makefile\r
-del junk.c\r
+rm -f junk.c\r
cd ..\r
rem ----------------------------------------------------------------------\r
Echo Configuring the library source directory...\r