diff options
Diffstat (limited to 'config.bat')
| -rw-r--r-- | config.bat | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/config.bat b/config.bat index 6d3210af70e..bbfe396c41f 100644 --- a/config.bat +++ b/config.bat | |||
| @@ -19,13 +19,13 @@ rem You should have received a copy of the GNU General Public License | |||
| 19 | rem along with GNU Emacs. If not, see http://www.gnu.org/licenses/. | 19 | rem along with GNU Emacs. If not, see http://www.gnu.org/licenses/. |
| 20 | 20 | ||
| 21 | rem ---------------------------------------------------------------------- | 21 | rem ---------------------------------------------------------------------- |
| 22 | rem YOU'LL NEED THE FOLLOWING UTILITIES TO MAKE EMACS: | 22 | rem YOU'LL NEED THE FOLLOWING UTILITIES TO MAKE EMACS: |
| 23 | rem | 23 | rem |
| 24 | rem + msdos version 3 or better. | 24 | rem + msdos version 3 or better. |
| 25 | rem + DJGPP version 2.02 or later (version 2.03 or later recommended). | 25 | rem + DJGPP version 2.02 or later (version 2.03 or later recommended). |
| 26 | rem + make utility that allows breaking of the 128 chars limit on | 26 | rem + make utility that allows breaking of the 128 chars limit on |
| 27 | rem command lines. ndmake (as of version 4.5) won't work due to a | 27 | rem command lines. ndmake (as of version 4.5) won't work due to a |
| 28 | rem line length limit. The make that comes with DJGPP does work (and is | 28 | rem line length limit. The make that comes with DJGPP does work (and is |
| 29 | rem recommended). | 29 | rem recommended). |
| 30 | rem + rm, mv, and cp (from GNU file utilities). | 30 | rem + rm, mv, and cp (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). |
| @@ -106,13 +106,13 @@ Echo Checking what version of DJGPP is installed... | |||
| 106 | If Not "%DJGPP%" == "" goto djgppOk | 106 | If Not "%DJGPP%" == "" goto djgppOk |
| 107 | Echo To compile 'Emacs' under MS-DOS you MUST have DJGPP installed! | 107 | Echo To compile 'Emacs' under MS-DOS you MUST have DJGPP installed! |
| 108 | Goto End | 108 | Goto End |
| 109 | :djgppOk | 109 | :djgppOk |
| 110 | echo int main() >junk.c | 110 | echo int main() >junk.c |
| 111 | echo #ifdef __DJGPP__ >>junk.c | 111 | echo #ifdef __DJGPP__ >>junk.c |
| 112 | echo {return (__DJGPP__)*10 + (__DJGPP_MINOR__);} >>junk.c | 112 | echo {return (__DJGPP__)*10 + (__DJGPP_MINOR__);} >>junk.c |
| 113 | echo #else >>junk.c | 113 | echo #else >>junk.c |
| 114 | echo #ifdef __GO32__ >>junk.c | 114 | echo #ifdef __GO32__ >>junk.c |
| 115 | echo {return 10;} >>junk.c | 115 | echo {return 10;} >>junk.c |
| 116 | echo #else >>junk.c | 116 | echo #else >>junk.c |
| 117 | echo {return 0;} >>junk.c | 117 | echo {return 0;} >>junk.c |
| 118 | echo #endif >>junk.c | 118 | echo #endif >>junk.c |
| @@ -123,21 +123,21 @@ junk | |||
| 123 | If ErrorLevel 10 Goto go32Ok | 123 | If ErrorLevel 10 Goto go32Ok |
| 124 | rm -f junk.c junk junk.exe | 124 | rm -f junk.c junk junk.exe |
| 125 | Echo To compile 'Emacs' under MS-DOS you MUST have DJGPP installed! | 125 | Echo To compile 'Emacs' under MS-DOS you MUST have DJGPP installed! |
| 126 | Goto End | 126 | Goto End |
| 127 | :go32Ok | 127 | :go32Ok |
| 128 | set djgpp_ver=2 | 128 | set djgpp_ver=2 |
| 129 | If Not ErrorLevel 22 Echo To build 'Emacs' you need DJGPP v2.02 or later! | 129 | If Not ErrorLevel 22 Echo To build 'Emacs' you need DJGPP v2.02 or later! |
| 130 | If Not ErrorLevel 22 Goto End | 130 | If Not ErrorLevel 22 Goto End |
| 131 | rm -f junk.c junk junk.exe | 131 | rm -f junk.c junk junk.exe |
| 132 | rem DJECHO is used by the top-level Makefile in the v2.x build | 132 | rem DJECHO is used by the top-level Makefile in the v2.x build |
| 133 | Echo Checking whether 'djecho' is available... | 133 | Echo Checking whether 'djecho' is available... |
| 134 | redir -o Nul -eo djecho -o junk.$$$ foo | 134 | redir -o Nul -eo djecho -o junk.$$$ foo |
| 135 | If Exist junk.$$$ Goto djechoOk | 135 | If Exist junk.$$$ Goto djechoOk |
| 136 | Echo To build 'Emacs' you need the 'djecho.exe' program! | 136 | Echo To build 'Emacs' you need the 'djecho.exe' program! |
| 137 | Echo 'djecho.exe' is part of 'djdevNNN.zip' basic DJGPP development kit. | 137 | Echo 'djecho.exe' is part of 'djdevNNN.zip' basic DJGPP development kit. |
| 138 | Echo Either unpack 'djecho.exe' from the 'djdevNNN.zip' archive, | 138 | Echo Either unpack 'djecho.exe' from the 'djdevNNN.zip' archive, |
| 139 | Echo or, if you have 'echo.exe', copy it to 'djecho.exe'. | 139 | Echo or, if you have 'echo.exe', copy it to 'djecho.exe'. |
| 140 | Echo Then run CONFIG.BAT again with the same arguments you did now. | 140 | Echo Then run CONFIG.BAT again with the same arguments you did now. |
| 141 | Goto End | 141 | Goto End |
| 142 | :djechoOk | 142 | :djechoOk |
| 143 | rm -f junk.$$$ | 143 | rm -f junk.$$$ |