rem along with GNU Emacs. If not, see http://www.gnu.org/licenses/.\r
\r
rem ----------------------------------------------------------------------\r
-rem YOU'LL NEED THE FOLLOWING UTILITIES TO MAKE EMACS:\r\r
-rem\r\r
-rem + msdos version 3 or better.\r\r
-rem + DJGPP version 2.02 or later (version 2.03 or later recommended).\r\r
-rem + make utility that allows breaking of the 128 chars limit on\r\r
-rem command lines. ndmake (as of version 4.5) won't work due to a\r\r
-rem line length limit. The make that comes with DJGPP does work (and is\r\r
+rem YOU'LL NEED THE FOLLOWING UTILITIES TO MAKE EMACS:\r
+rem\r
+rem + msdos version 3 or better.\r
+rem + DJGPP version 2.02 or later (version 2.03 or later recommended).\r
+rem + make utility that allows breaking of the 128 chars limit on\r
+rem command lines. ndmake (as of version 4.5) won't work due to a\r
+rem line length limit. The make that comes with DJGPP does work (and is\r
rem recommended).\r
rem + rm, mv, and cp (from GNU file utilities).\r
rem + sed (you can use the port that comes with DJGPP).\r
If Not "%DJGPP%" == "" goto djgppOk\r
Echo To compile 'Emacs' under MS-DOS you MUST have DJGPP installed!\r
Goto End\r
-:djgppOk\r\r
-echo int main() >junk.c\r\r
-echo #ifdef __DJGPP__ >>junk.c\r\r
-echo {return (__DJGPP__)*10 + (__DJGPP_MINOR__);} >>junk.c\r\r
-echo #else >>junk.c\r\r
-echo #ifdef __GO32__ >>junk.c\r\r
-echo {return 10;} >>junk.c\r\r
+:djgppOk\r
+echo int main() >junk.c\r
+echo #ifdef __DJGPP__ >>junk.c\r
+echo {return (__DJGPP__)*10 + (__DJGPP_MINOR__);} >>junk.c\r
+echo #else >>junk.c\r
+echo #ifdef __GO32__ >>junk.c\r
+echo {return 10;} >>junk.c\r
echo #else >>junk.c\r
echo {return 0;} >>junk.c\r
echo #endif >>junk.c\r
If ErrorLevel 10 Goto go32Ok\r
rm -f junk.c junk junk.exe\r
Echo To compile 'Emacs' under MS-DOS you MUST have DJGPP installed!\r
-Goto End\r\r
-:go32Ok\r\r
-set djgpp_ver=2\r\r
-If Not ErrorLevel 22 Echo To build 'Emacs' you need DJGPP v2.02 or later!\r\r
-If Not ErrorLevel 22 Goto End\r\r
-rm -f junk.c junk junk.exe\r\r
-rem DJECHO is used by the top-level Makefile in the v2.x build\r\r
-Echo Checking whether 'djecho' is available...\r\r
+Goto End\r
+:go32Ok\r
+set djgpp_ver=2\r
+If Not ErrorLevel 22 Echo To build 'Emacs' you need DJGPP v2.02 or later!\r
+If Not ErrorLevel 22 Goto End\r
+rm -f junk.c junk junk.exe\r
+rem DJECHO is used by the top-level Makefile in the v2.x build\r
+Echo Checking whether 'djecho' is available...\r
redir -o Nul -eo djecho -o junk.$$$ foo\r
-If Exist junk.$$$ Goto djechoOk\r\r
-Echo To build 'Emacs' you need the 'djecho.exe' program!\r\r
-Echo 'djecho.exe' is part of 'djdevNNN.zip' basic DJGPP development kit.\r\r
-Echo Either unpack 'djecho.exe' from the 'djdevNNN.zip' archive,\r\r
-Echo or, if you have 'echo.exe', copy it to 'djecho.exe'.\r\r
-Echo Then run CONFIG.BAT again with the same arguments you did now.\r\r
+If Exist junk.$$$ Goto djechoOk\r
+Echo To build 'Emacs' you need the 'djecho.exe' program!\r
+Echo 'djecho.exe' is part of 'djdevNNN.zip' basic DJGPP development kit.\r
+Echo Either unpack 'djecho.exe' from the 'djdevNNN.zip' archive,\r
+Echo or, if you have 'echo.exe', copy it to 'djecho.exe'.\r
+Echo Then run CONFIG.BAT again with the same arguments you did now.\r
Goto End\r
:djechoOk\r
rm -f junk.$$$\r