diff options
| author | Eli Zaretskii | 2001-08-31 10:31:22 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2001-08-31 10:31:22 +0000 |
| commit | f466241d472a4db93178989b377228a82e86f0fb (patch) | |
| tree | 2b089bdfd9a067afdd84cf8289fb9143998f2f82 | |
| parent | 6a58666f429d21dc4e068b1db5ccf1e124493a1e (diff) | |
| download | emacs-f466241d472a4db93178989b377228a82e86f0fb.tar.gz emacs-f466241d472a4db93178989b377228a82e86f0fb.zip | |
Convert EOLs to DOS format.
| -rwxr-xr-x | admin/nt/makedist.bat | 244 | ||||
| -rw-r--r-- | nt/ChangeLog | 9 | ||||
| -rwxr-xr-x | nt/configure.bat | 596 |
3 files changed, 429 insertions, 420 deletions
diff --git a/admin/nt/makedist.bat b/admin/nt/makedist.bat index e756d16467e..f069a572f47 100755 --- a/admin/nt/makedist.bat +++ b/admin/nt/makedist.bat | |||
| @@ -1,122 +1,122 @@ | |||
| 1 | @echo off | 1 | @echo off |
| 2 | 2 | ||
| 3 | set TAR=wtar | 3 | set TAR=wtar |
| 4 | 4 | ||
| 5 | rem Make a copy of current Emacs source | 5 | rem Make a copy of current Emacs source |
| 6 | if (%3) == () goto usage | 6 | if (%3) == () goto usage |
| 7 | if not (%4) == () goto %4 | 7 | if not (%4) == () goto %4 |
| 8 | if not (%4) == (src) goto :lisp | 8 | if not (%4) == (src) goto :lisp |
| 9 | 9 | ||
| 10 | :src | 10 | :src |
| 11 | 11 | ||
| 12 | echo Create full source distribution, excluding leim | 12 | echo Create full source distribution, excluding leim |
| 13 | %TAR% --exclude leim --exclude _marker --exclude DOC --exclude DOC-X --exclude TAGS --exclude bin --exclude obj --exclude obj-spd --exclude oo --exclude oo-spd --exclude *~ --exclude *.rej -cvf - emacs-%1 | gzip -9 > %2-src.tar.gz | 13 | %TAR% --exclude leim --exclude _marker --exclude DOC --exclude DOC-X --exclude TAGS --exclude bin --exclude obj --exclude obj-spd --exclude oo --exclude oo-spd --exclude *~ --exclude *.rej -cvf - emacs-%1 | gzip -9 > %2-src.tar.gz |
| 14 | if not (%4) == () goto end | 14 | if not (%4) == () goto end |
| 15 | 15 | ||
| 16 | :lisp | 16 | :lisp |
| 17 | echo Create limited elisp source distribution | 17 | echo Create limited elisp source distribution |
| 18 | %TAR% --exclude *.rej --exclude *.elc --exclude *~ -cvf - emacs-%1/lisp | gzip -9 > %2-lisp.tar.gz | 18 | %TAR% --exclude *.rej --exclude *.elc --exclude *~ -cvf - emacs-%1/lisp | gzip -9 > %2-lisp.tar.gz |
| 19 | if not (%4) == () goto end | 19 | if not (%4) == () goto end |
| 20 | 20 | ||
| 21 | :bin | 21 | :bin |
| 22 | 22 | ||
| 23 | set eld=emacs-%1/lisp | 23 | set eld=emacs-%1/lisp |
| 24 | 24 | ||
| 25 | rem Keep this list in sync with the DONTCOMPILE list in lisp/Makefile.in | 25 | rem Keep this list in sync with the DONTCOMPILE list in lisp/Makefile.in |
| 26 | 26 | ||
| 27 | set elfiles=%eld%/cus-load.el %eld%/cus-start.el %eld%/emacs-lisp/cl-specs.el %eld%/eshell/esh-maint.el %eld%/eshell/esh-groups.el %eld%/finder-inf.el %eld%/forms-d2.el %eld%/forms-pass.el %eld%/generic-x.el %eld%/international/latin-1.el %eld%/international/latin-2.el %eld%/international/latin-3.el %eld%/international/latin-4.el %eld%/international/latin-5.el %eld%/international/latin-8.el %eld%/international/latin-9.el %eld%/international/mule-conf.el %eld%/loaddefs.el %eld%/loadup.el %eld%/mail/blessmail.el %eld%/patcomp.el %eld%/paths.el %eld%/play/bruce.el %eld%/subdirs.el %eld%/term/internal.el %eld%/term/AT386.el %eld%/term/apollo.el %eld%/term/bobcat.el %eld%/term/iris-ansi.el %eld%/term/keyswap.el %eld%/term/linux.el %eld%/term/lk201.el %eld%/term/news.el %eld%/term/vt102.el %eld%/term/vt125.el %eld%/term/vt200.el %eld%/term/vt201.el %eld%/term/vt220.el %eld%/term/vt240.el %eld%/term/vt300.el %eld%/term/vt320.el %eld%/term/vt400.el %eld%/term/vt420.el %eld%/term/wyse50.el %eld%/term/xterm.el %eld%/version.el | 27 | set elfiles=%eld%/cus-load.el %eld%/cus-start.el %eld%/emacs-lisp/cl-specs.el %eld%/eshell/esh-maint.el %eld%/eshell/esh-groups.el %eld%/finder-inf.el %eld%/forms-d2.el %eld%/forms-pass.el %eld%/generic-x.el %eld%/international/latin-1.el %eld%/international/latin-2.el %eld%/international/latin-3.el %eld%/international/latin-4.el %eld%/international/latin-5.el %eld%/international/latin-8.el %eld%/international/latin-9.el %eld%/international/mule-conf.el %eld%/loaddefs.el %eld%/loadup.el %eld%/mail/blessmail.el %eld%/patcomp.el %eld%/paths.el %eld%/play/bruce.el %eld%/subdirs.el %eld%/term/internal.el %eld%/term/AT386.el %eld%/term/apollo.el %eld%/term/bobcat.el %eld%/term/iris-ansi.el %eld%/term/keyswap.el %eld%/term/linux.el %eld%/term/lk201.el %eld%/term/news.el %eld%/term/vt102.el %eld%/term/vt125.el %eld%/term/vt200.el %eld%/term/vt201.el %eld%/term/vt220.el %eld%/term/vt240.el %eld%/term/vt300.el %eld%/term/vt320.el %eld%/term/vt400.el %eld%/term/vt420.el %eld%/term/wyse50.el %eld%/term/xterm.el %eld%/version.el |
| 28 | 28 | ||
| 29 | rem set term_elfiles=%eld%/term/AT386.el %eld%/term/apollo.el %eld%/term/bg-mouse.el %eld%/term/bobcat.el %eld%/term/internal.el %eld%/term/iris-ansi.el %eld%/term/keyswap.el %eld%/term/linux.el %eld%/term/lk201.el %eld%/term/news.el %eld%/term/pc-win.el %eld%/term/sun-mouse.el %eld%/term/sun.el %eld%/term/sup-mouse.el %eld%/term/tvi970.el %eld%/term/vt100.el %eld%/term/vt102.el %eld%/term/vt125.el %eld%/term/vt200.el %eld%/term/vt201.el %eld%/term/vt220.el %eld%/term/vt240.el %eld%/term/vt300.el %eld%/term/vt320.el %eld%/term/vt400.el %eld%/term/vt420.el %eld%/term/w32-win.el %eld%/term/wyse50.el %eld%/term/x-win.el %eld%/term/xterm.el | 29 | rem set term_elfiles=%eld%/term/AT386.el %eld%/term/apollo.el %eld%/term/bg-mouse.el %eld%/term/bobcat.el %eld%/term/internal.el %eld%/term/iris-ansi.el %eld%/term/keyswap.el %eld%/term/linux.el %eld%/term/lk201.el %eld%/term/news.el %eld%/term/pc-win.el %eld%/term/sun-mouse.el %eld%/term/sun.el %eld%/term/sup-mouse.el %eld%/term/tvi970.el %eld%/term/vt100.el %eld%/term/vt102.el %eld%/term/vt125.el %eld%/term/vt200.el %eld%/term/vt201.el %eld%/term/vt220.el %eld%/term/vt240.el %eld%/term/vt300.el %eld%/term/vt320.el %eld%/term/vt400.el %eld%/term/vt420.el %eld%/term/w32-win.el %eld%/term/wyse50.el %eld%/term/x-win.el %eld%/term/xterm.el |
| 30 | 30 | ||
| 31 | rem set elcfiles=%eld%/*.elc %eld%/emacs-lisp/*.elc %eld%/emulation/*.elc %eld%/gnus/*.elc %eld%/international/*.elc %eld%/language/*.elc %eld%/mail/*.elc %eld%/play/*.elc %eld%/progmodes/*.elc %eld%/term/*.elc %eld%/textmodes/*.elc | 31 | rem set elcfiles=%eld%/*.elc %eld%/emacs-lisp/*.elc %eld%/emulation/*.elc %eld%/gnus/*.elc %eld%/international/*.elc %eld%/language/*.elc %eld%/mail/*.elc %eld%/play/*.elc %eld%/progmodes/*.elc %eld%/term/*.elc %eld%/textmodes/*.elc |
| 32 | 32 | ||
| 33 | set fns_el= | 33 | set fns_el= |
| 34 | for %%f in (emacs-%1/bin/fns*) do set fns_el=%fns_el% emacs-%1/bin/%%f | 34 | for %%f in (emacs-%1/bin/fns*) do set fns_el=%fns_el% emacs-%1/bin/%%f |
| 35 | 35 | ||
| 36 | echo Create bin distribution | 36 | echo Create bin distribution |
| 37 | copy %3\README.W32 emacs-%1\README.W32 | 37 | copy %3\README.W32 emacs-%1\README.W32 |
| 38 | 38 | ||
| 39 | rem %TAR% --exclude temacs.exe --exclude emacs.mdp --exclude *.pdb | 39 | rem %TAR% --exclude temacs.exe --exclude emacs.mdp --exclude *.pdb |
| 40 | rem --exclude *.opt --exclude *.el --exclude *~ -cvf - emacs-%1/BUGS | 40 | rem --exclude *.opt --exclude *.el --exclude *~ -cvf - emacs-%1/BUGS |
| 41 | rem emacs-%1/GETTING.GNU.SOFTWARE emacs-%1/README emacs-%1/README.W32 | 41 | rem emacs-%1/GETTING.GNU.SOFTWARE emacs-%1/README emacs-%1/README.W32 |
| 42 | rem emacs-%1/bin %fns_el% emacs-%1/etc emacs-%1/info emacs-%1/lisp %elfiles% | 42 | rem emacs-%1/bin %fns_el% emacs-%1/etc emacs-%1/info emacs-%1/lisp %elfiles% |
| 43 | rem %term_elfiles% emacs-%1/lock emacs-%1/site-lisp -cvf - | gzip -9 > %2-bin-i386.tar.gz | 43 | rem %term_elfiles% emacs-%1/lock emacs-%1/site-lisp -cvf - | gzip -9 > %2-bin-i386.tar.gz |
| 44 | 44 | ||
| 45 | del #files# | 45 | del #files# |
| 46 | for %%f in (emacs-%1/BUGS emacs-%1/GETTING.GNU.SOFTWARE emacs-%1/README emacs-%1/README.W32) do echo %%f>>#files# | 46 | for %%f in (emacs-%1/BUGS emacs-%1/GETTING.GNU.SOFTWARE emacs-%1/README emacs-%1/README.W32) do echo %%f>>#files# |
| 47 | for %%f in (emacs-%1/bin/fns*) do echo emacs-%1/bin/%%f>>#files# | 47 | for %%f in (emacs-%1/bin/fns*) do echo emacs-%1/bin/%%f>>#files# |
| 48 | for %%f in (emacs-%1/bin emacs-%1/etc emacs-%1/info emacs-%1/lisp %elfiles%) do echo %%f>>#files# | 48 | for %%f in (emacs-%1/bin emacs-%1/etc emacs-%1/info emacs-%1/lisp %elfiles%) do echo %%f>>#files# |
| 49 | for %%f in (%eld%/term/*.el) do echo %eld%/term/%%f>>#files# | 49 | for %%f in (%eld%/term/*.el) do echo %eld%/term/%%f>>#files# |
| 50 | for %%f in (emacs-%1/lock emacs-%1/site-lisp emacs-%1/site-lisp/subdirs.el) do echo %%f>>#files# | 50 | for %%f in (emacs-%1/lock emacs-%1/site-lisp emacs-%1/site-lisp/subdirs.el) do echo %%f>>#files# |
| 51 | %TAR% --exclude temacs.exe --exclude emacs.mdp --exclude *.pdb --exclude *.opt --exclude *.el --exclude *~ -T #files# -cvf - | gzip -9 > %2-bin-i386.tar.gz | 51 | %TAR% --exclude temacs.exe --exclude emacs.mdp --exclude *.pdb --exclude *.opt --exclude *.el --exclude *~ -T #files# -cvf - | gzip -9 > %2-bin-i386.tar.gz |
| 52 | del emacs-%1\README.W32 | 52 | del emacs-%1\README.W32 |
| 53 | del #files# | 53 | del #files# |
| 54 | if not (%4) == () goto end | 54 | if not (%4) == () goto end |
| 55 | 55 | ||
| 56 | :fullbin | 56 | :fullbin |
| 57 | 57 | ||
| 58 | echo Create full bin distribution | 58 | echo Create full bin distribution |
| 59 | copy %3\README.W32 emacs-%1\README.W32 | 59 | copy %3\README.W32 emacs-%1\README.W32 |
| 60 | 60 | ||
| 61 | %TAR% --exclude temacs.exe --exclude emacs.mdp --exclude *.pdb --exclude *.opt --exclude *~ -cvf - emacs-%1/BUGS emacs-%1/GETTING.GNU.SOFTWARE emacs-%1/README emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc emacs-%1/info emacs-%1/lisp emacs-%1/lock emacs-%1/site-lisp | gzip -9 > %2-fullbin-i386.tar.gz | 61 | %TAR% --exclude temacs.exe --exclude emacs.mdp --exclude *.pdb --exclude *.opt --exclude *~ -cvf - emacs-%1/BUGS emacs-%1/GETTING.GNU.SOFTWARE emacs-%1/README emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc emacs-%1/info emacs-%1/lisp emacs-%1/lock emacs-%1/site-lisp | gzip -9 > %2-fullbin-i386.tar.gz |
| 62 | del emacs-%1\README.W32 | 62 | del emacs-%1\README.W32 |
| 63 | if not (%4) == () goto end | 63 | if not (%4) == () goto end |
| 64 | 64 | ||
| 65 | :leim | 65 | :leim |
| 66 | 66 | ||
| 67 | echo Create archive with precompiled leim files | 67 | echo Create archive with precompiled leim files |
| 68 | %TAR% -cvf - emacs-%1/leim/leim-list.el emacs-%1/leim/quail emacs-%1/leim/ja-dic | gzip -9 > %2-leim.tar.gz | 68 | %TAR% -cvf - emacs-%1/leim/leim-list.el emacs-%1/leim/quail emacs-%1/leim/ja-dic | gzip -9 > %2-leim.tar.gz |
| 69 | if not (%4) == () goto end | 69 | if not (%4) == () goto end |
| 70 | 70 | ||
| 71 | :undumped | 71 | :undumped |
| 72 | 72 | ||
| 73 | echo Create archive with extra files needed for redumping emacs | 73 | echo Create archive with extra files needed for redumping emacs |
| 74 | copy %3\README-UNDUMP.W32 emacs-%1\README-UNDUMP.W32 | 74 | copy %3\README-UNDUMP.W32 emacs-%1\README-UNDUMP.W32 |
| 75 | copy %3\dump.bat emacs-%1\bin | 75 | copy %3\dump.bat emacs-%1\bin |
| 76 | if exist emacs-%1\src\obj-spd\i386\temacs.exe copy emacs-%1\src\obj-spd\i386\temacs.exe emacs-%1\bin | 76 | if exist emacs-%1\src\obj-spd\i386\temacs.exe copy emacs-%1\src\obj-spd\i386\temacs.exe emacs-%1\bin |
| 77 | if exist emacs-%1\src\oo-spd\i386\temacs.exe copy emacs-%1\src\oo-spd\i386\temacs.exe emacs-%1\bin | 77 | if exist emacs-%1\src\oo-spd\i386\temacs.exe copy emacs-%1\src\oo-spd\i386\temacs.exe emacs-%1\bin |
| 78 | %TAR% -cvf - emacs-%1/README-UNDUMP.W32 emacs-%1/bin/dump.bat emacs-%1/bin/temacs.exe | gzip -9 > %2-undumped-i386.tar.gz | 78 | %TAR% -cvf - emacs-%1/README-UNDUMP.W32 emacs-%1/bin/dump.bat emacs-%1/bin/temacs.exe | gzip -9 > %2-undumped-i386.tar.gz |
| 79 | del emacs-%1\bin\temacs.exe | 79 | del emacs-%1\bin\temacs.exe |
| 80 | del emacs-%1\bin\dump.bat | 80 | del emacs-%1\bin\dump.bat |
| 81 | del emacs-%1\README-UNDUMP.W32 | 81 | del emacs-%1\README-UNDUMP.W32 |
| 82 | if not (%4) == () goto end | 82 | if not (%4) == () goto end |
| 83 | 83 | ||
| 84 | :barebin | 84 | :barebin |
| 85 | 85 | ||
| 86 | echo Create archive with just the basic binaries and generated files | 86 | echo Create archive with just the basic binaries and generated files |
| 87 | echo (the user needs to unpack the full source distribution for | 87 | echo (the user needs to unpack the full source distribution for |
| 88 | echo everything else) | 88 | echo everything else) |
| 89 | copy %3\README.W32 emacs-%1\README.W32 | 89 | copy %3\README.W32 emacs-%1\README.W32 |
| 90 | %TAR% -cvf - emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc/DOC emacs-%1/etc/DOC-X | gzip -9 > %2-barebin-i386.tar.gz | 90 | %TAR% -cvf - emacs-%1/README.W32 emacs-%1/bin emacs-%1/etc/DOC emacs-%1/etc/DOC-X | gzip -9 > %2-barebin-i386.tar.gz |
| 91 | del emacs-%1\README.W32 | 91 | del emacs-%1\README.W32 |
| 92 | if not (%4) == () goto end | 92 | if not (%4) == () goto end |
| 93 | 93 | ||
| 94 | goto end | 94 | goto end |
| 95 | 95 | ||
| 96 | rem Only do this if explicitly requested | 96 | rem Only do this if explicitly requested |
| 97 | :zipfiles | 97 | :zipfiles |
| 98 | 98 | ||
| 99 | echo Create zip files for bin and lisp archives | 99 | echo Create zip files for bin and lisp archives |
| 100 | mkdir distrib | 100 | mkdir distrib |
| 101 | cd distrib | 101 | cd distrib |
| 102 | gunzip -c ..\%2-bin-i386.tar.gz | %TAR% xf - | 102 | gunzip -c ..\%2-bin-i386.tar.gz | %TAR% xf - |
| 103 | zip -rp9 em%5_bin %2 | 103 | zip -rp9 em%5_bin %2 |
| 104 | rm -rf %2 | 104 | rm -rf %2 |
| 105 | zipsplit -n 1400000 -b .. em%5_bin.zip | 105 | zipsplit -n 1400000 -b .. em%5_bin.zip |
| 106 | del em%5_bin.zip | 106 | del em%5_bin.zip |
| 107 | gunzip -c ..\%2-lisp.tar.gz | %TAR% xf - | 107 | gunzip -c ..\%2-lisp.tar.gz | %TAR% xf - |
| 108 | zip -rp9 em%5_lis %2 | 108 | zip -rp9 em%5_lis %2 |
| 109 | rm -rf %2 | 109 | rm -rf %2 |
| 110 | zipsplit -n 1400000 -b .. em%5_lis.zip | 110 | zipsplit -n 1400000 -b .. em%5_lis.zip |
| 111 | del em%5_lis.zip | 111 | del em%5_lis.zip |
| 112 | cd .. | 112 | cd .. |
| 113 | 113 | ||
| 114 | goto end | 114 | goto end |
| 115 | 115 | ||
| 116 | :usage | 116 | :usage |
| 117 | echo Generate source and binary distributions of emacs. | 117 | echo Generate source and binary distributions of emacs. |
| 118 | echo Usage: %0 emacs-version dist-basename distfiles [lisp,bin,undumped,barebin] | 118 | echo Usage: %0 emacs-version dist-basename distfiles [lisp,bin,undumped,barebin] |
| 119 | echo (e.g., %0 19.34 emacs-19.34.5 d:\andrewi\distfiles) | 119 | echo (e.g., %0 19.34 emacs-19.34.5 d:\andrewi\distfiles) |
| 120 | echo Or: %0 emacs-version dist-basename distfiles "zipfiles" short-version | 120 | echo Or: %0 emacs-version dist-basename distfiles "zipfiles" short-version |
| 121 | echo (e.g., %0 20.6 emacs-20.6 d:\andrewi\distfiles zipfiles 206) | 121 | echo (e.g., %0 20.6 emacs-20.6 d:\andrewi\distfiles zipfiles 206) |
| 122 | :end | 122 | :end |
diff --git a/nt/ChangeLog b/nt/ChangeLog index fb722213d80..d3500a1f1d8 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2001-08-31 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 2 | |||
| 3 | * subdirs.el: New file. | ||
| 4 | |||
| 5 | * configure.bat: Copy subdirs.el to the site-lisp directory. | ||
| 6 | |||
| 7 | * makefile.w32-in (install): Copy subdirs.el to the installation | ||
| 8 | directory. | ||
| 9 | |||
| 1 | 2001-06-20 Jason Rumney <jasonr@gnu.org> | 10 | 2001-06-20 Jason Rumney <jasonr@gnu.org> |
| 2 | 11 | ||
| 3 | * runemacs.c (WinMain): Add quotes around command in case of spaces. | 12 | * runemacs.c (WinMain): Add quotes around command in case of spaces. |
diff --git a/nt/configure.bat b/nt/configure.bat index 308e3e314e2..4ee9b46a2b3 100755 --- a/nt/configure.bat +++ b/nt/configure.bat | |||
| @@ -1,298 +1,298 @@ | |||
| 1 | @echo off | 1 | @echo off |
| 2 | rem ---------------------------------------------------------------------- | 2 | rem ---------------------------------------------------------------------- |
| 3 | rem Configuration script for MS Windows 95/98 and NT/2000 | 3 | rem Configuration script for MS Windows 95/98 and NT/2000 |
| 4 | rem Copyright (C) 1999-2001 Free Software Foundation, Inc. | 4 | rem Copyright (C) 1999-2001 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | rem This file is part of GNU Emacs. | 6 | rem This file is part of GNU Emacs. |
| 7 | 7 | ||
| 8 | rem GNU Emacs is free software; you can redistribute it and/or modify | 8 | rem GNU Emacs is free software; you can redistribute it and/or modify |
| 9 | rem it under the terms of the GNU General Public License as published by | 9 | rem it under the terms of the GNU General Public License as published by |
| 10 | rem the Free Software Foundation; either version 2, or (at your option) | 10 | rem the Free Software Foundation; either version 2, or (at your option) |
| 11 | rem any later version. | 11 | rem any later version. |
| 12 | 12 | ||
| 13 | rem GNU Emacs is distributed in the hope that it will be useful, | 13 | rem GNU Emacs is distributed in the hope that it will be useful, |
| 14 | rem but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | rem but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 | rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | rem GNU General Public License for more details. | 16 | rem GNU General Public License for more details. |
| 17 | 17 | ||
| 18 | rem You should have received a copy of the GNU General Public License | 18 | rem You should have received a copy of the GNU General Public License |
| 19 | rem along with GNU Emacs; see the file COPYING. If not, write to the | 19 | rem along with GNU Emacs; see the file COPYING. If not, write to the |
| 20 | rem Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 20 | rem Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 21 | rem Boston, MA 02111-1307, USA. | 21 | rem Boston, MA 02111-1307, USA. |
| 22 | rem ---------------------------------------------------------------------- | 22 | rem ---------------------------------------------------------------------- |
| 23 | rem YOU'LL NEED THE FOLLOWING UTILITIES TO MAKE EMACS: | 23 | rem YOU'LL NEED THE FOLLOWING UTILITIES TO MAKE EMACS: |
| 24 | rem | 24 | rem |
| 25 | rem + MS Windows 95/98 or NT/2000 | 25 | rem + MS Windows 95/98 or NT/2000 |
| 26 | rem + either MSVC 2.x or later, or gcc-2.95 or later (with gmake 3.75 | 26 | rem + either MSVC 2.x or later, or gcc-2.95 or later (with gmake 3.75 |
| 27 | rem or later) and the Mingw32 and W32 API headers and libraries | 27 | rem or later) and the Mingw32 and W32 API headers and libraries |
| 28 | rem | 28 | rem |
| 29 | rem For reference, here is a list of which builds of gmake are known to | 29 | rem For reference, here is a list of which builds of gmake are known to |
| 30 | rem work or not, and whether they work in the presence and/or absence of | 30 | rem work or not, and whether they work in the presence and/or absence of |
| 31 | rem sh.exe. | 31 | rem sh.exe. |
| 32 | rem | 32 | rem |
| 33 | rem sh exists no sh | 33 | rem sh exists no sh |
| 34 | rem cygwin b20.1 make (3.75): okay[1] fails[2] | 34 | rem cygwin b20.1 make (3.75): okay[1] fails[2] |
| 35 | rem MSVC compiled gmake 3.77: okay okay | 35 | rem MSVC compiled gmake 3.77: okay okay |
| 36 | rem MSVC compiled gmake 3.78.1: okay okay | 36 | rem MSVC compiled gmake 3.78.1: okay okay |
| 37 | rem MSVC compiled gmake 3.79.1: okay okay | 37 | rem MSVC compiled gmake 3.79.1: okay okay |
| 38 | rem mingw32/gcc-2.92.2 make (3.77): okay okay | 38 | rem mingw32/gcc-2.92.2 make (3.77): okay okay |
| 39 | rem cygwin compiled gmake 3.77: okay[1] fails[2] | 39 | rem cygwin compiled gmake 3.77: okay[1] fails[2] |
| 40 | rem cygwin compiled gmake 3.78.1: okay fails[2] | 40 | rem cygwin compiled gmake 3.78.1: okay fails[2] |
| 41 | rem cygwin compiled gmake 3.79.1: couldn't build make[3] | 41 | rem cygwin compiled gmake 3.79.1: couldn't build make[3] |
| 42 | rem | 42 | rem |
| 43 | rem [1] doesn't cope with makefiles with DOS line endings, so must mount | 43 | rem [1] doesn't cope with makefiles with DOS line endings, so must mount |
| 44 | rem emacs source with text!=binary. | 44 | rem emacs source with text!=binary. |
| 45 | rem [2] fails when needs to invoke shell commands; okay invoking gcc etc. | 45 | rem [2] fails when needs to invoke shell commands; okay invoking gcc etc. |
| 46 | rem [3] requires LC_MESSAGES support to build; maybe 2.95.x update to | 46 | rem [3] requires LC_MESSAGES support to build; maybe 2.95.x update to |
| 47 | rem cygwin provides this? | 47 | rem cygwin provides this? |
| 48 | rem | 48 | rem |
| 49 | 49 | ||
| 50 | rem ---------------------------------------------------------------------- | 50 | rem ---------------------------------------------------------------------- |
| 51 | rem See if the environment is large enough. We need 43 (?) bytes. | 51 | rem See if the environment is large enough. We need 43 (?) bytes. |
| 52 | set $foo$=123456789_123456789_123456789_123456789_123 | 52 | set $foo$=123456789_123456789_123456789_123456789_123 |
| 53 | if not "%$foo$%" == "123456789_123456789_123456789_123456789_123" goto SmallEnv | 53 | if not "%$foo$%" == "123456789_123456789_123456789_123456789_123" goto SmallEnv |
| 54 | set $foo$= | 54 | set $foo$= |
| 55 | 55 | ||
| 56 | rem ---------------------------------------------------------------------- | 56 | rem ---------------------------------------------------------------------- |
| 57 | rem Make sure we are running in the nt subdir | 57 | rem Make sure we are running in the nt subdir |
| 58 | if exist configure.bat goto start | 58 | if exist configure.bat goto start |
| 59 | echo You must run configure from the nt subdirectory. | 59 | echo You must run configure from the nt subdirectory. |
| 60 | goto end | 60 | goto end |
| 61 | 61 | ||
| 62 | :start | 62 | :start |
| 63 | rem ---------------------------------------------------------------------- | 63 | rem ---------------------------------------------------------------------- |
| 64 | rem Default settings. | 64 | rem Default settings. |
| 65 | set prefix= | 65 | set prefix= |
| 66 | set nodebug=N | 66 | set nodebug=N |
| 67 | set noopt=N | 67 | set noopt=N |
| 68 | set nocygwin=N | 68 | set nocygwin=N |
| 69 | set COMPILER= | 69 | set COMPILER= |
| 70 | set usercflags= | 70 | set usercflags= |
| 71 | set userldflags= | 71 | set userldflags= |
| 72 | set sep1= | 72 | set sep1= |
| 73 | set sep2= | 73 | set sep2= |
| 74 | 74 | ||
| 75 | rem ---------------------------------------------------------------------- | 75 | rem ---------------------------------------------------------------------- |
| 76 | rem Handle arguments. | 76 | rem Handle arguments. |
| 77 | :again | 77 | :again |
| 78 | if "%1" == "-h" goto usage | 78 | if "%1" == "-h" goto usage |
| 79 | if "%1" == "--help" goto usage | 79 | if "%1" == "--help" goto usage |
| 80 | if "%1" == "--prefix" goto setprefix | 80 | if "%1" == "--prefix" goto setprefix |
| 81 | if "%1" == "--with-gcc" goto withgcc | 81 | if "%1" == "--with-gcc" goto withgcc |
| 82 | if "%1" == "--with-msvc" goto withmsvc | 82 | if "%1" == "--with-msvc" goto withmsvc |
| 83 | if "%1" == "--no-debug" goto nodebug | 83 | if "%1" == "--no-debug" goto nodebug |
| 84 | if "%1" == "--no-opt" goto noopt | 84 | if "%1" == "--no-opt" goto noopt |
| 85 | if "%1" == "--no-cygwin" goto nocygwin | 85 | if "%1" == "--no-cygwin" goto nocygwin |
| 86 | if "%1" == "--cflags" goto usercflags | 86 | if "%1" == "--cflags" goto usercflags |
| 87 | if "%1" == "--ldflags" goto userldflags | 87 | if "%1" == "--ldflags" goto userldflags |
| 88 | if "%1" == "" goto checkutils | 88 | if "%1" == "" goto checkutils |
| 89 | :usage | 89 | :usage |
| 90 | echo Usage: configure [options] | 90 | echo Usage: configure [options] |
| 91 | echo Options: | 91 | echo Options: |
| 92 | echo. --prefix PREFIX install Emacs in directory PREFIX | 92 | echo. --prefix PREFIX install Emacs in directory PREFIX |
| 93 | echo. --with-gcc use GCC to compile Emacs | 93 | echo. --with-gcc use GCC to compile Emacs |
| 94 | echo. --with-msvc use MSVC to compile Emacs | 94 | echo. --with-msvc use MSVC to compile Emacs |
| 95 | echo. --no-debug exclude debug info from executables | 95 | echo. --no-debug exclude debug info from executables |
| 96 | echo. --no-opt disable optimization | 96 | echo. --no-opt disable optimization |
| 97 | echo. --no-cygwin use -mno-cygwin option with GCC | 97 | echo. --no-cygwin use -mno-cygwin option with GCC |
| 98 | echo. --cflags FLAG pass FLAG to compiler | 98 | echo. --cflags FLAG pass FLAG to compiler |
| 99 | echo. --ldflags FLAG pass FLAG to compiler when linking | 99 | echo. --ldflags FLAG pass FLAG to compiler when linking |
| 100 | goto end | 100 | goto end |
| 101 | rem ---------------------------------------------------------------------- | 101 | rem ---------------------------------------------------------------------- |
| 102 | :setprefix | 102 | :setprefix |
| 103 | shift | 103 | shift |
| 104 | set prefix=%1 | 104 | set prefix=%1 |
| 105 | shift | 105 | shift |
| 106 | goto again | 106 | goto again |
| 107 | rem ---------------------------------------------------------------------- | 107 | rem ---------------------------------------------------------------------- |
| 108 | :withgcc | 108 | :withgcc |
| 109 | set COMPILER=gcc | 109 | set COMPILER=gcc |
| 110 | shift | 110 | shift |
| 111 | goto again | 111 | goto again |
| 112 | rem ---------------------------------------------------------------------- | 112 | rem ---------------------------------------------------------------------- |
| 113 | :withmsvc | 113 | :withmsvc |
| 114 | set COMPILER=cl | 114 | set COMPILER=cl |
| 115 | shift | 115 | shift |
| 116 | goto again | 116 | goto again |
| 117 | rem ---------------------------------------------------------------------- | 117 | rem ---------------------------------------------------------------------- |
| 118 | :nodebug | 118 | :nodebug |
| 119 | set nodebug=Y | 119 | set nodebug=Y |
| 120 | shift | 120 | shift |
| 121 | goto again | 121 | goto again |
| 122 | rem ---------------------------------------------------------------------- | 122 | rem ---------------------------------------------------------------------- |
| 123 | :noopt | 123 | :noopt |
| 124 | set noopt=Y | 124 | set noopt=Y |
| 125 | shift | 125 | shift |
| 126 | goto again | 126 | goto again |
| 127 | rem ---------------------------------------------------------------------- | 127 | rem ---------------------------------------------------------------------- |
| 128 | :nocygwin | 128 | :nocygwin |
| 129 | set nocygwin=Y | 129 | set nocygwin=Y |
| 130 | shift | 130 | shift |
| 131 | goto again | 131 | goto again |
| 132 | rem ---------------------------------------------------------------------- | 132 | rem ---------------------------------------------------------------------- |
| 133 | :usercflags | 133 | :usercflags |
| 134 | shift | 134 | shift |
| 135 | set usercflags=%usercflags%%sep1%%1 | 135 | set usercflags=%usercflags%%sep1%%1 |
| 136 | set sep1= %nothing% | 136 | set sep1= %nothing% |
| 137 | shift | 137 | shift |
| 138 | goto again | 138 | goto again |
| 139 | rem ---------------------------------------------------------------------- | 139 | rem ---------------------------------------------------------------------- |
| 140 | :userldflags | 140 | :userldflags |
| 141 | shift | 141 | shift |
| 142 | set userldflags=%userldflags%%sep2%%1 | 142 | set userldflags=%userldflags%%sep2%%1 |
| 143 | set sep2= %nothing% | 143 | set sep2= %nothing% |
| 144 | shift | 144 | shift |
| 145 | goto again | 145 | goto again |
| 146 | 146 | ||
| 147 | rem ---------------------------------------------------------------------- | 147 | rem ---------------------------------------------------------------------- |
| 148 | rem Check that necessary utilities (cp and rm) are present. | 148 | rem Check that necessary utilities (cp and rm) are present. |
| 149 | :checkutils | 149 | :checkutils |
| 150 | echo Checking for 'cp'... | 150 | echo Checking for 'cp'... |
| 151 | cp configure.bat junk.bat | 151 | cp configure.bat junk.bat |
| 152 | if not exist junk.bat goto needcp | 152 | if not exist junk.bat goto needcp |
| 153 | echo Checking for 'rm'... | 153 | echo Checking for 'rm'... |
| 154 | rm junk.bat | 154 | rm junk.bat |
| 155 | if exist junk.bat goto needrm | 155 | if exist junk.bat goto needrm |
| 156 | goto checkcompiler | 156 | goto checkcompiler |
| 157 | :needcp | 157 | :needcp |
| 158 | echo You need 'cp' (the Unix file copy program) to build Emacs. | 158 | echo You need 'cp' (the Unix file copy program) to build Emacs. |
| 159 | goto end | 159 | goto end |
| 160 | :needrm | 160 | :needrm |
| 161 | del junk.bat | 161 | del junk.bat |
| 162 | echo You need 'rm' (the Unix file delete program) to build Emacs. | 162 | echo You need 'rm' (the Unix file delete program) to build Emacs. |
| 163 | goto end | 163 | goto end |
| 164 | 164 | ||
| 165 | rem ---------------------------------------------------------------------- | 165 | rem ---------------------------------------------------------------------- |
| 166 | rem Auto-detect compiler if not specified, and validate GCC if chosen. | 166 | rem Auto-detect compiler if not specified, and validate GCC if chosen. |
| 167 | :checkcompiler | 167 | :checkcompiler |
| 168 | if (%COMPILER%)==(cl) goto genmakefiles | 168 | if (%COMPILER%)==(cl) goto genmakefiles |
| 169 | if (%COMPILER%)==(gcc) goto checkgcc | 169 | if (%COMPILER%)==(gcc) goto checkgcc |
| 170 | 170 | ||
| 171 | echo Checking whether 'cl' is available... | 171 | echo Checking whether 'cl' is available... |
| 172 | echo main(){} >junk.c | 172 | echo main(){} >junk.c |
| 173 | cl -nologo -c junk.c | 173 | cl -nologo -c junk.c |
| 174 | if exist junk.obj goto clOK | 174 | if exist junk.obj goto clOK |
| 175 | 175 | ||
| 176 | echo Checking whether 'gcc' is available... | 176 | echo Checking whether 'gcc' is available... |
| 177 | gcc -c junk.c | 177 | gcc -c junk.c |
| 178 | if not exist junk.o goto nocompiler | 178 | if not exist junk.o goto nocompiler |
| 179 | del junk.o | 179 | del junk.o |
| 180 | 180 | ||
| 181 | :checkgcc | 181 | :checkgcc |
| 182 | Rem WARNING -- COMMAND.COM on some systems only looks at the first | 182 | Rem WARNING -- COMMAND.COM on some systems only looks at the first |
| 183 | Rem 8 characters of a label. So do NOT be tempted to change | 183 | Rem 8 characters of a label. So do NOT be tempted to change |
| 184 | Rem chkapi* into something fancier like checkw32api | 184 | Rem chkapi* into something fancier like checkw32api |
| 185 | Rem You HAVE been warned! | 185 | Rem You HAVE been warned! |
| 186 | if (%nocygwin%) == (Y) goto chkapi | 186 | if (%nocygwin%) == (Y) goto chkapi |
| 187 | echo Checking whether gcc requires '-mno-cygwin'... | 187 | echo Checking whether gcc requires '-mno-cygwin'... |
| 188 | echo #include "cygwin/version.h" >junk.c | 188 | echo #include "cygwin/version.h" >junk.c |
| 189 | echo main(){} >>junk.c | 189 | echo main(){} >>junk.c |
| 190 | gcc -c junk.c | 190 | gcc -c junk.c |
| 191 | if not exist junk.o goto chkapi | 191 | if not exist junk.o goto chkapi |
| 192 | gcc -mno-cygwin -c junk.c | 192 | gcc -mno-cygwin -c junk.c |
| 193 | if exist junk.o set nocygwin=Y | 193 | if exist junk.o set nocygwin=Y |
| 194 | rm -f junk.c junk.o | 194 | rm -f junk.c junk.o |
| 195 | 195 | ||
| 196 | :chkapi | 196 | :chkapi |
| 197 | rem ---------------------------------------------------------------------- | 197 | rem ---------------------------------------------------------------------- |
| 198 | rem Older versions of the Windows API headers either don't have any of | 198 | rem Older versions of the Windows API headers either don't have any of |
| 199 | rem the IMAGE_xxx definitions (the headers that come with Cygwin b20.1 | 199 | rem the IMAGE_xxx definitions (the headers that come with Cygwin b20.1 |
| 200 | rem are like this), or have a typo in the definition of | 200 | rem are like this), or have a typo in the definition of |
| 201 | rem IMAGE_FIRST_SECTION (the headers with gcc/mingw32 2.95 have this | 201 | rem IMAGE_FIRST_SECTION (the headers with gcc/mingw32 2.95 have this |
| 202 | rem problem). The gcc/mingw32 2.95.2 headers are okay, as are distros | 202 | rem problem). The gcc/mingw32 2.95.2 headers are okay, as are distros |
| 203 | rem of w32api-xxx.zip from Anders Norlander since 1999-11-18 at least. | 203 | rem of w32api-xxx.zip from Anders Norlander since 1999-11-18 at least. |
| 204 | rem | 204 | rem |
| 205 | echo Checking whether W32 API headers are too old... | 205 | echo Checking whether W32 API headers are too old... |
| 206 | echo #include "windows.h" >junk.c | 206 | echo #include "windows.h" >junk.c |
| 207 | echo test(PIMAGE_NT_HEADERS pHeader) >>junk.c | 207 | echo test(PIMAGE_NT_HEADERS pHeader) >>junk.c |
| 208 | echo {PIMAGE_SECTION_HEADER pSection = IMAGE_FIRST_SECTION(pHeader);} >>junk.c | 208 | echo {PIMAGE_SECTION_HEADER pSection = IMAGE_FIRST_SECTION(pHeader);} >>junk.c |
| 209 | if (%nocygwin%) == (Y) goto chkapi1 | 209 | if (%nocygwin%) == (Y) goto chkapi1 |
| 210 | set cf=%usercflags% | 210 | set cf=%usercflags% |
| 211 | goto chkapi2 | 211 | goto chkapi2 |
| 212 | :chkapi1 | 212 | :chkapi1 |
| 213 | set cf=%usercflags% -mno-cygwin | 213 | set cf=%usercflags% -mno-cygwin |
| 214 | :chkapi2 | 214 | :chkapi2 |
| 215 | echo on | 215 | echo on |
| 216 | gcc %cf% -c junk.c | 216 | gcc %cf% -c junk.c |
| 217 | echo off | 217 | echo off |
| 218 | set cf= | 218 | set cf= |
| 219 | if exist junk.o goto gccOk | 219 | if exist junk.o goto gccOk |
| 220 | 220 | ||
| 221 | :nocompiler | 221 | :nocompiler |
| 222 | echo. | 222 | echo. |
| 223 | echo Configure failed. | 223 | echo Configure failed. |
| 224 | echo To configure Emacs for Windows, you need to have either | 224 | echo To configure Emacs for Windows, you need to have either |
| 225 | echo gcc-2.95 or later with Mingw32 and the W32 API headers, | 225 | echo gcc-2.95 or later with Mingw32 and the W32 API headers, |
| 226 | echo or MSVC 2.x or later. | 226 | echo or MSVC 2.x or later. |
| 227 | del junk.c | 227 | del junk.c |
| 228 | goto end | 228 | goto end |
| 229 | 229 | ||
| 230 | :gccOk | 230 | :gccOk |
| 231 | set COMPILER=gcc | 231 | set COMPILER=gcc |
| 232 | rm -f junk.c junk.o | 232 | rm -f junk.c junk.o |
| 233 | echo Using 'gcc' | 233 | echo Using 'gcc' |
| 234 | goto genmakefiles | 234 | goto genmakefiles |
| 235 | 235 | ||
| 236 | :clOk | 236 | :clOk |
| 237 | set COMPILER=cl | 237 | set COMPILER=cl |
| 238 | rm -f junk.c junk.obj | 238 | rm -f junk.c junk.obj |
| 239 | echo Using 'MSVC' | 239 | echo Using 'MSVC' |
| 240 | goto genmakefiles | 240 | goto genmakefiles |
| 241 | 241 | ||
| 242 | rem ---------------------------------------------------------------------- | 242 | rem ---------------------------------------------------------------------- |
| 243 | :genmakefiles | 243 | :genmakefiles |
| 244 | echo Generating makefiles | 244 | echo Generating makefiles |
| 245 | if %COMPILER% == gcc set MAKECMD=gmake | 245 | if %COMPILER% == gcc set MAKECMD=gmake |
| 246 | if %COMPILER% == cl set MAKECMD=nmake | 246 | if %COMPILER% == cl set MAKECMD=nmake |
| 247 | 247 | ||
| 248 | rem Pass on chosen settings to makefiles. | 248 | rem Pass on chosen settings to makefiles. |
| 249 | rem NB. Be very careful to not have a space before redirection symbols | 249 | rem NB. Be very careful to not have a space before redirection symbols |
| 250 | rem except when there is a preceding digit, when a space is required. | 250 | rem except when there is a preceding digit, when a space is required. |
| 251 | rem | 251 | rem |
| 252 | echo # Start of settings from configure.bat >config.settings | 252 | echo # Start of settings from configure.bat >config.settings |
| 253 | echo COMPILER=%COMPILER%>>config.settings | 253 | echo COMPILER=%COMPILER%>>config.settings |
| 254 | if (%nodebug%) == (Y) echo NODEBUG=1 >>config.settings | 254 | if (%nodebug%) == (Y) echo NODEBUG=1 >>config.settings |
| 255 | if (%noopt%) == (Y) echo NOOPT=1 >>config.settings | 255 | if (%noopt%) == (Y) echo NOOPT=1 >>config.settings |
| 256 | if (%nocygwin%) == (Y) echo NOCYGWIN=1 >>config.settings | 256 | if (%nocygwin%) == (Y) echo NOCYGWIN=1 >>config.settings |
| 257 | if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix%>>config.settings | 257 | if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix%>>config.settings |
| 258 | if not "(%usercflags%)" == "()" echo USER_CFLAGS=%usercflags%>>config.settings | 258 | if not "(%usercflags%)" == "()" echo USER_CFLAGS=%usercflags%>>config.settings |
| 259 | if not "(%userldflags%)" == "()" echo USER_LDFLAGS=%userldflags%>>config.settings | 259 | if not "(%userldflags%)" == "()" echo USER_LDFLAGS=%userldflags%>>config.settings |
| 260 | echo # End of settings from configure.bat>>config.settings | 260 | echo # End of settings from configure.bat>>config.settings |
| 261 | echo. >>config.settings | 261 | echo. >>config.settings |
| 262 | 262 | ||
| 263 | copy config.nt ..\src\config.h | 263 | copy config.nt ..\src\config.h |
| 264 | if not "(%usercflags%)" == "()" echo #define USER_CFLAGS " %usercflags%">>..\src\config.h | 264 | if not "(%usercflags%)" == "()" echo #define USER_CFLAGS " %usercflags%">>..\src\config.h |
| 265 | if not "(%userldflags%)" == "()" echo #define USER_LDFLAGS " %userldflags%">>..\src\config.h | 265 | if not "(%userldflags%)" == "()" echo #define USER_LDFLAGS " %userldflags%">>..\src\config.h |
| 266 | copy paths.h ..\src\epaths.h | 266 | copy paths.h ..\src\epaths.h |
| 267 | 267 | ||
| 268 | copy /b config.settings+%MAKECMD%.defs+..\nt\makefile.w32-in ..\nt\makefile | 268 | copy /b config.settings+%MAKECMD%.defs+..\nt\makefile.w32-in ..\nt\makefile |
| 269 | copy /b config.settings+%MAKECMD%.defs+..\lib-src\makefile.w32-in ..\lib-src\makefile | 269 | copy /b config.settings+%MAKECMD%.defs+..\lib-src\makefile.w32-in ..\lib-src\makefile |
| 270 | copy /b config.settings+%MAKECMD%.defs+..\src\makefile.w32-in ..\src\makefile | 270 | copy /b config.settings+%MAKECMD%.defs+..\src\makefile.w32-in ..\src\makefile |
| 271 | if not exist ..\lisp\Makefile.unix rename ..\lisp\Makefile.in Makefile.unix | 271 | if not exist ..\lisp\Makefile.unix rename ..\lisp\Makefile.in Makefile.unix |
| 272 | if exist ..\lisp\makefile rm -f ../lisp/[Mm]akefile | 272 | if exist ..\lisp\makefile rm -f ../lisp/[Mm]akefile |
| 273 | copy /b config.settings+%MAKECMD%.defs+..\lisp\makefile.w32-in ..\lisp\makefile | 273 | copy /b config.settings+%MAKECMD%.defs+..\lisp\makefile.w32-in ..\lisp\makefile |
| 274 | rem Use the default (no-op) Makefile.in if the nt version is not present. | 274 | rem Use the default (no-op) Makefile.in if the nt version is not present. |
| 275 | if exist ..\leim\makefile.w32-in copy /b config.settings+%MAKECMD%.defs+..\leim\makefile.w32-in ..\leim\makefile | 275 | if exist ..\leim\makefile.w32-in copy /b config.settings+%MAKECMD%.defs+..\leim\makefile.w32-in ..\leim\makefile |
| 276 | if not exist ..\leim\makefile.w32-in copy /b config.settings+%MAKECMD%.defs+..\leim\Makefile.in ..\leim\makefile | 276 | if not exist ..\leim\makefile.w32-in copy /b config.settings+%MAKECMD%.defs+..\leim\Makefile.in ..\leim\makefile |
| 277 | del config.settings | 277 | del config.settings |
| 278 | 278 | ||
| 279 | if not exist ..\site-lisp\subdirs.el copy subdirs.el ..\site-lisp\subdirs.el | 279 | if not exist ..\site-lisp\subdirs.el copy subdirs.el ..\site-lisp\subdirs.el |
| 280 | 280 | ||
| 281 | echo. | 281 | echo. |
| 282 | echo Emacs successfully configured. | 282 | echo Emacs successfully configured. |
| 283 | echo Run `%MAKECMD%' to build, then run `%MAKECMD% install' to install. | 283 | echo Run `%MAKECMD%' to build, then run `%MAKECMD% install' to install. |
| 284 | goto end | 284 | goto end |
| 285 | 285 | ||
| 286 | :SmallEnv | 286 | :SmallEnv |
| 287 | echo Your environment size is too small. Please enlarge it and rerun configure. | 287 | echo Your environment size is too small. Please enlarge it and rerun configure. |
| 288 | echo For example, type "command.com /e:2048" to have 2048 bytes available. | 288 | echo For example, type "command.com /e:2048" to have 2048 bytes available. |
| 289 | set $foo$= | 289 | set $foo$= |
| 290 | :end | 290 | :end |
| 291 | set prefix= | 291 | set prefix= |
| 292 | set nodebug= | 292 | set nodebug= |
| 293 | set noopt= | 293 | set noopt= |
| 294 | set nocygwin= | 294 | set nocygwin= |
| 295 | set COMPILER= | 295 | set COMPILER= |
| 296 | set MAKECMD= | 296 | set MAKECMD= |
| 297 | set usercflags= | 297 | set usercflags= |
| 298 | set userldflags= | 298 | set userldflags= |