Bind "C-x #" in a way that works even if C-x is redefined to a command key,
[bpt/emacs.git] / nt / configure.bat
CommitLineData
f466241d
EZ
1@echo off\r
2rem ----------------------------------------------------------------------\r
12ff2dc5 3rem Configuration script for MS Windows 95/98/Me and NT/2000/XP\r
dbbdb507
EZ
4rem Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 \r
5rem Free Software Foundation, Inc.\r
f466241d
EZ
6\r
7rem This file is part of GNU Emacs.\r
8\r
9rem GNU Emacs is free software; you can redistribute it and/or modify\r
10rem it under the terms of the GNU General Public License as published by\r
11rem the Free Software Foundation; either version 2, or (at your option)\r
12rem any later version.\r
13\r
14rem GNU Emacs is distributed in the hope that it will be useful,\r
15rem but WITHOUT ANY WARRANTY; without even the implied warranty of\r
16rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
17rem GNU General Public License for more details.\r
18\r
19rem You should have received a copy of the GNU General Public License\r
20rem along with GNU Emacs; see the file COPYING. If not, write to the\r
364c38d3
LK
21rem Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,\r
22rem Boston, MA 02110-1301, USA.\r
f466241d
EZ
23rem ----------------------------------------------------------------------\r
24rem YOU'LL NEED THE FOLLOWING UTILITIES TO MAKE EMACS:\r
25rem\r
12ff2dc5 26rem + MS Windows 95/98/Me or NT/2000/XP\r
f466241d
EZ
27rem + either MSVC 2.x or later, or gcc-2.95 or later (with gmake 3.75\r
28rem or later) and the Mingw32 and W32 API headers and libraries\r
29rem\r
30rem For reference, here is a list of which builds of gmake are known to\r
31rem work or not, and whether they work in the presence and/or absence of\r
32rem sh.exe.\r
7019fb66 33rem\r
f466241d
EZ
34rem sh exists no sh\r
35rem cygwin b20.1 make (3.75): okay[1] fails[2]\r
36rem MSVC compiled gmake 3.77: okay okay\r
37rem MSVC compiled gmake 3.78.1: okay okay\r
38rem MSVC compiled gmake 3.79.1: okay okay\r
39rem mingw32/gcc-2.92.2 make (3.77): okay okay\r
40rem cygwin compiled gmake 3.77: okay[1] fails[2]\r
41rem cygwin compiled gmake 3.78.1: okay fails[2]\r
42rem cygwin compiled gmake 3.79.1: couldn't build make[3]\r
43rem\r
44rem [1] doesn't cope with makefiles with DOS line endings, so must mount\r
45rem emacs source with text!=binary.\r
46rem [2] fails when needs to invoke shell commands; okay invoking gcc etc.\r
47rem [3] requires LC_MESSAGES support to build; maybe 2.95.x update to\r
48rem cygwin provides this?\r
49rem\r
50\r
dbbdb507
EZ
51if exist config.log del config.log\r
52\r
f466241d
EZ
53rem ----------------------------------------------------------------------\r
54rem See if the environment is large enough. We need 43 (?) bytes.\r
55set $foo$=123456789_123456789_123456789_123456789_123\r
56if not "%$foo$%" == "123456789_123456789_123456789_123456789_123" goto SmallEnv\r
57set $foo$=\r
58\r
59rem ----------------------------------------------------------------------\r
60rem Make sure we are running in the nt subdir\r
61if exist configure.bat goto start\r
62echo You must run configure from the nt subdirectory.\r
63goto end\r
64\r
65:start\r
66rem ----------------------------------------------------------------------\r
67rem Default settings.\r
68set prefix=\r
69set nodebug=N\r
70set noopt=N\r
71set nocygwin=N\r
72set COMPILER=\r
73set usercflags=\r
74set userldflags=\r
75set sep1=\r
76set sep2=\r
77\r
78rem ----------------------------------------------------------------------\r
79rem Handle arguments.\r
80:again\r
81if "%1" == "-h" goto usage\r
82if "%1" == "--help" goto usage\r
83if "%1" == "--prefix" goto setprefix\r
84if "%1" == "--with-gcc" goto withgcc\r
85if "%1" == "--with-msvc" goto withmsvc\r
86if "%1" == "--no-debug" goto nodebug\r
87if "%1" == "--no-opt" goto noopt\r
88if "%1" == "--no-cygwin" goto nocygwin\r
89if "%1" == "--cflags" goto usercflags\r
90if "%1" == "--ldflags" goto userldflags\r
e0006538 91if "%1" == "--without-png" goto withoutpng\r
aad0eae4 92if "%1" == "--without-jpeg" goto withoutjpeg\r
12ff2dc5 93if "%1" == "--without-gif" goto withoutgif\r
47c01e80 94if "%1" == "--without-tiff" goto withouttiff\r
507f5dce 95if "%1" == "--without-xpm" goto withoutxpm\r
f466241d
EZ
96if "%1" == "" goto checkutils\r
97:usage\r
98echo Usage: configure [options]\r
99echo Options:\r
100echo. --prefix PREFIX install Emacs in directory PREFIX\r
101echo. --with-gcc use GCC to compile Emacs\r
102echo. --with-msvc use MSVC to compile Emacs\r
103echo. --no-debug exclude debug info from executables\r
104echo. --no-opt disable optimization\r
105echo. --no-cygwin use -mno-cygwin option with GCC\r
106echo. --cflags FLAG pass FLAG to compiler\r
107echo. --ldflags FLAG pass FLAG to compiler when linking\r
7019fb66 108echo. --without-png do not use libpng even if it is installed\r
507f5dce
JR
109echo. --without-jpeg do not use jpeg-6b even if it is installed\r
110echo. --without-gif do not use libungif even if it is installed\r
6ed82072
JB
111echo. --without-tiff do not use libtiff even if it is installed\r
112echo. --without-xpm do not use libXpm even if it is installed\r
f466241d
EZ
113goto end\r
114rem ----------------------------------------------------------------------\r
115:setprefix\r
116shift\r
117set prefix=%1\r
118shift\r
119goto again\r
120rem ----------------------------------------------------------------------\r
121:withgcc\r
122set COMPILER=gcc\r
123shift\r
124goto again\r
125rem ----------------------------------------------------------------------\r
126:withmsvc\r
127set COMPILER=cl\r
128shift\r
129goto again\r
130rem ----------------------------------------------------------------------\r
131:nodebug\r
132set nodebug=Y\r
133shift\r
134goto again\r
135rem ----------------------------------------------------------------------\r
136:noopt\r
137set noopt=Y\r
138shift\r
139goto again\r
140rem ----------------------------------------------------------------------\r
141:nocygwin\r
142set nocygwin=Y\r
143shift\r
144goto again\r
145rem ----------------------------------------------------------------------\r
146:usercflags\r
147shift\r
148set usercflags=%usercflags%%sep1%%1\r
149set sep1= %nothing%\r
150shift\r
151goto again\r
152rem ----------------------------------------------------------------------\r
153:userldflags\r
154shift\r
155set userldflags=%userldflags%%sep2%%1\r
156set sep2= %nothing%\r
157shift\r
158goto again\r
e0006538
JR
159rem ----------------------------------------------------------------------\r
160\r
161:withoutpng\r
162set pngsupport=N\r
163set HAVE_PNG=\r
39bd0e03 164shift\r
e0006538 165goto again\r
f466241d 166\r
aad0eae4
JR
167rem ----------------------------------------------------------------------\r
168\r
169:withoutjpeg\r
170set jpegsupport=N\r
171set HAVE_JPEG=\r
39bd0e03 172shift\r
aad0eae4
JR
173goto again\r
174\r
12ff2dc5
JB
175rem ----------------------------------------------------------------------\r
176\r
177:withoutgif\r
178set gifsupport=N\r
179set HAVE_GIF=\r
180shift\r
181goto again\r
182\r
47c01e80
JB
183rem ----------------------------------------------------------------------\r
184\r
185:withouttiff\r
186set tiffsupport=N\r
187set HAVE_TIFF=\r
188shift\r
189goto again\r
190\r
507f5dce
JR
191rem ----------------------------------------------------------------------\r
192\r
193:withoutxpm\r
194set xpmsupport=N\r
195set HAVE_XPM=\r
196shift\r
197goto again\r
198\r
f466241d
EZ
199rem ----------------------------------------------------------------------\r
200rem Check that necessary utilities (cp and rm) are present.\r
201:checkutils\r
202echo Checking for 'cp'...\r
203cp configure.bat junk.bat\r
204if not exist junk.bat goto needcp\r
205echo Checking for 'rm'...\r
206rm junk.bat\r
207if exist junk.bat goto needrm\r
208goto checkcompiler\r
209:needcp\r
210echo You need 'cp' (the Unix file copy program) to build Emacs.\r
211goto end\r
212:needrm\r
213del junk.bat\r
214echo You need 'rm' (the Unix file delete program) to build Emacs.\r
215goto end\r
216\r
217rem ----------------------------------------------------------------------\r
218rem Auto-detect compiler if not specified, and validate GCC if chosen.\r
219:checkcompiler\r
e0006538 220if (%COMPILER%)==(cl) goto compilercheckdone\r
f466241d
EZ
221if (%COMPILER%)==(gcc) goto checkgcc\r
222\r
223echo Checking whether 'cl' is available...\r
224echo main(){} >junk.c\r
225cl -nologo -c junk.c\r
226if exist junk.obj goto clOK\r
227\r
228echo Checking whether 'gcc' is available...\r
229gcc -c junk.c\r
230if not exist junk.o goto nocompiler\r
231del junk.o\r
232\r
233:checkgcc\r
234Rem WARNING -- COMMAND.COM on some systems only looks at the first\r
235Rem 8 characters of a label. So do NOT be tempted to change\r
236Rem chkapi* into something fancier like checkw32api\r
237Rem You HAVE been warned!\r
238if (%nocygwin%) == (Y) goto chkapi\r
239echo Checking whether gcc requires '-mno-cygwin'...\r
240echo #include "cygwin/version.h" >junk.c\r
241echo main(){} >>junk.c\r
dbbdb507
EZ
242echo gcc -c junk.c >>config.log\r
243gcc -c junk.c >>config.log 2>&1\r
f466241d 244if not exist junk.o goto chkapi\r
dbbdb507
EZ
245echo gcc -mno-cygwin -c junk.c >>config.log\r
246gcc -mno-cygwin -c junk.c >>config.log 2>&1\r
f466241d
EZ
247if exist junk.o set nocygwin=Y\r
248rm -f junk.c junk.o\r
249\r
250:chkapi\r
dbbdb507
EZ
251echo The failed program was: >>config.log\r
252type junk.c >>config.log\r
f466241d
EZ
253rem ----------------------------------------------------------------------\r
254rem Older versions of the Windows API headers either don't have any of\r
255rem the IMAGE_xxx definitions (the headers that come with Cygwin b20.1\r
256rem are like this), or have a typo in the definition of\r
257rem IMAGE_FIRST_SECTION (the headers with gcc/mingw32 2.95 have this\r
258rem problem). The gcc/mingw32 2.95.2 headers are okay, as are distros\r
259rem of w32api-xxx.zip from Anders Norlander since 1999-11-18 at least.\r
260rem\r
261echo Checking whether W32 API headers are too old...\r
262echo #include "windows.h" >junk.c\r
263echo test(PIMAGE_NT_HEADERS pHeader) >>junk.c\r
264echo {PIMAGE_SECTION_HEADER pSection = IMAGE_FIRST_SECTION(pHeader);} >>junk.c\r
265if (%nocygwin%) == (Y) goto chkapi1\r
266set cf=%usercflags%\r
267goto chkapi2\r
268:chkapi1\r
269set cf=%usercflags% -mno-cygwin\r
270:chkapi2\r
271echo on\r
272gcc %cf% -c junk.c\r
dbbdb507
EZ
273@echo off\r
274@echo gcc %cf% -c junk.c >>config.log\r
275gcc %cf% -c junk.c >>config.log 2>&1\r
f466241d
EZ
276set cf=\r
277if exist junk.o goto gccOk\r
dbbdb507
EZ
278echo The failed program was: >>config.log\r
279type junk.c >>config.log\r
f466241d
EZ
280\r
281:nocompiler\r
282echo.\r
283echo Configure failed.\r
284echo To configure Emacs for Windows, you need to have either\r
285echo gcc-2.95 or later with Mingw32 and the W32 API headers,\r
286echo or MSVC 2.x or later.\r
287del junk.c\r
288goto end\r
289\r
290:gccOk\r
291set COMPILER=gcc\r
f466241d 292echo Using 'gcc'\r
dbbdb507
EZ
293rm -f junk.c junk.o\r
294Rem It is not clear what GCC version began supporting -mtune\r
295Rem and pentium4 on x86, so check this explicitly.\r
296echo main(){} >junk.c\r
297echo gcc -c -O2 -mtune=pentium4 junk.c >>config.log\r
298gcc -c -O2 -mtune=pentium4 junk.c >>config.log 2>&1\r
299if not errorlevel 1 goto gccMtuneOk\r
300echo The failed program was: >>config.log\r
301type junk.c >>config.log\r
302set mf=-mcpu=i686\r
303rm -f junk.c junk.o\r
304goto compilercheckdone\r
305:gccMtuneOk\r
306echo GCC supports -mtune=pentium4 >>config.log\r
307set mf=-mtune=pentium4\r
308rm -f junk.c junk.o\r
e0006538 309goto compilercheckdone\r
f466241d
EZ
310\r
311:clOk\r
312set COMPILER=cl\r
313rm -f junk.c junk.obj\r
314echo Using 'MSVC'\r
e0006538
JR
315\r
316:compilercheckdone\r
317\r
318rem ----------------------------------------------------------------------\r
319rem Check for external image libraries. Since they are loaded\r
320rem dynamically, the libraries themselves do not need to be present\r
321rem at compile time, but the header files are required.\r
322\r
112dc8e1
JR
323set mingwflag=\r
324\r
325if (%nocygwin%) == (N) goto flagsOK\r
326set mingwflag=-mno-cygwin\r
327\r
328:flagsOK\r
329\r
e0006538
JR
330if (%pngsupport%) == (N) goto pngDone\r
331\r
332echo Checking for libpng...\r
333echo #include "png.h" >junk.c\r
334echo main (){} >>junk.c\r
335rem -o option is ignored with cl, but allows result to be consistent.\r
dbbdb507
EZ
336echo %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >>config.log\r
337%COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >junk.out 2>>config.log\r
e0006538
JR
338if exist junk.obj goto havePng\r
339\r
507f5dce 340echo ...png.h not found, building without PNG support.\r
dbbdb507
EZ
341echo The failed program was: >>config.log\r
342type junk.c >>config.log\r
e0006538
JR
343set HAVE_PNG=\r
344goto :pngDone\r
345\r
346:havePng\r
347echo ...PNG header available, building with PNG support.\r
348set HAVE_PNG=1\r
349\r
350:pngDone\r
351rm -f junk.c junk.obj\r
f466241d 352\r
aad0eae4
JR
353if (%jpegsupport%) == (N) goto jpegDone\r
354\r
507f5dce 355echo Checking for jpeg-6b...\r
aad0eae4
JR
356echo #include "jconfig.h" >junk.c\r
357echo main (){} >>junk.c\r
358rem -o option is ignored with cl, but allows result to be consistent.\r
dbbdb507
EZ
359echo %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >>config.log\r
360%COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >junk.out 2>>config.log\r
aad0eae4
JR
361if exist junk.obj goto haveJpeg\r
362\r
507f5dce 363echo ...jconfig.h not found, building without JPEG support.\r
dbbdb507
EZ
364echo The failed program was: >>config.log\r
365type junk.c >>config.log\r
aad0eae4
JR
366set HAVE_JPEG=\r
367goto :jpegDone\r
368\r
369:haveJpeg\r
370echo ...JPEG header available, building with JPEG support.\r
371set HAVE_JPEG=1\r
372\r
373:jpegDone\r
374rm -f junk.c junk.obj\r
375\r
12ff2dc5
JB
376if (%gifsupport%) == (N) goto gifDone\r
377\r
507f5dce 378echo Checking for libgif...\r
12ff2dc5
JB
379echo #include "gif_lib.h" >junk.c\r
380echo main (){} >>junk.c\r
381rem -o option is ignored with cl, but allows result to be consistent.\r
dbbdb507
EZ
382echo %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >>config.log\r
383%COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >junk.out 2>>config.log\r
12ff2dc5
JB
384if exist junk.obj goto haveGif\r
385\r
507f5dce 386echo ...gif_lib.h not found, building without GIF support.\r
dbbdb507
EZ
387echo The failed program was: >>config.log\r
388type junk.c >>config.log\r
12ff2dc5
JB
389set HAVE_GIF=\r
390goto :gifDone\r
391\r
392:haveGif\r
393echo ...GIF header available, building with GIF support.\r
394set HAVE_GIF=1\r
395\r
396:gifDone\r
397rm -f junk.c junk.obj\r
398\r
47c01e80
JB
399if (%tiffsupport%) == (N) goto tiffDone\r
400\r
401echo Checking for tiff...\r
402echo #include "tiffio.h" >junk.c\r
403echo main (){} >>junk.c\r
404rem -o option is ignored with cl, but allows result to be consistent.\r
dbbdb507
EZ
405echo %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >>config.log\r
406%COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >junk.out 2>>config.log\r
47c01e80
JB
407if exist junk.obj goto haveTiff\r
408\r
507f5dce 409echo ...tiffio.h not found, building without TIFF support.\r
dbbdb507
EZ
410echo The failed program was: >>config.log\r
411type junk.c >>config.log\r
47c01e80
JB
412set HAVE_TIFF=\r
413goto :tiffDone\r
414\r
415:haveTiff\r
416echo ...TIFF header available, building with TIFF support.\r
417set HAVE_TIFF=1\r
418\r
419:tiffDone\r
420rm -f junk.c junk.obj\r
421\r
507f5dce
JR
422if (%xpmsupport%) == (N) goto xpmDone\r
423\r
424echo Checking for libXpm...\r
425echo #define FOR_MSW 1 >junk.c\r
426echo #include "X11/xpm.h" >>junk.c\r
427echo main (){} >>junk.c\r
428rem -o option is ignored with cl, but allows result to be consistent.\r
dbbdb507
EZ
429echo %COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >>config.log\r
430%COMPILER% %usercflags% %mingwflag% -c junk.c -o junk.obj >junk.out 2>>config.log\r
507f5dce
JR
431if exist junk.obj goto haveXpm\r
432\r
433echo ...X11/xpm.h not found, building without XPM support.\r
dbbdb507
EZ
434echo The failed program was: >>config.log\r
435type junk.c >>config.log\r
507f5dce
JR
436set HAVE_XPM=\r
437goto :xpmDone\r
438\r
439:haveXpm\r
440echo ...XPM header available, building with XPM support.\r
441set HAVE_XPM=1\r
442\r
443:xpmDone\r
444rm -f junk.c junk.obj junk.err junk.out\r
445\r
f466241d
EZ
446rem ----------------------------------------------------------------------\r
447:genmakefiles\r
448echo Generating makefiles\r
449if %COMPILER% == gcc set MAKECMD=gmake\r
450if %COMPILER% == cl set MAKECMD=nmake\r
451\r
452rem Pass on chosen settings to makefiles.\r
453rem NB. Be very careful to not have a space before redirection symbols\r
454rem except when there is a preceding digit, when a space is required.\r
455rem\r
456echo # Start of settings from configure.bat >config.settings\r
457echo COMPILER=%COMPILER%>>config.settings\r
dbbdb507 458if not "(%mf%)" == "()" echo MCPU_FLAG=%mf%>>config.settings\r
f466241d
EZ
459if (%nodebug%) == (Y) echo NODEBUG=1 >>config.settings\r
460if (%noopt%) == (Y) echo NOOPT=1 >>config.settings\r
461if (%nocygwin%) == (Y) echo NOCYGWIN=1 >>config.settings\r
462if not "(%prefix%)" == "()" echo INSTALL_DIR=%prefix%>>config.settings\r
463if not "(%usercflags%)" == "()" echo USER_CFLAGS=%usercflags%>>config.settings\r
464if not "(%userldflags%)" == "()" echo USER_LDFLAGS=%userldflags%>>config.settings\r
465echo # End of settings from configure.bat>>config.settings\r
466echo. >>config.settings\r
467\r
c262c68c
EZ
468copy config.nt config.tmp\r
469echo. >>config.tmp\r
470echo /* Start of settings from configure.bat. */ >>config.tmp\r
471if not "(%usercflags%)" == "()" echo #define USER_CFLAGS " %usercflags%">>config.tmp\r
472if not "(%userldflags%)" == "()" echo #define USER_LDFLAGS " %userldflags%">>config.tmp\r
473if not "(%HAVE_PNG%)" == "()" echo #define HAVE_PNG 1 >>config.tmp\r
474if not "(%HAVE_JPEG%)" == "()" echo #define HAVE_JPEG 1 >>config.tmp\r
475if not "(%HAVE_GIF%)" == "()" echo #define HAVE_GIF 1 >>config.tmp\r
476if not "(%HAVE_TIFF%)" == "()" echo #define HAVE_TIFF 1 >>config.tmp\r
477if not "(%HAVE_XPM%)" == "()" echo #define HAVE_XPM 1 >>config.tmp\r
478echo /* End of settings from configure.bat. */ >>config.tmp\r
479\r
480Rem See if fc.exe returns a meaningful exit status. If it does, we\r
481Rem might as well avoid unnecessary overwriting of config.h and epaths.h,\r
482Rem since this forces recompilation of every source file.\r
483if exist foo.bar del foo.bar\r
484fc /b foo.bar foo.bar >nul 2>&1\r
485if not errorlevel 2 goto doCopy\r
486fc /b config.tmp ..\src\config.h >nul 2>&1\r
487if errorlevel 1 goto doCopy\r
488fc /b paths.h ..\src\epaths.h >nul 2>&1\r
489if errorlevel 0 goto dontCopy\r
490:doCopy\r
491copy config.tmp ..\src\config.h\r
f466241d
EZ
492copy paths.h ..\src\epaths.h\r
493\r
c262c68c
EZ
494:dontCopy\r
495if exist config.tmp del config.tmp\r
f466241d
EZ
496copy /b config.settings+%MAKECMD%.defs+..\nt\makefile.w32-in ..\nt\makefile\r
497copy /b config.settings+%MAKECMD%.defs+..\lib-src\makefile.w32-in ..\lib-src\makefile\r
498copy /b config.settings+%MAKECMD%.defs+..\src\makefile.w32-in ..\src\makefile\r
80c164ec
JR
499copy /b config.settings+%MAKECMD%.defs+..\man\makefile.w32-in ..\man\makefile\r
500copy /b config.settings+%MAKECMD%.defs+..\lispref\makefile.w32-in ..\lispref\makefile\r
501copy /b config.settings+%MAKECMD%.defs+..\lispintro\makefile.w32-in ..\lispintro\makefile\r
f466241d
EZ
502if not exist ..\lisp\Makefile.unix rename ..\lisp\Makefile.in Makefile.unix\r
503if exist ..\lisp\makefile rm -f ../lisp/[Mm]akefile\r
504copy /b config.settings+%MAKECMD%.defs+..\lisp\makefile.w32-in ..\lisp\makefile\r
505rem Use the default (no-op) Makefile.in if the nt version is not present.\r
506if exist ..\leim\makefile.w32-in copy /b config.settings+%MAKECMD%.defs+..\leim\makefile.w32-in ..\leim\makefile\r
507if not exist ..\leim\makefile.w32-in copy /b config.settings+%MAKECMD%.defs+..\leim\Makefile.in ..\leim\makefile\r
508del config.settings\r
509\r
e44f8099
EZ
510Rem Some people use WinZip which doesn't create empty directories!\r
511if not exist ..\site-lisp\nul mkdir ..\site-lisp\\r
f466241d
EZ
512if not exist ..\site-lisp\subdirs.el copy subdirs.el ..\site-lisp\subdirs.el\r
513\r
514echo.\r
515echo Emacs successfully configured.\r
516echo Run `%MAKECMD%' to build, then run `%MAKECMD% install' to install.\r
517goto end\r
518\r
519:SmallEnv\r
520echo Your environment size is too small. Please enlarge it and rerun configure.\r
521echo For example, type "command.com /e:2048" to have 2048 bytes available.\r
522set $foo$=\r
523:end\r
524set prefix=\r
525set nodebug=\r
526set noopt=\r
527set nocygwin=\r
528set COMPILER=\r
529set MAKECMD=\r
530set usercflags=\r
531set userldflags=\r
112dc8e1 532set mingwflag=\r
dbbdb507 533set mf=\r
a2fcf029
MB
534\r
535goto skipArchTag\r
536 arch-tag: 300d20a4-1675-4e75-b615-7ce1a8c5376c\r
537:skipArchTag\r