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
: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