comparison config.bat @ 21582:4c2b38ea02fe

Make sure the environment is large enough to accomodate all the "set foo=bar" commands. Update the pointers to ftp sites.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 16 Apr 1998 08:56:46 +0000
parents ff0f79a7b8b6
children b918e6330d6e
comparison
equal deleted inserted replaced
21581:3aad7ffd0cd3 21582:4c2b38ea02fe
29 rem line length limit. The make that comes with djgpp does work. 29 rem line length limit. The make that comes with djgpp does work.
30 rem + rm and mv (from GNU file utilities). 30 rem + rm and mv (from GNU file utilities).
31 rem + sed (you can use the port that comes with DJGPP). 31 rem + sed (you can use the port that comes with DJGPP).
32 rem 32 rem
33 rem You should be able to get all the above utilities from any SimTel 33 rem You should be able to get all the above utilities from any SimTel
34 rem repository, e.g. ftp.coast.net, in the directories 34 rem repository, e.g. ftp.simtel.net, in the directory
35 rem "SimTel/vendors/djgpp" and "SimTel/vendors/gnu/gnuish/dos_only". As 35 rem "pub/simtelnet/gnu/djgpp/v2gnu". As usual, please use your local
36 rem usual, please use your local mirroring site to reduce trans-Atlantic 36 rem mirroring site to reduce trans-Atlantic traffic.
37 rem traffic.
38 rem ---------------------------------------------------------------------- 37 rem ----------------------------------------------------------------------
39 set X11= 38 set X11=
40 set nodebug= 39 set nodebug=
41 set djgpp_ver= 40 set djgpp_ver=
41 if "%1" == "" goto usage
42 rem ----------------------------------------------------------------------
43 rem See if their environment is large enough. We need 28 bytes.
44 set $foo$=789012345678901234567
45 if not "%$foo$%" == "789012345678901234567" goto SmallEnv
46 set $foo$=
42 :again 47 :again
43 if "%1" == "" goto usage 48 if "%1" == "" goto usage
44 if "%1" == "--with-x" goto withx 49 if "%1" == "--with-x" goto withx
45 if "%1" == "--no-debug" goto nodebug 50 if "%1" == "--no-debug" goto nodebug
46 if "%1" == "msdos" goto msdos 51 if "%1" == "msdos" goto msdos
216 Echo Looking for the GDB init file...found 221 Echo Looking for the GDB init file...found
217 copy msdos\mainmake.v2 Makefile >nul 222 copy msdos\mainmake.v2 Makefile >nul
218 :mainv1 223 :mainv1
219 If "%DJGPP_VER%" == "1" copy msdos\mainmake Makefile >nul 224 If "%DJGPP_VER%" == "1" copy msdos\mainmake Makefile >nul
220 rem ---------------------------------------------------------------------- 225 rem ----------------------------------------------------------------------
226 goto End
227 :SmallEnv
228 echo Your environment size is too small. Please enlarge it and run me again.
229 echo For example, type "command.com /e:2048" to have 2048 bytes available.
230 set $foo$=
221 :end 231 :end
222 set X11= 232 set X11=
223 set nodebug= 233 set nodebug=
224 set djgpp_ver= 234 set djgpp_ver=