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