]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/wget/files/autotools.patch
wget: add 1.9.1-12 from Debian.
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / wget / files / autotools.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- wget-1.9.1/src/wget.h~prototypes
7 +++ wget-1.9.1/src/wget.h
8 @@ -45,7 +45,7 @@
9  #undef DEBUG_MALLOC
10  
11  #ifndef PARAMS
12 -# if PROTOTYPES
13 +# ifndef ANSI2KNR
14  #  define PARAMS(args) args
15  # else
16  #  define PARAMS(args) ()
17 --- tmp/base/wget-1.9.1-r0/wget-1.9.1/configure.in      2003-11-08 13:15:35.000000000 -0600
18 +++ wget-1.9.1/configure.in     2004-05-22 19:41:40.000000000 -0500
19 @@ -46,11 +46,13 @@
20  dnl Get cannonical host
21  dnl
22  AC_CANONICAL_HOST
23 +AH_TEMPLATE([OS_TYPE], [Define to the operating system we're building for])
24  AC_DEFINE_UNQUOTED(OS_TYPE, "$host_os")
25  
26  dnl
27  dnl Process features.
28  dnl
29 +AH_TEMPLATE([HAVE_SOCKS], [Define to use the socks library])
30  AC_ARG_WITH(socks,
31  [  --with-socks            use the socks library],
32  [AC_DEFINE(HAVE_SOCKS)])
33 @@ -59,16 +61,19 @@
34  [[  --with-ssl[=SSL-ROOT]   link with SSL support [default=auto]
35    --without-ssl           disable SSL autodetection]])
36  
37 +AH_TEMPLATE([USE_OPIE], [Define to enable support for opie or s/key FTP login])
38  AC_ARG_ENABLE(opie,
39  [  --disable-opie          disable support for opie or s/key FTP login],
40  USE_OPIE=$enableval, USE_OPIE=yes)
41  test x"${USE_OPIE}" = xyes && AC_DEFINE(USE_OPIE)
42  
43 +AH_TEMPLATE([USE_DIGEST], [Define to enable support for HTTP digest authorization])
44  AC_ARG_ENABLE(digest,
45  [  --disable-digest        disable support for HTTP digest authorization],
46  USE_DIGEST=$enableval, USE_DIGEST=yes)
47  test x"${USE_DIGEST}" = xyes && AC_DEFINE(USE_DIGEST)
48  
49 +AH_TEMPLATE([ENABLE_DEBUG], [Define to enable debugging output])
50  AC_ARG_ENABLE(debug,
51  [  --disable-debug         disable support for debugging output],
52  ENABLE_DEBUG=$enableval, ENABLE_DEBUG=yes)
53 @@ -256,6 +261,7 @@
54  dnl an AC_DEFUN so that we can reuse it for other third-party
55  dnl libraries.
56  
57 +AH_TEMPLATE([HAVE_SSL], [Define to build with SSL support])
58  if test x"$with_ssl" != x"no"; then
59  
60    wget_force_ssl=no
61 @@ -413,6 +419,10 @@
62  dnl Find an md5 implementation.
63  dnl
64  
65 +AH_TEMPLATE([HAVE_MD5], [Define if using an MD5 implementation])
66 +AH_TEMPLATE([HAVE_SOLARIS_MD5], [Define if using the Solaris MD5 implementation])
67 +AH_TEMPLATE([HAVE_OPENSSL_MD5], [Define if using the OpenSSL MD5 implementation])
68 +AH_TEMPLATE([HAVE_BUILTIN_MD5], [Define if using the builtin GNU MD5 implementation])
69  if test x"$wget_need_md5" = xyes
70  then
71    MD5_OBJ='gen-md5$o'