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