diff options
| author | Eli Zaretskii | 2000-11-23 15:37:17 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2000-11-23 15:37:17 +0000 |
| commit | 92a0f4b15de4b342e6e3cefcc0669fa8ea5f025b (patch) | |
| tree | af13ad04d49c3cb60f7691eb46b11a8f441ed3b8 | |
| parent | 02790ce2e061b8e91c8afc2bdc4c08a054270b6e (diff) | |
| download | emacs-92a0f4b15de4b342e6e3cefcc0669fa8ea5f025b.tar.gz emacs-92a0f4b15de4b342e6e3cefcc0669fa8ea5f025b.zip | |
Check for existence of djecho.exe, and print an
error message if it is not available.
| -rw-r--r-- | config.bat | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config.bat b/config.bat index 08919a3e591..302eb24b0dc 100644 --- a/config.bat +++ b/config.bat | |||
| @@ -122,6 +122,19 @@ Goto End | |||
| 122 | set djgpp_ver=1 | 122 | set djgpp_ver=1 |
| 123 | If ErrorLevel 20 set djgpp_ver=2 | 123 | If ErrorLevel 20 set djgpp_ver=2 |
| 124 | rm -f junk.c junk junk.exe | 124 | rm -f junk.c junk junk.exe |
| 125 | rem DJECHO is used by the top-level Makefile | ||
| 126 | Echo Checking whether 'djecho' is available... | ||
| 127 | redir -o Nul -eo djecho -o junk.$$$ foo | ||
| 128 | If Exist junk.$$$ Goto djechoOk | ||
| 129 | Echo To build 'Emacs' you need the 'djecho.exe' program! | ||
| 130 | Echo 'djecho.exe' is part of 'djdevNNN.zip' basic DJGPP development kit. | ||
| 131 | Echo Versions of DJGPP before 2.02 called this program 'echo.exe'. | ||
| 132 | Echo Either unpack 'djecho.exe' from the 'djdevNNN.zip' archive, | ||
| 133 | Echo or, if you have 'echo.exe', copy it to 'djecho.exe'. | ||
| 134 | Echo Then run CONFIG.BAT again with the same arguments you did now. | ||
| 135 | Goto End | ||
| 136 | :djechoOk | ||
| 137 | rm -f junk.$$$ | ||
| 125 | Echo Configuring for DJGPP Version %DJGPP_VER% ... | 138 | Echo Configuring for DJGPP Version %DJGPP_VER% ... |
| 126 | Rem ---------------------------------------------------------------------- | 139 | Rem ---------------------------------------------------------------------- |
| 127 | Echo Configuring the source directory... | 140 | Echo Configuring the source directory... |