aboutsummaryrefslogtreecommitdiffstats
path: root/config.bat
diff options
context:
space:
mode:
Diffstat (limited to 'config.bat')
-rw-r--r--config.bat56
1 files changed, 28 insertions, 28 deletions
diff --git a/config.bat b/config.bat
index 6d3210af70e..bbfe396c41f 100644
--- a/config.bat
+++ b/config.bat
@@ -19,13 +19,13 @@ rem You should have received a copy of the GNU General Public License
19rem along with GNU Emacs. If not, see http://www.gnu.org/licenses/. 19rem along with GNU Emacs. If not, see http://www.gnu.org/licenses/.
20 20
21rem ---------------------------------------------------------------------- 21rem ----------------------------------------------------------------------
22rem YOU'LL NEED THE FOLLOWING UTILITIES TO MAKE EMACS: 22rem YOU'LL NEED THE FOLLOWING UTILITIES TO MAKE EMACS:
23rem 23rem
24rem + msdos version 3 or better. 24rem + msdos version 3 or better.
25rem + DJGPP version 2.02 or later (version 2.03 or later recommended). 25rem + DJGPP version 2.02 or later (version 2.03 or later recommended).
26rem + make utility that allows breaking of the 128 chars limit on 26rem + make utility that allows breaking of the 128 chars limit on
27rem command lines. ndmake (as of version 4.5) won't work due to a 27rem command lines. ndmake (as of version 4.5) won't work due to a
28rem line length limit. The make that comes with DJGPP does work (and is 28rem line length limit. The make that comes with DJGPP does work (and is
29rem recommended). 29rem recommended).
30rem + rm, mv, and cp (from GNU file utilities). 30rem + rm, mv, and cp (from GNU file utilities).
31rem + sed (you can use the port that comes with DJGPP). 31rem + sed (you can use the port that comes with DJGPP).
@@ -106,13 +106,13 @@ Echo Checking what version of DJGPP is installed...
106If Not "%DJGPP%" == "" goto djgppOk 106If Not "%DJGPP%" == "" goto djgppOk
107Echo To compile 'Emacs' under MS-DOS you MUST have DJGPP installed! 107Echo To compile 'Emacs' under MS-DOS you MUST have DJGPP installed!
108Goto End 108Goto End
109:djgppOk 109:djgppOk
110echo int main() >junk.c 110echo int main() >junk.c
111echo #ifdef __DJGPP__ >>junk.c 111echo #ifdef __DJGPP__ >>junk.c
112echo {return (__DJGPP__)*10 + (__DJGPP_MINOR__);} >>junk.c 112echo {return (__DJGPP__)*10 + (__DJGPP_MINOR__);} >>junk.c
113echo #else >>junk.c 113echo #else >>junk.c
114echo #ifdef __GO32__ >>junk.c 114echo #ifdef __GO32__ >>junk.c
115echo {return 10;} >>junk.c 115echo {return 10;} >>junk.c
116echo #else >>junk.c 116echo #else >>junk.c
117echo {return 0;} >>junk.c 117echo {return 0;} >>junk.c
118echo #endif >>junk.c 118echo #endif >>junk.c
@@ -123,21 +123,21 @@ junk
123If ErrorLevel 10 Goto go32Ok 123If ErrorLevel 10 Goto go32Ok
124rm -f junk.c junk junk.exe 124rm -f junk.c junk junk.exe
125Echo To compile 'Emacs' under MS-DOS you MUST have DJGPP installed! 125Echo To compile 'Emacs' under MS-DOS you MUST have DJGPP installed!
126Goto End 126Goto End
127:go32Ok 127:go32Ok
128set djgpp_ver=2 128set djgpp_ver=2
129If Not ErrorLevel 22 Echo To build 'Emacs' you need DJGPP v2.02 or later! 129If Not ErrorLevel 22 Echo To build 'Emacs' you need DJGPP v2.02 or later!
130If Not ErrorLevel 22 Goto End 130If Not ErrorLevel 22 Goto End
131rm -f junk.c junk junk.exe 131rm -f junk.c junk junk.exe
132rem DJECHO is used by the top-level Makefile in the v2.x build 132rem DJECHO is used by the top-level Makefile in the v2.x build
133Echo Checking whether 'djecho' is available... 133Echo Checking whether 'djecho' is available...
134redir -o Nul -eo djecho -o junk.$$$ foo 134redir -o Nul -eo djecho -o junk.$$$ foo
135If Exist junk.$$$ Goto djechoOk 135If Exist junk.$$$ Goto djechoOk
136Echo To build 'Emacs' you need the 'djecho.exe' program! 136Echo To build 'Emacs' you need the 'djecho.exe' program!
137Echo 'djecho.exe' is part of 'djdevNNN.zip' basic DJGPP development kit. 137Echo 'djecho.exe' is part of 'djdevNNN.zip' basic DJGPP development kit.
138Echo Either unpack 'djecho.exe' from the 'djdevNNN.zip' archive, 138Echo Either unpack 'djecho.exe' from the 'djdevNNN.zip' archive,
139Echo or, if you have 'echo.exe', copy it to 'djecho.exe'. 139Echo or, if you have 'echo.exe', copy it to 'djecho.exe'.
140Echo Then run CONFIG.BAT again with the same arguments you did now. 140Echo Then run CONFIG.BAT again with the same arguments you did now.
141Goto End 141Goto End
142:djechoOk 142:djechoOk
143rm -f junk.$$$ 143rm -f junk.$$$