]> code.delx.au - gnu-emacs/commitdiff
Make sure the environment is large enough to accomodate
authorEli Zaretskii <eliz@gnu.org>
Thu, 16 Apr 1998 08:56:46 +0000 (08:56 +0000)
committerEli Zaretskii <eliz@gnu.org>
Thu, 16 Apr 1998 08:56:46 +0000 (08:56 +0000)
all the "set foo=bar" commands.  Update the pointers to ftp sites.

config.bat

index f127d00750249dd8fe1ae5b14b987ccced92a180..61f96325a7b373adf8dfebd0a392779fe7aaddcc 100644 (file)
@@ -31,14 +31,19 @@ rem   + rm and mv (from GNU file utilities).
 rem   + sed (you can use the port that comes with DJGPP).\r
 rem\r
 rem   You should be able to get all the above utilities from any SimTel\r
-rem   repository, e.g. ftp.coast.net, in the directories\r
-rem   "SimTel/vendors/djgpp" and "SimTel/vendors/gnu/gnuish/dos_only".  As\r
-rem   usual, please use your local mirroring site to reduce trans-Atlantic\r
-rem   traffic.\r
+rem   repository, e.g. ftp.simtel.net, in the directory\r
+rem   "pub/simtelnet/gnu/djgpp/v2gnu".  As usual, please use your local\r
+rem   mirroring site to reduce trans-Atlantic traffic.\r
 rem   ----------------------------------------------------------------------\r
 set X11=\r
 set nodebug=\r
 set djgpp_ver=\r
+if "%1" == "" goto usage\r
+rem   ----------------------------------------------------------------------\r
+rem   See if their environment is large enough.  We need 28 bytes.\r
+set $foo$=789012345678901234567\r
+if not "%$foo$%" == "789012345678901234567" goto SmallEnv\r
+set $foo$=\r
 :again\r
 if "%1" == "" goto usage\r
 if "%1" == "--with-x" goto withx\r
@@ -218,6 +223,11 @@ copy msdos\mainmake.v2 Makefile >nul
 :mainv1\r
 If "%DJGPP_VER%" == "1" copy msdos\mainmake Makefile >nul\r
 rem   ----------------------------------------------------------------------\r
+goto End\r
+:SmallEnv\r
+echo Your environment size is too small.  Please enlarge it and run me again.\r
+echo For example, type "command.com /e:2048" to have 2048 bytes available.\r
+set $foo$=\r
 :end\r
 set X11=\r
 set nodebug=\r