~ubuntu-branches/ubuntu/hardy/wget/hardy-updates

« back to all changes in this revision

Viewing changes to configure.bat.in

  • Committer: Bazaar Package Importer
  • Author(s): Noèl Köthe
  • Date: 2004-02-13 20:26:44 UTC
  • Revision ID: james.westby@ubuntu.com-20040213202644-skxj93qs15sskqfy
Tags: upstream-1.9.1
Import upstream version 1.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
cls
 
30
if .%1 == .--borland goto :borland
 
31
if .%1 == .--msvc goto :msvc
 
32
if .%1 == .--watcom goto :watcom
 
33
goto :usage
 
34
 
 
35
:msvc
 
36
copy windows\config.h.ms src\config.h > nul
 
37
copy windows\Makefile.top Makefile > nul
 
38
copy windows\Makefile.src src\Makefile > nul
 
39
copy windows\Makefile.doc doc\Makefile > nul
 
40
 
 
41
echo Type NMAKE to start compiling.
 
42
echo If it doesn't work, try executing MSDEV\BIN\VCVARS32.BAT first,
 
43
echo and then NMAKE.
 
44
goto :end
 
45
 
 
46
:borland
 
47
copy windows\config.h.bor src\config.h > nul
 
48
copy windows\Makefile.top.bor Makefile > nul
 
49
copy windows\Makefile.src.bor src\Makefile > nul
 
50
copy windows\Makefile.doc doc\Makefile > nul
 
51
 
 
52
echo Type MAKE to start compiling.
 
53
goto :end
 
54
 
 
55
:watcom
 
56
copy windows\config.h.ms src\config.h > nul
 
57
copy windows\Makefile.watcom src\Makefile > nul
 
58
 
 
59
@echo Checking environment vars
 
60
@set INCLUDE | find /I "WATCOM"
 
61
@set LIB     | find /I "WATCOM"
 
62
@echo If WATCOM directories were not displayed, you need to
 
63
@echo SET INCLUDE and SET LIB to the Watcom directories
 
64
@echo.
 
65
cd src
 
66
@echo Type WMAKE to build
 
67
goto :end
 
68
 
 
69
:usage
 
70
echo "Usage: configure [--borland | --msvc | --watcom]"
 
71
:end