summaryrefslogtreecommitdiff
path: root/config.bat
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>1998-04-16 08:56:46 +0000
committerEli Zaretskii <eliz@gnu.org>1998-04-16 08:56:46 +0000
commitadc110de19f5015796c687c1ef7b1a398c1a0085 (patch)
treea6e4296b62997f3b43e332a32a3829ef13947316 /config.bat
parent42a9dc84361685b533734f21560f8bce76e3df73 (diff)
downloademacs-adc110de19f5015796c687c1ef7b1a398c1a0085.tar.gz
Make sure the environment is large enough to accomodate
all the "set foo=bar" commands. Update the pointers to ftp sites.
Diffstat (limited to 'config.bat')
-rw-r--r--config.bat18
1 files changed, 14 insertions, 4 deletions
diff --git a/config.bat b/config.bat
index f127d007502..61f96325a7b 100644
--- a/config.bat
+++ b/config.bat
@@ -31,14 +31,19 @@ rem + rm and mv (from GNU file utilities).
rem + sed (you can use the port that comes with DJGPP).
rem
rem You should be able to get all the above utilities from any SimTel
-rem repository, e.g. ftp.coast.net, in the directories
-rem "SimTel/vendors/djgpp" and "SimTel/vendors/gnu/gnuish/dos_only". As
-rem usual, please use your local mirroring site to reduce trans-Atlantic
-rem traffic.
+rem repository, e.g. ftp.simtel.net, in the directory
+rem "pub/simtelnet/gnu/djgpp/v2gnu". As usual, please use your local
+rem mirroring site to reduce trans-Atlantic traffic.
rem ----------------------------------------------------------------------
set X11=
set nodebug=
set djgpp_ver=
+if "%1" == "" goto usage
+rem ----------------------------------------------------------------------
+rem See if their environment is large enough. We need 28 bytes.
+set $foo$=789012345678901234567
+if not "%$foo$%" == "789012345678901234567" goto SmallEnv
+set $foo$=
:again
if "%1" == "" goto usage
if "%1" == "--with-x" goto withx
@@ -218,6 +223,11 @@ copy msdos\mainmake.v2 Makefile >nul
:mainv1
If "%DJGPP_VER%" == "1" copy msdos\mainmake Makefile >nul
rem ----------------------------------------------------------------------
+goto End
+:SmallEnv
+echo Your environment size is too small. Please enlarge it and run me again.
+echo For example, type "command.com /e:2048" to have 2048 bytes available.
+set $foo$=
:end
set X11=
set nodebug=