Mercurial > emacs
comparison config.bat @ 15020:85feb24c0ac5
With DJGPP v1.x, use `COFF2EXE' to produce JUNK.EXE test program.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 14 Apr 1996 17:28:05 +0000 |
parents | 5baafbcd9dc2 |
children | 6f4dd53a62d4 |
comparison
equal
deleted
inserted
replaced
15019:30bc23af98e3 | 15020:85feb24c0ac5 |
---|---|
87 if exist junk.o goto gccOk | 87 if exist junk.o goto gccOk |
88 Echo To configure 'Emacs' you need to have 'gcc'! | 88 Echo To configure 'Emacs' you need to have 'gcc'! |
89 rm -f junk.c | 89 rm -f junk.c |
90 Goto End | 90 Goto End |
91 :gccOk | 91 :gccOk |
92 rm -f junk.c junk.o | 92 rm -f junk.c junk.o junk junk.exe |
93 Echo Checking what version of DJGPP is installed... | 93 Echo Checking what version of DJGPP is installed... |
94 If Not "%DJGPP%" == "" goto djgppOk | 94 If Not "%DJGPP%" == "" goto djgppOk |
95 Echo To compile 'Emacs' under MS-DOS you MUST have DJGPP installed! | 95 Echo To compile 'Emacs' under MS-DOS you MUST have DJGPP installed! |
96 Goto End | 96 Goto End |
97 :djgppOk | 97 :djgppOk |
103 echo {return 10;} >>junk.c | 103 echo {return 10;} >>junk.c |
104 echo #else >>junk.c | 104 echo #else >>junk.c |
105 echo {return 0;} >>junk.c | 105 echo {return 0;} >>junk.c |
106 echo #endif >>junk.c | 106 echo #endif >>junk.c |
107 echo #endif >>junk.c | 107 echo #endif >>junk.c |
108 gcc -o junk.exe junk.c | 108 gcc -o junk junk.c |
109 if not exist junk.exe coff2exe junk | |
109 junk | 110 junk |
110 If ErrorLevel 10 Goto go32Ok | 111 If ErrorLevel 10 Goto go32Ok |
111 rm -f junk.c junk junk.exe | 112 rm -f junk.c junk junk.exe |
112 Echo To compile 'Emacs' under MS-DOS you MUST have DJGPP installed! | 113 Echo To compile 'Emacs' under MS-DOS you MUST have DJGPP installed! |
113 Goto End | 114 Goto End |