]> git.pld-linux.org Git - packages/wget.git/blob - wget-ac.patch
- add --delete-remote todo
[packages/wget.git] / wget-ac.patch
1 --- wget-1.10.1/configure.in.orig       2005-08-11 23:35:27.000000000 +0200
2 +++ wget-1.10.1/configure.in    2005-08-28 13:42:34.625493608 +0200
3 @@ -437,6 +437,7 @@
4  ALL_LINGUAS=`(cd ${srcdir}/po && ls *.po | sed -e 's/\.po$//' | tr '\012' ' ')`
5  
6  dnl internationalization macros
7 +AM_GNU_GETTEXT
8  WGET_WITH_NLS
9  
10  dnl
11 @@ -473,5 +474,4 @@
12  #include "config-post.h"
13  ])
14  AC_CONFIG_FILES([stamp-h], [echo timestamp > stamp-h])
15 -AC_CONFIG_COMMANDS([default], [WGET_PROCESS_PO])
16  AC_OUTPUT
17 diff -urN wget-1.9-b5.org/Makefile.in wget-1.9-b5/Makefile.in
18 --- wget-1.9-b5.org/Makefile.in 2003-10-12 23:55:54.000000000 +0200
19 +++ wget-1.9-b5/Makefile.in     2003-10-13 00:29:14.000000000 +0200
20 @@ -82,7 +82,7 @@
21  infodir='$(infodir)' mandir='$(mandir)' manext='$(manext)'
22  
23  # subdirectories in the distribution
24 -SUBDIRS = src doc po util windows
25 +SUBDIRS = src doc intl po util windows
26  
27  # default target
28  all: libtool src/config.h Makefile $(SUBDIRS)
29 @@ -106,7 +106,7 @@
30  
31  # Install `.mo' files
32  install.mo:
33 -       cd po && $(MAKE) $(MAKEDEFS) $@
34 +       cd po && $(MAKE) $(MAKEDEFS) install
35  
36  # Regenerate libtool if ltconfig and/or ltmain are updated
37  libtool: $(LIBTOOL_DEPS)
38 --- wget-1.10/src/main.c.orig   2005-06-22 03:25:18.000000000 +0200
39 +++ wget-1.10/src/main.c        2005-06-22 03:25:48.000000000 +0200
40 @@ -43,11 +43,11 @@
41  #ifdef HAVE_SIGNAL_H
42  # include <signal.h>
43  #endif
44 -#ifdef HAVE_NLS
45 +#ifdef ENABLE_NLS
46  #ifdef HAVE_LOCALE_H
47  # include <locale.h>
48  #endif /* HAVE_LOCALE_H */
49 -#endif /* HAVE_NLS */
50 +#endif /* ENABLE_NLS */
51  #include <assert.h>
52  
53  #include <errno.h>
54 @@ -90,8 +90,8 @@
55  static void
56  i18n_initialize (void)
57  {
58 -  /* HAVE_NLS implies existence of functions invoked here.  */
59 -#ifdef HAVE_NLS
60 +  /* ENABLE_NLS implies existence of functions invoked here.  */
61 +#ifdef ENABLE_NLS
62    /* Set the current locale.  */
63    /* Where possible, sets only LC_MESSAGES and LC_CTYPE.  Other
64       categories, such as numeric, time, or collation, break code that
65 @@ -110,7 +110,7 @@
66    /* Set the text message domain.  */
67    bindtextdomain ("wget", LOCALEDIR);
68    textdomain ("wget");
69 -#endif /* HAVE_NLS */
70 +#endif /* ENABLE_NLS */
71  }
72  \f
73  /* Definition of command-line options. */
74 --- wget-1.10/src/wget.h.orig   2005-06-22 03:26:51.000000000 +0200
75 +++ wget-1.10/src/wget.h        2005-06-22 03:27:04.000000000 +0200
76 @@ -50,16 +50,16 @@
77  
78  /* `gettext (FOO)' is long to write, so we use `_(FOO)'.  If NLS is
79     unavailable, _(STRING) simply returns STRING.  */
80 -#ifdef HAVE_NLS
81 +#ifdef ENABLE_NLS
82  # define _(string) gettext (string)
83  # ifdef HAVE_LIBINTL_H
84  #  include <libintl.h>
85  # else  /* not HAVE_LIBINTL_H */
86     const char *gettext ();
87  # endif /* not HAVE_LIBINTL_H */
88 -#else  /* not HAVE_NLS */
89 +#else  /* not ENABLE_NLS */
90  # define _(string) (string)
91 -#endif /* not HAVE_NLS */
92 +#endif /* not ENABLE_NLS */
93  
94  /* A pseudo function call that serves as a marker for the automated
95     extraction of messages, but does not call gettext().  The run-time
96 --- wget-1.10.1/m4/wget.m4.orig 2005-06-27 00:06:49.000000000 +0200
97 +++ wget-1.10.1/m4/wget.m4      2005-08-28 13:31:58.190246472 +0200
98 @@ -156,7 +156,7 @@
99  # program @code{ansi2knr}, which comes with Ghostscript.
100  # @end defmac
101  
102 -AC_DEFUN(AM_PROG_CC_STDC,
103 +AC_DEFUN([AM_PROG_CC_STDC],
104  [AC_REQUIRE([AC_PROG_CC])
105  AC_MSG_CHECKING([for ${CC-cc} option to accept ANSI C])
106  AC_CACHE_VAL(am_cv_prog_cc_stdc,
107 @@ -390,7 +390,7 @@
108  dnl This is not strictly an Autoconf macro, because it is run from
109  dnl within `config.status' rather than from within configure.  This
110  dnl is why special rules must be applied for it.
111 -AC_DEFUN(WGET_PROCESS_PO,
112 +AC_DEFUN([WGET_PROCESS_PO],
113    [
114     dnl I wonder what the following several lines do...
115     if test "x$srcdir" != "x."; then
116 @@ -426,7 +426,7 @@
117  
118  dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
119  dnl   TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
120 -AC_DEFUN(AM_PATH_PROG_WITH_TEST,
121 +AC_DEFUN([AM_PATH_PROG_WITH_TEST],
122  [# Extract the first word of "$2", so it can be a program name with args.
123  set dummy $2; ac_word=[$]2
124  AC_MSG_CHECKING([for $ac_word])
This page took 0.033307 seconds and 3 git commands to generate.