~ubuntu-branches/ubuntu/precise/wget/precise-proposed

« back to all changes in this revision

Viewing changes to configure.bat

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2011-10-19 00:00:09 UTC
  • mfrom: (2.1.13 sid)
  • Revision ID: james.westby@ubuntu.com-20111019000009-8p33w3wz4b1rdri0
Tags: 1.13-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add wget-udeb to ship wget.gnu as alternative to busybox wget
    implementation.
  - Depend on libssl-dev 0.9.8k-7ubuntu4 (LP: #503339)
* Dropped changes, superseded in Debian:
  - Keep build dependencies in main:
    + debian/control: remove info2man build-dep
    + debian/patches/series: disable wget-infopod_generated_manpage
  - Mark wget Multi-Arch: foreign, so packages that aren't of the same arch
    can depend on it.
* Pass --with-ssl=openssl; we don't want to use gnutls, there's no udeb for
  it.
* Add a second build pass for the udeb, so we can build without libidn.

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