Mercurial > emacs
comparison config.bat @ 5486:c87d1cd3f62a
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 07 Jan 1994 13:46:21 +0000 |
parents | ac101697f58c |
children | 73d9c538cce2 |
comparison
equal
deleted
inserted
replaced
5485:397caf3061e8 | 5486:c87d1cd3f62a |
---|---|
17 rem along with GNU Emacs; see the file COPYING. If not, write to | 17 rem along with GNU Emacs; see the file COPYING. If not, write to |
18 rem the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 18 rem the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
19 rem ---------------------------------------------------------------------- | 19 rem ---------------------------------------------------------------------- |
20 rem YOU'LL NEED THE FOLLOWING UTILITIES TO MAKE EMACS: | 20 rem YOU'LL NEED THE FOLLOWING UTILITIES TO MAKE EMACS: |
21 rem | 21 rem |
22 rem + djgpp. | 22 rem + djgpp version 1,11 |
23 rem + make utility that allows breaking of 128 chars limit of commands. | 23 rem + make utility that allows breaking of 128 chars limit of commands. |
24 rem ndmake (as of version 4.5) won't work due to a line length limit. | 24 rem ndmake (as of version 4.5) won't work due to a line length limit. |
25 rem + rm, mv, chmod (From GNU file utilities). | 25 rem + rm, mv, chmod (From GNU file utilities). |
26 rem + sed. | 26 rem + sed. |
27 rem + patch (Larry Wall's for instance. I think it's supplied with djgpp). | |
28 rem ---------------------------------------------------------------------- | 27 rem ---------------------------------------------------------------------- |
29 if not "%2" == "" goto usage | 28 if not "%2" == "" goto usage |
30 if "%1" == "msdos" goto msdos | 29 if "%1" == "msdos" goto msdos |
31 :usage | 30 :usage |
32 echo Usage: config msdos | 31 echo Usage: config msdos |
75 | 74 |
76 rem On my system dir.h gets in the way. It's a VMS file so who cares. | 75 rem On my system dir.h gets in the way. It's a VMS file so who cares. |
77 if exist dir.h ren dir.h vmsdir.h | 76 if exist dir.h ren dir.h vmsdir.h |
78 | 77 |
79 rem Create "makefile" from "makefile.in.in" using a context patch. | 78 rem Create "makefile" from "makefile.in.in" using a context patch. |
80 rm -f makefile | 79 rm -f makefile junk.c |
81 cp %MAKEFILEIN% makefile | 80 cp %MAKEFILEIN% junk.c |
82 patch -p1 -B ! -r patch.rjt makefile ../msdos/patch1 | |
83 echo All hunks above should have passed! If they didn't, you'll have to | |
84 echo update manually. That should be easy though. | |
85 mv makefile junk.c | |
86 gcc -E junk.c | sed -f ../msdos/sed1.inp >makefile | 81 gcc -E junk.c | sed -f ../msdos/sed1.inp >makefile |
87 del !makefile | 82 rm -f junk.c |
88 del junk.c | |
89 cd .. | 83 cd .. |
90 rem ---------------------------------------------------------------------- | 84 rem ---------------------------------------------------------------------- |
91 Echo Configuring the library source directory... | 85 Echo Configuring the library source directory... |
92 cd lib-src | 86 cd lib-src |
93 rem Create "makefile" from "makefile.in". | 87 rem Create "makefile" from "makefile.in". |