]> sjero.net Git - wget/blob - configure.bat
[svn] Merge of fix for bugs 20341 and 20410.
[wget] / configure.bat
1 @echo off\r
2 rem Configure batch file for `Wget' utility\r
3 rem Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.\r
4 \r
5 rem This program is free software; you can redistribute it and/or modify\r
6 rem it under the terms of the GNU General Public License as published by\r
7 rem the Free Software Foundation; either version 3 of the License, or\r
8 rem (at your option) any later version.\r
9 \r
10 rem This program is distributed in the hope that it will be useful,\r
11 rem but WITHOUT ANY WARRANTY; without even the implied warranty of\r
12 rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
13 rem GNU General Public License for more details.\r
14 \r
15 rem You should have received a copy of the GNU General Public License\r
16 rem along with this program.  If not, see <http://www.gnu.org/licenses/>.\r
17 \r
18 rem In addition, as a special exception, the Free Software Foundation\r
19 rem gives permission to link the code of its release of Wget with the\r
20 rem OpenSSL project's "OpenSSL" library (or with modified versions of it\r
21 rem that use the same license as the "OpenSSL" library), and distribute\r
22 rem the linked executables.  You must obey the GNU General Public License\r
23 rem in all respects for all of the code used other than "OpenSSL".  If you\r
24 rem modify this file, you may extend this exception to your version of the\r
25 rem file, but you are not obligated to do so.  If you do not wish to do\r
26 rem so, delete this exception statement from your version.\r
27 \r
28 if .%1 == .--borland goto :borland\r
29 if .%1 == .--mingw goto :mingw\r
30 if .%1 == .--msvc goto :msvc\r
31 goto :usage\r
32 \r
33 :msvc\r
34 copy windows\Makefile.top Makefile > nul\r
35 copy windows\Makefile.src src\Makefile > nul\r
36 copy windows\Makefile.doc doc\Makefile > nul\r
37 \r
38 echo Type NMAKE to start compiling.\r
39 echo If it doesn't work, try executing MSDEV\BIN\VCVARS32.BAT first,\r
40 echo and then NMAKE.\r
41 goto :end\r
42 \r
43 :borland\r
44 copy windows\Makefile.top.bor Makefile > nul\r
45 copy windows\Makefile.src.bor src\Makefile > nul\r
46 copy windows\Makefile.doc doc\Makefile > nul\r
47 \r
48 echo Type MAKE to start compiling.\r
49 goto :end\r
50 \r
51 :mingw\r
52 copy windows\Makefile.top.mingw Makefile > nul\r
53 copy windows\Makefile.src.mingw src\Makefile > nul\r
54 copy windows\Makefile.doc doc\Makefile > nul\r
55 \r
56 echo Type mingw32-make to start compiling.\r
57 goto :end\r
58 \r
59 :usage\r
60 echo "Usage: configure [--borland | --mingw | --msvc]"\r
61 :end\r
62 \r
63 copy windows\config.h src\config.h > nul\r
64 copy windows\config-compiler.h src\config-compiler.h > nul\r