]> sjero.net Git - wget/blob - configure.bat
[svn] Initial revision
[wget] / configure.bat
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 cls
20 if .%1 == .--borland goto :borland
21 if .%1 == .--msvc goto :msvc
22 if not .%BORPATH% == . goto :borland
23 if not .%1 == . goto :usage
24
25 :msvc
26 copy windows\config.h.ms src\config.h > nul
27 copy windows\Makefile.top Makefile > nul
28 copy windows\Makefile.src src\Makefile > nul
29 copy windows\Makefile.doc doc\Makefile > nul
30
31 echo Type NMAKE to start compiling.
32 echo If it doesn't work, try executing MSDEV\BIN\VCVARS32.BAT first,
33 echo and then NMAKE.
34 goto :end
35
36 :borland
37 copy windows\config.h.bor src\config.h > nul
38 copy windows\Makefile.top.bor Makefile > nul
39 copy windows\Makefile.src.bor src\Makefile > nul
40 copy windows\Makefile.doc doc\Makefile > nul
41
42 echo Type MAKE to start compiling.
43 goto :end
44
45 :usage
46 echo Usage: Configure [--borland | --msvc]
47 :end