X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=configure.bat;fp=configure.bat;h=7b41b8d658801a36e55f0e77119475c2150669a7;hp=0000000000000000000000000000000000000000;hb=d197a09c74779e53eaa70189d642c1efb2250249;hpb=68f8b83d63e1e0fdbd222730acd75b404a3ad9cf diff --git a/configure.bat b/configure.bat new file mode 100644 index 00000000..7b41b8d6 --- /dev/null +++ b/configure.bat @@ -0,0 +1,65 @@ +@echo off +rem Configure batch file for `Wget' utility +rem Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + +rem This program is free software; you can redistribute it and/or modify +rem it under the terms of the GNU General Public License as published by +rem the Free Software Foundation; either version 2 of the License, or +rem (at your option) any later version. + +rem This program is distributed in the hope that it will be useful, +rem but WITHOUT ANY WARRANTY; without even the implied warranty of +rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +rem GNU General Public License for more details. + +rem You should have received a copy of the GNU General Public License +rem along with this program; if not, write to the Free Software +rem Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +rem In addition, as a special exception, the Free Software Foundation +rem gives permission to link the code of its release of Wget with the +rem OpenSSL project's "OpenSSL" library (or with modified versions of it +rem that use the same license as the "OpenSSL" library), and distribute +rem the linked executables. You must obey the GNU General Public License +rem in all respects for all of the code used other than "OpenSSL". If you +rem modify this file, you may extend this exception to your version of the +rem file, but you are not obligated to do so. If you do not wish to do +rem so, delete this exception statement from your version. + +if .%1 == .--borland goto :borland +if .%1 == .--mingw goto :mingw +if .%1 == .--msvc goto :msvc +goto :usage + +:msvc +copy windows\config.h.ms src\config.h > nul +copy windows\Makefile.top Makefile > nul +copy windows\Makefile.src src\Makefile > nul +copy windows\Makefile.doc doc\Makefile > nul + +echo Type NMAKE to start compiling. +echo If it doesn't work, try executing MSDEV\BIN\VCVARS32.BAT first, +echo and then NMAKE. +goto :end + +:borland +copy windows\config.h.bor src\config.h > nul +copy windows\Makefile.top.bor Makefile > nul +copy windows\Makefile.src.bor src\Makefile > nul +copy windows\Makefile.doc doc\Makefile > nul + +echo Type MAKE to start compiling. +goto :end + +:mingw +copy windows\config.h.mingw src\config.h > nul +copy windows\Makefile.top.mingw Makefile > nul +copy windows\Makefile.src.mingw src\Makefile > nul +copy windows\Makefile.doc doc\Makefile > nul + +echo Type mingw32-make to start compiling. +goto :end + +:usage +echo "Usage: configure [--borland | --mingw | --msvc]" +:end