2
rem Configure batch file for `Wget' utility
3
rem Copyright (C) 1995, 1996, 1997, 2007, 2008, 2009 Free Software
6
rem This program is free software; you can redistribute it and/or modify
7
rem it under the terms of the GNU General Public License as published by
8
rem the Free Software Foundation; either version 3 of the License, or
9
rem (at your option) any later version.
11
rem This program is distributed in the hope that it will be useful,
12
rem but WITHOUT ANY WARRANTY; without even the implied warranty of
13
rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
rem GNU General Public License for more details.
16
rem You should have received a copy of the GNU General Public License
17
rem along with this program. If not, see <http://www.gnu.org/licenses/>.
19
rem Additional permission under GNU GPL version 3 section 7
21
rem If you modify this program, or any covered work, by linking or
22
rem combining it with the OpenSSL project's OpenSSL library (or a
23
rem modified version of that library), containing parts covered by the
24
rem terms of the OpenSSL or SSLeay licenses, the Free Software Foundation
25
rem grants you additional permission to convey the resulting work.
26
rem Corresponding Source for a non-source form of such a combination
27
rem shall include the source code for the parts of OpenSSL used as well
28
rem as that of the covered work.
30
if .%1 == .--borland goto :borland
31
if .%1 == .--mingw goto :mingw
32
if .%1 == .--msvc goto :msvc
36
copy windows\Makefile.top Makefile > nul
37
copy windows\Makefile.src src\Makefile > nul
38
copy windows\Makefile.doc doc\Makefile > nul
40
echo Type NMAKE to start compiling.
41
echo If it doesn't work, try executing MSDEV\BIN\VCVARS32.BAT first,
46
copy windows\Makefile.top.bor Makefile > nul
47
copy windows\Makefile.src.bor src\Makefile > nul
48
copy windows\Makefile.doc doc\Makefile > nul
50
echo Type MAKE to start compiling.
54
copy windows\Makefile.top.mingw Makefile > nul
55
copy windows\Makefile.src.mingw src\Makefile > nul
56
copy windows\Makefile.doc doc\Makefile > nul
58
echo Type mingw32-make to start compiling.
62
echo "Usage: configure [--borland | --mingw | --msvc]"
65
copy windows\config.h src\config.h > nul
66
copy windows\config-compiler.h src\config-compiler.h > nul