]> git.pld-linux.org Git - packages/aptitude.git/blob - aptitude-patch
- use new %%doc
[packages/aptitude.git] / aptitude-patch
1 diff -rud aptitude-0.0.8.6/Makefile.am aptitude-0.0.8.6-new/Makefile.am
2 --- aptitude-0.0.8.6/Makefile.am        Thu Apr  5 16:49:57 2001
3 +++ aptitude-0.0.8.6-new/Makefile.am    Fri May 18 21:35:53 2001
4 @@ -9,11 +9,11 @@
5  pkgdata_DATA=help.txt help-fr.txt help-gl.txt help-pl.txt
6  
7  install-data-local:
8 -       [ -d $(DESTDIR)/var/state/aptitude ] || mkdir $(DESTDIR)/var/state/aptitude
9 +       [ -d $(DESTDIR)/var/lib/aptitude ] || mkdir $(DESTDIR)/var/lib/aptitude
10         # FIXME: this really ought to use the autoconf directory variables
11  
12  uninstall-local:
13 -       rm -fr $(DESTDIR)/var/state/aptitude
14 +       rm -fr $(DESTDIR)/var/lib/aptitude
15         # Is -r a good idea here?
16  
17  dist-hook:
18 Only in aptitude-0.0.8.6-new/: Makefile.am~
19 diff -rud aptitude-0.0.8.6/Makefile.in aptitude-0.0.8.6-new/Makefile.in
20 --- aptitude-0.0.8.6/Makefile.in        Thu May  3 21:36:57 2001
21 +++ aptitude-0.0.8.6-new/Makefile.in    Fri May 18 21:35:53 2001
22 @@ -1,4 +1,4 @@
23 -# Makefile.in generated automatically by automake 1.4 from Makefile.am
24 +# Makefile.in generated automatically by automake 1.4a from Makefile.am
25  
26  # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
27  # This Makefile.in is free software; the Free Software Foundation
28 @@ -44,9 +44,10 @@
29  AUTOHEADER = @AUTOHEADER@
30  
31  INSTALL = @INSTALL@
32 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
33 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
34  INSTALL_DATA = @INSTALL_DATA@
35  INSTALL_SCRIPT = @INSTALL_SCRIPT@
36 +INSTALL_STRIP_FLAG =
37  transform = @program_transform_name@
38  
39  NORMAL_INSTALL = :
40 @@ -104,14 +105,14 @@
41  
42  DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
43  
44 -TAR = tar
45 +TAR = gtar
46  GZIP_ENV = --best
47  all: all-redirect
48  .SUFFIXES:
49  $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
50 -       cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile
51 +       cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
52  
53 -Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
54 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
55         cd $(top_builddir) \
56           && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
57  
58 @@ -297,6 +298,11 @@
59         -rm -rf $(distdir)
60         mkdir $(distdir)
61         -chmod 777 $(distdir)
62 +       here=`cd $(top_builddir) && pwd`; \
63 +       top_distdir=`cd $(distdir) && pwd`; \
64 +       distdir=`cd $(distdir) && pwd`; \
65 +       cd $(top_srcdir) \
66 +         && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu Makefile
67         @for file in $(DISTFILES); do \
68           d=$(srcdir); \
69           if test -d $$d/$$file; then \
70 @@ -343,7 +349,7 @@
71  all-am: Makefile $(DATA) config.h
72  all-redirect: all-recursive-am
73  install-strip:
74 -       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
75 +       $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
76  installdirs: installdirs-recursive
77  installdirs-am:
78         $(mkinstalldirs)  $(DESTDIR)$(pkgdatadir)
79 @@ -397,11 +403,11 @@
80  
81  
82  install-data-local:
83 -       [ -d $(DESTDIR)/var/state/aptitude ] || mkdir $(DESTDIR)/var/state/aptitude
84 +       [ -d $(DESTDIR)/var/lib/aptitude ] || mkdir $(DESTDIR)/var/lib/aptitude
85         # FIXME: this really ought to use the autoconf directory variables
86  
87  uninstall-local:
88 -       rm -fr $(DESTDIR)/var/state/aptitude
89 +       rm -fr $(DESTDIR)/var/lib/aptitude
90         # Is -r a good idea here?
91  
92  dist-hook:
93 Only in aptitude-0.0.8.6-new/: Makefile.in~
94 diff -rud aptitude-0.0.8.6/README aptitude-0.0.8.6-new/README
95 --- aptitude-0.0.8.6/README     Thu May  3 21:23:09 2001
96 +++ aptitude-0.0.8.6-new/README Fri May 18 21:35:53 2001
97 @@ -654,7 +654,7 @@
98  Dir::Aptitude::state
99                          Aptitude now has some persistent state information;
100                         this directory holds that information.
101 -       default: /var/state/aptitude
102 +       default: /var/lib/aptitude
103  
104  Aptitude::Allow-ReInstall
105                          If this is set, you will be able to select
106 Only in aptitude-0.0.8.6-new/: README~
107 diff -rud aptitude-0.0.8.6/aclocal.m4 aptitude-0.0.8.6-new/aclocal.m4
108 --- aptitude-0.0.8.6/aclocal.m4 Thu May  3 21:29:30 2001
109 +++ aptitude-0.0.8.6-new/aclocal.m4     Fri May 18 21:35:53 2001
110 @@ -1,4 +1,4 @@
111 -dnl aclocal.m4 generated automatically by aclocal 1.4
112 +dnl aclocal.m4 generated automatically by aclocal 1.4a
113  
114  dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
115  dnl This file is free software; the Free Software Foundation
116 @@ -37,6 +37,8 @@
117  
118  AC_DEFUN(AM_INIT_AUTOMAKE,
119  [AC_REQUIRE([AC_PROG_INSTALL])
120 +dnl We require 2.13 because we rely on SHELL being computed by configure.
121 +AC_PREREQ([2.13])
122  PACKAGE=[$1]
123  AC_SUBST(PACKAGE)
124  VERSION=[$2]
125 @@ -381,8 +383,8 @@
126     AC_REQUIRE([AC_PROG_RANLIB])dnl
127     AC_REQUIRE([AC_ISC_POSIX])dnl
128     AC_REQUIRE([AC_HEADER_STDC])dnl
129 -   AC_REQUIRE([AC_C_CONST])dnl
130 -   AC_REQUIRE([AC_C_INLINE])dnl
131 +dnl   AC_REQUIRE([AC_C_CONST])dnl
132 +dnl   AC_REQUIRE([AC_C_INLINE])dnl
133     AC_REQUIRE([AC_TYPE_OFF_T])dnl
134     AC_REQUIRE([AC_TYPE_SIZE_T])dnl
135     AC_REQUIRE([AC_FUNC_ALLOCA])dnl
136 Only in aptitude-0.0.8.6-new/: aclocal.m4~
137 diff -rud aptitude-0.0.8.6/config.h.in aptitude-0.0.8.6-new/config.h.in
138 --- aptitude-0.0.8.6/config.h.in        Thu Apr 12 22:52:37 2001
139 +++ aptitude-0.0.8.6-new/config.h.in    Fri May 18 21:37:26 2001
140 @@ -3,9 +3,6 @@
141  /* Define if using alloca.c.  */
142  #undef C_ALLOCA
143  
144 -/* Define to empty if the keyword does not work.  */
145 -#undef const
146 -
147  /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
148     This function is required for alloca.c support on those systems.  */
149  #undef CRAY_STACKSEG_END
150 @@ -19,9 +16,6 @@
151  /* Define if you have a working `mmap' system call.  */
152  #undef HAVE_MMAP
153  
154 -/* Define as __inline if that's what the C compiler calls it.  */
155 -#undef inline
156 -
157  /* Define to `long' if <sys/types.h> doesn't define.  */
158  #undef off_t
159  
160 @@ -175,3 +169,8 @@
161  /* Define if the GNU gettext() function is already present or preinstalled. */
162  #undef HAVE_GETTEXT
163  
164 +/* Define if you have the popt library (-lpopt).  */
165 +#undef HAVE_LIBPOPT
166 +
167 +/* Define if you have the rpm library (-lrpm).  */
168 +#undef HAVE_LIBRPM
169 Only in aptitude-0.0.8.6-new/: config.h.in~
170 diff -rud aptitude-0.0.8.6/configure aptitude-0.0.8.6-new/configure
171 --- aptitude-0.0.8.6/configure  Thu May  3 21:29:30 2001
172 +++ aptitude-0.0.8.6-new/configure      Fri May 18 21:37:39 2001
173 @@ -695,6 +695,7 @@
174  fi
175  
176  
177 +
178  PACKAGE=aptitude
179  
180  VERSION=0.0.8.6
181 @@ -714,7 +715,7 @@
182  
183  missing_dir=`cd $ac_aux_dir && pwd`
184  echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
185 -echo "configure:718: checking for working aclocal" >&5
186 +echo "configure:719: checking for working aclocal" >&5
187  # Run test in a subshell; some versions of sh will print an error if
188  # an executable is not found, even if stderr is redirected.
189  # Redirect stdin to placate older versions of autoconf.  Sigh.
190 @@ -727,7 +728,7 @@
191  fi
192  
193  echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
194 -echo "configure:731: checking for working autoconf" >&5
195 +echo "configure:732: checking for working autoconf" >&5
196  # Run test in a subshell; some versions of sh will print an error if
197  # an executable is not found, even if stderr is redirected.
198  # Redirect stdin to placate older versions of autoconf.  Sigh.
199 @@ -740,7 +741,7 @@
200  fi
201  
202  echo $ac_n "checking for working automake""... $ac_c" 1>&6
203 -echo "configure:744: checking for working automake" >&5
204 +echo "configure:745: checking for working automake" >&5
205  # Run test in a subshell; some versions of sh will print an error if
206  # an executable is not found, even if stderr is redirected.
207  # Redirect stdin to placate older versions of autoconf.  Sigh.
208 @@ -753,7 +754,7 @@
209  fi
210  
211  echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
212 -echo "configure:757: checking for working autoheader" >&5
213 +echo "configure:758: checking for working autoheader" >&5
214  # Run test in a subshell; some versions of sh will print an error if
215  # an executable is not found, even if stderr is redirected.
216  # Redirect stdin to placate older versions of autoconf.  Sigh.
217 @@ -766,7 +767,7 @@
218  fi
219  
220  echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
221 -echo "configure:770: checking for working makeinfo" >&5
222 +echo "configure:771: checking for working makeinfo" >&5
223  # Run test in a subshell; some versions of sh will print an error if
224  # an executable is not found, even if stderr is redirected.
225  # Redirect stdin to placate older versions of autoconf.  Sigh.
226 @@ -796,7 +797,7 @@
227  # Extract the first word of "$ac_prog", so it can be a program name with args.
228  set dummy $ac_prog; ac_word=$2
229  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
230 -echo "configure:800: checking for $ac_word" >&5
231 +echo "configure:801: checking for $ac_word" >&5
232  if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
233    echo $ac_n "(cached) $ac_c" 1>&6
234  else
235 @@ -828,7 +829,7 @@
236  
237  
238  echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
239 -echo "configure:832: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
240 +echo "configure:833: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
241  
242  ac_ext=C
243  # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
244 @@ -839,12 +840,12 @@
245  
246  cat > conftest.$ac_ext << EOF
247  
248 -#line 843 "configure"
249 +#line 844 "configure"
250  #include "confdefs.h"
251  
252  int main(){return(0);}
253  EOF
254 -if { (eval echo configure:848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
255 +if { (eval echo configure:849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
256    ac_cv_prog_cxx_works=yes
257    # If we can't run a trivial program, we are probably using a cross compiler.
258    if (./conftest; exit) 2>/dev/null; then
259 @@ -870,12 +871,12 @@
260    { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
261  fi
262  echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
263 -echo "configure:874: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
264 +echo "configure:875: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
265  echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
266  cross_compiling=$ac_cv_prog_cxx_cross
267  
268  echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
269 -echo "configure:879: checking whether we are using GNU C++" >&5
270 +echo "configure:880: checking whether we are using GNU C++" >&5
271  if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
272    echo $ac_n "(cached) $ac_c" 1>&6
273  else
274 @@ -884,7 +885,7 @@
275    yes;
276  #endif
277  EOF
278 -if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
279 +if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
280    ac_cv_prog_gxx=yes
281  else
282    ac_cv_prog_gxx=no
283 @@ -903,7 +904,7 @@
284  ac_save_CXXFLAGS="$CXXFLAGS"
285  CXXFLAGS=
286  echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
287 -echo "configure:907: checking whether ${CXX-g++} accepts -g" >&5
288 +echo "configure:908: checking whether ${CXX-g++} accepts -g" >&5
289  if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
290    echo $ac_n "(cached) $ac_c" 1>&6
291  else
292 @@ -937,7 +938,7 @@
293  # Extract the first word of "ranlib", so it can be a program name with args.
294  set dummy ranlib; ac_word=$2
295  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
296 -echo "configure:941: checking for $ac_word" >&5
297 +echo "configure:942: checking for $ac_word" >&5
298  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
299    echo $ac_n "(cached) $ac_c" 1>&6
300  else
301 @@ -969,7 +970,7 @@
302  ac_cv_c_inline=yes
303  
304  echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6
305 -echo "configure:973: checking for initscr in -lcurses" >&5
306 +echo "configure:974: checking for initscr in -lcurses" >&5
307  ac_lib_var=`echo curses'_'initscr | sed 'y%./+-%__p_%'`
308  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
309    echo $ac_n "(cached) $ac_c" 1>&6
310 @@ -977,7 +978,7 @@
311    ac_save_LIBS="$LIBS"
312  LIBS="-lcurses  $LIBS"
313  cat > conftest.$ac_ext <<EOF
314 -#line 981 "configure"
315 +#line 982 "configure"
316  #include "confdefs.h"
317  /* Override any gcc2 internal prototype to avoid an error.  */
318  #ifdef __cplusplus
319 @@ -991,7 +992,7 @@
320  initscr()
321  ; return 0; }
322  EOF
323 -if { (eval echo configure:995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
324 +if { (eval echo configure:996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
325    rm -rf conftest*
326    eval "ac_cv_lib_$ac_lib_var=yes"
327  else
328 @@ -1018,8 +1019,110 @@
329    echo "$ac_t""no" 1>&6
330  fi
331  
332 +echo $ac_n "checking for poptGetArg in -lpopt""... $ac_c" 1>&6
333 +echo "configure:1024: checking for poptGetArg in -lpopt" >&5
334 +ac_lib_var=`echo popt'_'poptGetArg | sed 'y%./+-%__p_%'`
335 +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
336 +  echo $ac_n "(cached) $ac_c" 1>&6
337 +else
338 +  ac_save_LIBS="$LIBS"
339 +LIBS="-lpopt  $LIBS"
340 +cat > conftest.$ac_ext <<EOF
341 +#line 1032 "configure"
342 +#include "confdefs.h"
343 +/* Override any gcc2 internal prototype to avoid an error.  */
344 +#ifdef __cplusplus
345 +extern "C"
346 +#endif
347 +/* We use char because int might match the return type of a gcc2
348 +    builtin and then its argument prototype would still apply.  */
349 +char poptGetArg();
350 +
351 +int main() {
352 +poptGetArg()
353 +; return 0; }
354 +EOF
355 +if { (eval echo configure:1046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
356 +  rm -rf conftest*
357 +  eval "ac_cv_lib_$ac_lib_var=yes"
358 +else
359 +  echo "configure: failed program was:" >&5
360 +  cat conftest.$ac_ext >&5
361 +  rm -rf conftest*
362 +  eval "ac_cv_lib_$ac_lib_var=no"
363 +fi
364 +rm -f conftest*
365 +LIBS="$ac_save_LIBS"
366 +
367 +fi
368 +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
369 +  echo "$ac_t""yes" 1>&6
370 +    ac_tr_lib=HAVE_LIB`echo popt | sed -e 's/[^a-zA-Z0-9_]/_/g' \
371 +    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
372 +  cat >> confdefs.h <<EOF
373 +#define $ac_tr_lib 1
374 +EOF
375 +
376 +  LIBS="-lpopt $LIBS"
377 +
378 +else
379 +  echo "$ac_t""no" 1>&6
380 +{ echo "configure: error: Can't find the popt library -- please install popt-devel" 1>&2; exit 1; }
381 +fi
382 +
383 +echo $ac_n "checking for rpmdbOpen in -lrpm""... $ac_c" 1>&6
384 +echo "configure:1075: checking for rpmdbOpen in -lrpm" >&5
385 +ac_lib_var=`echo rpm'_'rpmdbOpen | sed 'y%./+-%__p_%'`
386 +if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
387 +  echo $ac_n "(cached) $ac_c" 1>&6
388 +else
389 +  ac_save_LIBS="$LIBS"
390 +LIBS="-lrpm  $LIBS"
391 +cat > conftest.$ac_ext <<EOF
392 +#line 1083 "configure"
393 +#include "confdefs.h"
394 +/* Override any gcc2 internal prototype to avoid an error.  */
395 +#ifdef __cplusplus
396 +extern "C"
397 +#endif
398 +/* We use char because int might match the return type of a gcc2
399 +    builtin and then its argument prototype would still apply.  */
400 +char rpmdbOpen();
401 +
402 +int main() {
403 +rpmdbOpen()
404 +; return 0; }
405 +EOF
406 +if { (eval echo configure:1097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
407 +  rm -rf conftest*
408 +  eval "ac_cv_lib_$ac_lib_var=yes"
409 +else
410 +  echo "configure: failed program was:" >&5
411 +  cat conftest.$ac_ext >&5
412 +  rm -rf conftest*
413 +  eval "ac_cv_lib_$ac_lib_var=no"
414 +fi
415 +rm -f conftest*
416 +LIBS="$ac_save_LIBS"
417 +
418 +fi
419 +if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
420 +  echo "$ac_t""yes" 1>&6
421 +    ac_tr_lib=HAVE_LIB`echo rpm | sed -e 's/[^a-zA-Z0-9_]/_/g' \
422 +    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
423 +  cat >> confdefs.h <<EOF
424 +#define $ac_tr_lib 1
425 +EOF
426 +
427 +  LIBS="-lrpm $LIBS"
428 +
429 +else
430 +  echo "$ac_t""no" 1>&6
431 +{ echo "configure: error: Can't find the RPM library -- please install rpm-devel" 1>&2; exit 1; }
432 +fi
433 +
434  echo $ac_n "checking for main in -lapt-pkg""... $ac_c" 1>&6
435 -echo "configure:1023: checking for main in -lapt-pkg" >&5
436 +echo "configure:1126: checking for main in -lapt-pkg" >&5
437  ac_lib_var=`echo apt-pkg'_'main | sed 'y%./+-%__p_%'`
438  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
439    echo $ac_n "(cached) $ac_c" 1>&6
440 @@ -1027,14 +1130,14 @@
441    ac_save_LIBS="$LIBS"
442  LIBS="-lapt-pkg  $LIBS"
443  cat > conftest.$ac_ext <<EOF
444 -#line 1031 "configure"
445 +#line 1134 "configure"
446  #include "confdefs.h"
447  
448  int main() {
449  main()
450  ; return 0; }
451  EOF
452 -if { (eval echo configure:1038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
453 +if { (eval echo configure:1141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
454    rm -rf conftest*
455    eval "ac_cv_lib_$ac_lib_var=yes"
456  else
457 @@ -1059,11 +1162,12 @@
458  
459  else
460    echo "$ac_t""no" 1>&6
461 -{ echo "configure: error: Can't find the APT libraries -- please install libapt-pkg-dev" 1>&2; exit 1; }
462 +{ echo "configure: error: Can't find the APT libraries -- please install libapt-pkg-devel" 1>&2; exit 1; }
463  fi
464  
465 +
466  echo $ac_n "checking for main in -lpthread""... $ac_c" 1>&6
467 -echo "configure:1067: checking for main in -lpthread" >&5
468 +echo "configure:1171: checking for main in -lpthread" >&5
469  ac_lib_var=`echo pthread'_'main | sed 'y%./+-%__p_%'`
470  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
471    echo $ac_n "(cached) $ac_c" 1>&6
472 @@ -1071,14 +1175,14 @@
473    ac_save_LIBS="$LIBS"
474  LIBS="-lpthread  $LIBS"
475  cat > conftest.$ac_ext <<EOF
476 -#line 1075 "configure"
477 +#line 1179 "configure"
478  #include "confdefs.h"
479  
480  int main() {
481  main()
482  ; return 0; }
483  EOF
484 -if { (eval echo configure:1082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
485 +if { (eval echo configure:1186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
486    rm -rf conftest*
487    eval "ac_cv_lib_$ac_lib_var=yes"
488  else
489 @@ -1102,7 +1206,7 @@
490  
491  
492  echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
493 -echo "configure:1106: checking how to run the C++ preprocessor" >&5
494 +echo "configure:1210: checking how to run the C++ preprocessor" >&5
495  if test -z "$CXXCPP"; then
496  if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
497    echo $ac_n "(cached) $ac_c" 1>&6
498 @@ -1115,12 +1219,12 @@
499  cross_compiling=$ac_cv_prog_cxx_cross
500    CXXCPP="${CXX-g++} -E"
501    cat > conftest.$ac_ext <<EOF
502 -#line 1119 "configure"
503 +#line 1223 "configure"
504  #include "confdefs.h"
505  #include <stdlib.h>
506  EOF
507  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
508 -{ (eval echo configure:1124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
509 +{ (eval echo configure:1228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
510  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
511  if test -z "$ac_err"; then
512    :
513 @@ -1145,12 +1249,12 @@
514  echo "$ac_t""$CXXCPP" 1>&6
515  
516  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
517 -echo "configure:1149: checking for ANSI C header files" >&5
518 +echo "configure:1253: checking for ANSI C header files" >&5
519  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
520    echo $ac_n "(cached) $ac_c" 1>&6
521  else
522    cat > conftest.$ac_ext <<EOF
523 -#line 1154 "configure"
524 +#line 1258 "configure"
525  #include "confdefs.h"
526  #include <stdlib.h>
527  #include <stdarg.h>
528 @@ -1158,7 +1262,7 @@
529  #include <float.h>
530  EOF
531  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
532 -{ (eval echo configure:1162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
533 +{ (eval echo configure:1266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
534  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
535  if test -z "$ac_err"; then
536    rm -rf conftest*
537 @@ -1175,7 +1279,7 @@
538  if test $ac_cv_header_stdc = yes; then
539    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
540  cat > conftest.$ac_ext <<EOF
541 -#line 1179 "configure"
542 +#line 1283 "configure"
543  #include "confdefs.h"
544  #include <string.h>
545  EOF
546 @@ -1193,7 +1297,7 @@
547  if test $ac_cv_header_stdc = yes; then
548    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
549  cat > conftest.$ac_ext <<EOF
550 -#line 1197 "configure"
551 +#line 1301 "configure"
552  #include "confdefs.h"
553  #include <stdlib.h>
554  EOF
555 @@ -1214,7 +1318,7 @@
556    :
557  else
558    cat > conftest.$ac_ext <<EOF
559 -#line 1218 "configure"
560 +#line 1322 "configure"
561  #include "confdefs.h"
562  #ifdef __cplusplus
563  extern "C" void exit(int);
564 @@ -1228,7 +1332,7 @@
565  exit (0); }
566  
567  EOF
568 -if { (eval echo configure:1232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
569 +if { (eval echo configure:1336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
570  then
571    :
572  else
573 @@ -1255,17 +1359,17 @@
574  do
575  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
576  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
577 -echo "configure:1259: checking for $ac_hdr" >&5
578 +echo "configure:1363: checking for $ac_hdr" >&5
579  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
580    echo $ac_n "(cached) $ac_c" 1>&6
581  else
582    cat > conftest.$ac_ext <<EOF
583 -#line 1264 "configure"
584 +#line 1368 "configure"
585  #include "confdefs.h"
586  #include <$ac_hdr>
587  EOF
588  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
589 -{ (eval echo configure:1269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
590 +{ (eval echo configure:1373: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
591  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
592  if test -z "$ac_err"; then
593    rm -rf conftest*
594 @@ -1294,17 +1398,17 @@
595  
596  ac_safe=`echo "apt-pkg/init.h" | sed 'y%./+-%__p_%'`
597  echo $ac_n "checking for apt-pkg/init.h""... $ac_c" 1>&6
598 -echo "configure:1298: checking for apt-pkg/init.h" >&5
599 +echo "configure:1402: checking for apt-pkg/init.h" >&5
600  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
601    echo $ac_n "(cached) $ac_c" 1>&6
602  else
603    cat > conftest.$ac_ext <<EOF
604 -#line 1303 "configure"
605 +#line 1407 "configure"
606  #include "confdefs.h"
607  #include <apt-pkg/init.h>
608  EOF
609  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
610 -{ (eval echo configure:1308: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
611 +{ (eval echo configure:1412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
612  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
613  if test -z "$ac_err"; then
614    rm -rf conftest*
615 @@ -1326,19 +1430,53 @@
616  { echo "configure: error: Can't find the APT header files -- please install libapt-pkg-dev" 1>&2; exit 1; }
617  fi
618  
619 +ac_safe=`echo "rpm/dbindex.h" | sed 'y%./+-%__p_%'`
620 +echo $ac_n "checking for rpm/dbindex.h""... $ac_c" 1>&6
621 +echo "configure:1436: checking for rpm/dbindex.h" >&5
622 +if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
623 +  echo $ac_n "(cached) $ac_c" 1>&6
624 +else
625 +  cat > conftest.$ac_ext <<EOF
626 +#line 1441 "configure"
627 +#include "confdefs.h"
628 +#include <rpm/dbindex.h>
629 +EOF
630 +ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
631 +{ (eval echo configure:1446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
632 +ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
633 +if test -z "$ac_err"; then
634 +  rm -rf conftest*
635 +  eval "ac_cv_header_$ac_safe=yes"
636 +else
637 +  echo "$ac_err" >&5
638 +  echo "configure: failed program was:" >&5
639 +  cat conftest.$ac_ext >&5
640 +  rm -rf conftest*
641 +  eval "ac_cv_header_$ac_safe=no"
642 +fi
643 +rm -f conftest*
644 +fi
645 +if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
646 +  echo "$ac_t""yes" 1>&6
647 +  CXXFLAGS="$CXXFLAGS -I/usr/include/rpm" 
648 +else
649 +  echo "$ac_t""no" 1>&6
650 +{ echo "configure: error: Can't find the RPM header files -- please install librpm-devel" 1>&2; exit 1; }
651 +fi
652 +
653  ac_safe=`echo "apt-pkg/policy.h" | sed 'y%./+-%__p_%'`
654  echo $ac_n "checking for apt-pkg/policy.h""... $ac_c" 1>&6
655 -echo "configure:1332: checking for apt-pkg/policy.h" >&5
656 +echo "configure:1470: checking for apt-pkg/policy.h" >&5
657  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
658    echo $ac_n "(cached) $ac_c" 1>&6
659  else
660    cat > conftest.$ac_ext <<EOF
661 -#line 1337 "configure"
662 +#line 1475 "configure"
663  #include "confdefs.h"
664  #include <apt-pkg/policy.h>
665  EOF
666  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
667 -{ (eval echo configure:1342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
668 +{ (eval echo configure:1480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
669  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
670  if test -z "$ac_err"; then
671    rm -rf conftest*
672 @@ -1366,17 +1504,17 @@
673  then
674    ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'`
675  echo $ac_n "checking for pthread.h""... $ac_c" 1>&6
676 -echo "configure:1370: checking for pthread.h" >&5
677 +echo "configure:1508: checking for pthread.h" >&5
678  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
679    echo $ac_n "(cached) $ac_c" 1>&6
680  else
681    cat > conftest.$ac_ext <<EOF
682 -#line 1375 "configure"
683 +#line 1513 "configure"
684  #include "confdefs.h"
685  #include <pthread.h>
686  EOF
687  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
688 -{ (eval echo configure:1380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
689 +{ (eval echo configure:1518: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
690  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
691  if test -z "$ac_err"; then
692    rm -rf conftest*
693 @@ -1410,7 +1548,7 @@
694  # Extract the first word of "gcc", so it can be a program name with args.
695  set dummy gcc; ac_word=$2
696  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
697 -echo "configure:1414: checking for $ac_word" >&5
698 +echo "configure:1552: checking for $ac_word" >&5
699  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
700    echo $ac_n "(cached) $ac_c" 1>&6
701  else
702 @@ -1440,7 +1578,7 @@
703    # Extract the first word of "cc", so it can be a program name with args.
704  set dummy cc; ac_word=$2
705  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
706 -echo "configure:1444: checking for $ac_word" >&5
707 +echo "configure:1582: checking for $ac_word" >&5
708  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
709    echo $ac_n "(cached) $ac_c" 1>&6
710  else
711 @@ -1491,7 +1629,7 @@
712        # Extract the first word of "cl", so it can be a program name with args.
713  set dummy cl; ac_word=$2
714  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
715 -echo "configure:1495: checking for $ac_word" >&5
716 +echo "configure:1633: checking for $ac_word" >&5
717  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
718    echo $ac_n "(cached) $ac_c" 1>&6
719  else
720 @@ -1523,7 +1661,7 @@
721  fi
722  
723  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
724 -echo "configure:1527: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
725 +echo "configure:1665: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
726  
727  ac_ext=c
728  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
729 @@ -1534,12 +1672,12 @@
730  
731  cat > conftest.$ac_ext << EOF
732  
733 -#line 1538 "configure"
734 +#line 1676 "configure"
735  #include "confdefs.h"
736  
737  main(){return(0);}
738  EOF
739 -if { (eval echo configure:1543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
740 +if { (eval echo configure:1681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
741    ac_cv_prog_cc_works=yes
742    # If we can't run a trivial program, we are probably using a cross compiler.
743    if (./conftest; exit) 2>/dev/null; then
744 @@ -1565,12 +1703,12 @@
745    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
746  fi
747  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
748 -echo "configure:1569: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
749 +echo "configure:1707: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
750  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
751  cross_compiling=$ac_cv_prog_cc_cross
752  
753  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
754 -echo "configure:1574: checking whether we are using GNU C" >&5
755 +echo "configure:1712: checking whether we are using GNU C" >&5
756  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
757    echo $ac_n "(cached) $ac_c" 1>&6
758  else
759 @@ -1579,7 +1717,7 @@
760    yes;
761  #endif
762  EOF
763 -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
764 +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
765    ac_cv_prog_gcc=yes
766  else
767    ac_cv_prog_gcc=no
768 @@ -1598,7 +1736,7 @@
769  ac_save_CFLAGS="$CFLAGS"
770  CFLAGS=
771  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
772 -echo "configure:1602: checking whether ${CC-cc} accepts -g" >&5
773 +echo "configure:1740: checking whether ${CC-cc} accepts -g" >&5
774  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
775    echo $ac_n "(cached) $ac_c" 1>&6
776  else
777 @@ -1636,7 +1774,7 @@
778  fi
779  
780  echo $ac_n "checking host system type""... $ac_c" 1>&6
781 -echo "configure:1640: checking host system type" >&5
782 +echo "configure:1778: checking host system type" >&5
783  
784  host_alias=$host
785  case "$host_alias" in
786 @@ -1658,7 +1796,7 @@
787  
788  
789          echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
790 -echo "configure:1662: checking for strerror in -lcposix" >&5
791 +echo "configure:1800: checking for strerror in -lcposix" >&5
792  ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
793  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
794    echo $ac_n "(cached) $ac_c" 1>&6
795 @@ -1666,7 +1804,7 @@
796    ac_save_LIBS="$LIBS"
797  LIBS="-lcposix  $LIBS"
798  cat > conftest.$ac_ext <<EOF
799 -#line 1670 "configure"
800 +#line 1808 "configure"
801  #include "confdefs.h"
802  /* Override any gcc2 internal prototype to avoid an error.  */
803  #ifdef __cplusplus
804 @@ -1680,7 +1818,7 @@
805  strerror()
806  ; return 0; }
807  EOF
808 -if { (eval echo configure:1684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
809 +if { (eval echo configure:1822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
810    rm -rf conftest*
811    eval "ac_cv_lib_$ac_lib_var=yes"
812  else
813 @@ -1702,128 +1840,13 @@
814  
815    
816  
817 -echo $ac_n "checking for working const""... $ac_c" 1>&6
818 -echo "configure:1707: checking for working const" >&5
819 -if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
820 -  echo $ac_n "(cached) $ac_c" 1>&6
821 -else
822 -  cat > conftest.$ac_ext <<EOF
823 -#line 1712 "configure"
824 -#include "confdefs.h"
825 -
826 -int main() {
827 -
828 -/* Ultrix mips cc rejects this.  */
829 -typedef int charset[2]; const charset x;
830 -/* SunOS 4.1.1 cc rejects this.  */
831 -char const *const *ccp;
832 -char **p;
833 -/* NEC SVR4.0.2 mips cc rejects this.  */
834 -struct point {int x, y;};
835 -static struct point const zero = {0,0};
836 -/* AIX XL C 1.02.0.0 rejects this.
837 -   It does not let you subtract one const X* pointer from another in an arm
838 -   of an if-expression whose if-part is not a constant expression */
839 -const char *g = "string";
840 -ccp = &g + (g ? g-g : 0);
841 -/* HPUX 7.0 cc rejects these. */
842 -++ccp;
843 -p = (char**) ccp;
844 -ccp = (char const *const *) p;
845 -{ /* SCO 3.2v4 cc rejects this.  */
846 -  char *t;
847 -  char const *s = 0 ? (char *) 0 : (char const *) 0;
848 -
849 -  *t++ = 0;
850 -}
851 -{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
852 -  int x[] = {25, 17};
853 -  const int *foo = &x[0];
854 -  ++foo;
855 -}
856 -{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
857 -  typedef const int *iptr;
858 -  iptr p = 0;
859 -  ++p;
860 -}
861 -{ /* AIX XL C 1.02.0.0 rejects this saying
862 -     "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
863 -  struct s { int j; const int *ap[3]; };
864 -  struct s *b; b->j = 5;
865 -}
866 -{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
867 -  const int foo = 10;
868 -}
869 -
870 -; return 0; }
871 -EOF
872 -if { (eval echo configure:1761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
873 -  rm -rf conftest*
874 -  ac_cv_c_const=yes
875 -else
876 -  echo "configure: failed program was:" >&5
877 -  cat conftest.$ac_ext >&5
878 -  rm -rf conftest*
879 -  ac_cv_c_const=no
880 -fi
881 -rm -f conftest*
882 -fi
883 -
884 -echo "$ac_t""$ac_cv_c_const" 1>&6
885 -if test $ac_cv_c_const = no; then
886 -  cat >> confdefs.h <<\EOF
887 -#define const 
888 -EOF
889 -
890 -fi
891 -
892 -echo $ac_n "checking for inline""... $ac_c" 1>&6
893 -echo "configure:1782: checking for inline" >&5
894 -if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
895 -  echo $ac_n "(cached) $ac_c" 1>&6
896 -else
897 -  ac_cv_c_inline=no
898 -for ac_kw in inline __inline__ __inline; do
899 -  cat > conftest.$ac_ext <<EOF
900 -#line 1789 "configure"
901 -#include "confdefs.h"
902 -
903 -int main() {
904 -} $ac_kw foo() {
905 -; return 0; }
906 -EOF
907 -if { (eval echo configure:1796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
908 -  rm -rf conftest*
909 -  ac_cv_c_inline=$ac_kw; break
910 -else
911 -  echo "configure: failed program was:" >&5
912 -  cat conftest.$ac_ext >&5
913 -fi
914 -rm -f conftest*
915 -done
916 -
917 -fi
918 -
919 -echo "$ac_t""$ac_cv_c_inline" 1>&6
920 -case "$ac_cv_c_inline" in
921 -  inline | yes) ;;
922 -  no) cat >> confdefs.h <<\EOF
923 -#define inline 
924 -EOF
925 - ;;
926 -  *)  cat >> confdefs.h <<EOF
927 -#define inline $ac_cv_c_inline
928 -EOF
929 - ;;
930 -esac
931 -
932  echo $ac_n "checking for off_t""... $ac_c" 1>&6
933 -echo "configure:1822: checking for off_t" >&5
934 +echo "configure:1845: checking for off_t" >&5
935  if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
936    echo $ac_n "(cached) $ac_c" 1>&6
937  else
938    cat > conftest.$ac_ext <<EOF
939 -#line 1827 "configure"
940 +#line 1850 "configure"
941  #include "confdefs.h"
942  #include <sys/types.h>
943  #if STDC_HEADERS
944 @@ -1851,12 +1874,12 @@
945  fi
946  
947  echo $ac_n "checking for size_t""... $ac_c" 1>&6
948 -echo "configure:1855: checking for size_t" >&5
949 +echo "configure:1878: checking for size_t" >&5
950  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
951    echo $ac_n "(cached) $ac_c" 1>&6
952  else
953    cat > conftest.$ac_ext <<EOF
954 -#line 1860 "configure"
955 +#line 1883 "configure"
956  #include "confdefs.h"
957  #include <sys/types.h>
958  #if STDC_HEADERS
959 @@ -1886,19 +1909,19 @@
960  # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
961  # for constant arguments.  Useless!
962  echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
963 -echo "configure:1890: checking for working alloca.h" >&5
964 +echo "configure:1913: checking for working alloca.h" >&5
965  if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
966    echo $ac_n "(cached) $ac_c" 1>&6
967  else
968    cat > conftest.$ac_ext <<EOF
969 -#line 1895 "configure"
970 +#line 1918 "configure"
971  #include "confdefs.h"
972  #include <alloca.h>
973  int main() {
974  char *p = alloca(2 * sizeof(int));
975  ; return 0; }
976  EOF
977 -if { (eval echo configure:1902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
978 +if { (eval echo configure:1925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
979    rm -rf conftest*
980    ac_cv_header_alloca_h=yes
981  else
982 @@ -1919,12 +1942,12 @@
983  fi
984  
985  echo $ac_n "checking for alloca""... $ac_c" 1>&6
986 -echo "configure:1923: checking for alloca" >&5
987 +echo "configure:1946: checking for alloca" >&5
988  if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
989    echo $ac_n "(cached) $ac_c" 1>&6
990  else
991    cat > conftest.$ac_ext <<EOF
992 -#line 1928 "configure"
993 +#line 1951 "configure"
994  #include "confdefs.h"
995  
996  #ifdef __GNUC__
997 @@ -1952,7 +1975,7 @@
998  char *p = (char *) alloca(1);
999  ; return 0; }
1000  EOF
1001 -if { (eval echo configure:1956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1002 +if { (eval echo configure:1979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1003    rm -rf conftest*
1004    ac_cv_func_alloca_works=yes
1005  else
1006 @@ -1984,12 +2007,12 @@
1007  
1008  
1009  echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
1010 -echo "configure:1988: checking whether alloca needs Cray hooks" >&5
1011 +echo "configure:2011: checking whether alloca needs Cray hooks" >&5
1012  if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
1013    echo $ac_n "(cached) $ac_c" 1>&6
1014  else
1015    cat > conftest.$ac_ext <<EOF
1016 -#line 1993 "configure"
1017 +#line 2016 "configure"
1018  #include "confdefs.h"
1019  #if defined(CRAY) && ! defined(CRAY2)
1020  webecray
1021 @@ -2014,12 +2037,12 @@
1022  if test $ac_cv_os_cray = yes; then
1023  for ac_func in _getb67 GETB67 getb67; do
1024    echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1025 -echo "configure:2018: checking for $ac_func" >&5
1026 +echo "configure:2041: checking for $ac_func" >&5
1027  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1028    echo $ac_n "(cached) $ac_c" 1>&6
1029  else
1030    cat > conftest.$ac_ext <<EOF
1031 -#line 2023 "configure"
1032 +#line 2046 "configure"
1033  #include "confdefs.h"
1034  /* System header to define __stub macros and hopefully few prototypes,
1035      which can conflict with char $ac_func(); below.  */
1036 @@ -2045,7 +2068,7 @@
1037  
1038  ; return 0; }
1039  EOF
1040 -if { (eval echo configure:2049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1041 +if { (eval echo configure:2072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1042    rm -rf conftest*
1043    eval "ac_cv_func_$ac_func=yes"
1044  else
1045 @@ -2072,7 +2095,7 @@
1046  fi
1047  
1048  echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
1049 -echo "configure:2076: checking stack direction for C alloca" >&5
1050 +echo "configure:2099: checking stack direction for C alloca" >&5
1051  if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
1052    echo $ac_n "(cached) $ac_c" 1>&6
1053  else
1054 @@ -2080,7 +2103,7 @@
1055    ac_cv_c_stack_direction=0
1056  else
1057    cat > conftest.$ac_ext <<EOF
1058 -#line 2084 "configure"
1059 +#line 2107 "configure"
1060  #include "confdefs.h"
1061  #ifdef __cplusplus
1062  extern "C" void exit(int);
1063 @@ -2102,7 +2125,7 @@
1064    exit (find_stack_direction() < 0);
1065  }
1066  EOF
1067 -if { (eval echo configure:2106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1068 +if { (eval echo configure:2129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1069  then
1070    ac_cv_c_stack_direction=1
1071  else
1072 @@ -2127,17 +2150,17 @@
1073  do
1074  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1075  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1076 -echo "configure:2131: checking for $ac_hdr" >&5
1077 +echo "configure:2154: checking for $ac_hdr" >&5
1078  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1079    echo $ac_n "(cached) $ac_c" 1>&6
1080  else
1081    cat > conftest.$ac_ext <<EOF
1082 -#line 2136 "configure"
1083 +#line 2159 "configure"
1084  #include "confdefs.h"
1085  #include <$ac_hdr>
1086  EOF
1087  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1088 -{ (eval echo configure:2141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1089 +{ (eval echo configure:2164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1090  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1091  if test -z "$ac_err"; then
1092    rm -rf conftest*
1093 @@ -2166,12 +2189,12 @@
1094  for ac_func in getpagesize
1095  do
1096  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1097 -echo "configure:2170: checking for $ac_func" >&5
1098 +echo "configure:2193: checking for $ac_func" >&5
1099  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1100    echo $ac_n "(cached) $ac_c" 1>&6
1101  else
1102    cat > conftest.$ac_ext <<EOF
1103 -#line 2175 "configure"
1104 +#line 2198 "configure"
1105  #include "confdefs.h"
1106  /* System header to define __stub macros and hopefully few prototypes,
1107      which can conflict with char $ac_func(); below.  */
1108 @@ -2197,7 +2220,7 @@
1109  
1110  ; return 0; }
1111  EOF
1112 -if { (eval echo configure:2201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1113 +if { (eval echo configure:2224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1114    rm -rf conftest*
1115    eval "ac_cv_func_$ac_func=yes"
1116  else
1117 @@ -2222,7 +2245,7 @@
1118  done
1119  
1120  echo $ac_n "checking for working mmap""... $ac_c" 1>&6
1121 -echo "configure:2226: checking for working mmap" >&5
1122 +echo "configure:2249: checking for working mmap" >&5
1123  if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
1124    echo $ac_n "(cached) $ac_c" 1>&6
1125  else
1126 @@ -2230,7 +2253,7 @@
1127    ac_cv_func_mmap_fixed_mapped=no
1128  else
1129    cat > conftest.$ac_ext <<EOF
1130 -#line 2234 "configure"
1131 +#line 2257 "configure"
1132  #include "confdefs.h"
1133  #ifdef __cplusplus
1134  extern "C" void exit(int);
1135 @@ -2373,7 +2396,7 @@
1136  }
1137  
1138  EOF
1139 -if { (eval echo configure:2377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1140 +if { (eval echo configure:2400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1141  then
1142    ac_cv_func_mmap_fixed_mapped=yes
1143  else
1144 @@ -2395,23 +2418,23 @@
1145  
1146  fi
1147  
1148 -                                 
1149 +                           
1150     for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
1151  stdlib.h string.h unistd.h sys/param.h
1152  do
1153  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1154  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1155 -echo "configure:2405: checking for $ac_hdr" >&5
1156 +echo "configure:2428: checking for $ac_hdr" >&5
1157  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1158    echo $ac_n "(cached) $ac_c" 1>&6
1159  else
1160    cat > conftest.$ac_ext <<EOF
1161 -#line 2410 "configure"
1162 +#line 2433 "configure"
1163  #include "confdefs.h"
1164  #include <$ac_hdr>
1165  EOF
1166  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1167 -{ (eval echo configure:2415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1168 +{ (eval echo configure:2438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1169  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1170  if test -z "$ac_err"; then
1171    rm -rf conftest*
1172 @@ -2442,12 +2465,12 @@
1173  __argz_count __argz_stringify __argz_next
1174  do
1175  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1176 -echo "configure:2446: checking for $ac_func" >&5
1177 +echo "configure:2469: checking for $ac_func" >&5
1178  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1179    echo $ac_n "(cached) $ac_c" 1>&6
1180  else
1181    cat > conftest.$ac_ext <<EOF
1182 -#line 2451 "configure"
1183 +#line 2474 "configure"
1184  #include "confdefs.h"
1185  /* System header to define __stub macros and hopefully few prototypes,
1186      which can conflict with char $ac_func(); below.  */
1187 @@ -2473,7 +2496,7 @@
1188  
1189  ; return 0; }
1190  EOF
1191 -if { (eval echo configure:2477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1192 +if { (eval echo configure:2500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1193    rm -rf conftest*
1194    eval "ac_cv_func_$ac_func=yes"
1195  else
1196 @@ -2500,7 +2523,7 @@
1197  
1198     
1199        echo $ac_n "checking for iconv""... $ac_c" 1>&6
1200 -echo "configure:2504: checking for iconv" >&5
1201 +echo "configure:2527: checking for iconv" >&5
1202  if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
1203    echo $ac_n "(cached) $ac_c" 1>&6
1204  else
1205 @@ -2508,7 +2531,7 @@
1206      am_cv_func_iconv="no, consider installing GNU libiconv"
1207      am_cv_lib_iconv=no
1208      cat > conftest.$ac_ext <<EOF
1209 -#line 2512 "configure"
1210 +#line 2535 "configure"
1211  #include "confdefs.h"
1212  #include <stdlib.h>
1213  #include <iconv.h>
1214 @@ -2518,7 +2541,7 @@
1215         iconv_close(cd);
1216  ; return 0; }
1217  EOF
1218 -if { (eval echo configure:2522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1219 +if { (eval echo configure:2545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1220    rm -rf conftest*
1221    am_cv_func_iconv=yes
1222  else
1223 @@ -2530,7 +2553,7 @@
1224        am_save_LIBS="$LIBS"
1225        LIBS="$LIBS -liconv"
1226        cat > conftest.$ac_ext <<EOF
1227 -#line 2534 "configure"
1228 +#line 2557 "configure"
1229  #include "confdefs.h"
1230  #include <stdlib.h>
1231  #include <iconv.h>
1232 @@ -2540,7 +2563,7 @@
1233           iconv_close(cd);
1234  ; return 0; }
1235  EOF
1236 -if { (eval echo configure:2544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1237 +if { (eval echo configure:2567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1238    rm -rf conftest*
1239    am_cv_lib_iconv=yes
1240          am_cv_func_iconv=yes
1241 @@ -2561,13 +2584,13 @@
1242  EOF
1243  
1244      echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6
1245 -echo "configure:2565: checking for iconv declaration" >&5
1246 +echo "configure:2588: checking for iconv declaration" >&5
1247      if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then
1248    echo $ac_n "(cached) $ac_c" 1>&6
1249  else
1250    
1251        cat > conftest.$ac_ext <<EOF
1252 -#line 2571 "configure"
1253 +#line 2594 "configure"
1254  #include "confdefs.h"
1255  
1256  #include <stdlib.h>
1257 @@ -2586,7 +2609,7 @@
1258  
1259  ; return 0; }
1260  EOF
1261 -if { (eval echo configure:2590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1262 +if { (eval echo configure:2613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1263    rm -rf conftest*
1264    am_cv_proto_iconv_arg1=""
1265  else
1266 @@ -2615,19 +2638,19 @@
1267  
1268     
1269    echo $ac_n "checking for nl_langinfo and CODESET""... $ac_c" 1>&6
1270 -echo "configure:2619: checking for nl_langinfo and CODESET" >&5
1271 +echo "configure:2642: checking for nl_langinfo and CODESET" >&5
1272  if eval "test \"`echo '$''{'am_cv_langinfo_codeset'+set}'`\" = set"; then
1273    echo $ac_n "(cached) $ac_c" 1>&6
1274  else
1275    cat > conftest.$ac_ext <<EOF
1276 -#line 2624 "configure"
1277 +#line 2647 "configure"
1278  #include "confdefs.h"
1279  #include <langinfo.h>
1280  int main() {
1281  char* cs = nl_langinfo(CODESET);
1282  ; return 0; }
1283  EOF
1284 -if { (eval echo configure:2631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1285 +if { (eval echo configure:2654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1286    rm -rf conftest*
1287    am_cv_langinfo_codeset=yes
1288  else
1289 @@ -2650,19 +2673,19 @@
1290  
1291     if test $ac_cv_header_locale_h = yes; then
1292      echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
1293 -echo "configure:2654: checking for LC_MESSAGES" >&5
1294 +echo "configure:2677: checking for LC_MESSAGES" >&5
1295  if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then
1296    echo $ac_n "(cached) $ac_c" 1>&6
1297  else
1298    cat > conftest.$ac_ext <<EOF
1299 -#line 2659 "configure"
1300 +#line 2682 "configure"
1301  #include "confdefs.h"
1302  #include <locale.h>
1303  int main() {
1304  return LC_MESSAGES
1305  ; return 0; }
1306  EOF
1307 -if { (eval echo configure:2666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1308 +if { (eval echo configure:2689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1309    rm -rf conftest*
1310    am_cv_val_LC_MESSAGES=yes
1311  else
1312 @@ -2683,7 +2706,7 @@
1313      fi
1314    fi
1315     echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6
1316 -echo "configure:2687: checking whether NLS is requested" >&5
1317 +echo "configure:2710: checking whether NLS is requested" >&5
1318          # Check whether --enable-nls or --disable-nls was given.
1319  if test "${enable_nls+set}" = set; then
1320    enableval="$enable_nls"
1321 @@ -2704,7 +2727,7 @@
1322  EOF
1323  
1324        echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6
1325 -echo "configure:2708: checking whether included gettext is requested" >&5
1326 +echo "configure:2731: checking whether included gettext is requested" >&5
1327        # Check whether --with-included-gettext or --without-included-gettext was given.
1328  if test "${with_included_gettext+set}" = set; then
1329    withval="$with_included_gettext"
1330 @@ -2724,17 +2747,17 @@
1331  
1332         ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'`
1333  echo $ac_n "checking for libintl.h""... $ac_c" 1>&6
1334 -echo "configure:2728: checking for libintl.h" >&5
1335 +echo "configure:2751: checking for libintl.h" >&5
1336  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1337    echo $ac_n "(cached) $ac_c" 1>&6
1338  else
1339    cat > conftest.$ac_ext <<EOF
1340 -#line 2733 "configure"
1341 +#line 2756 "configure"
1342  #include "confdefs.h"
1343  #include <libintl.h>
1344  EOF
1345  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1346 -{ (eval echo configure:2738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1347 +{ (eval echo configure:2761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1348  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1349  if test -z "$ac_err"; then
1350    rm -rf conftest*
1351 @@ -2751,12 +2774,12 @@
1352  if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1353    echo "$ac_t""yes" 1>&6
1354    echo $ac_n "checking for GNU gettext in libc""... $ac_c" 1>&6
1355 -echo "configure:2755: checking for GNU gettext in libc" >&5
1356 +echo "configure:2778: checking for GNU gettext in libc" >&5
1357  if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libc'+set}'`\" = set"; then
1358    echo $ac_n "(cached) $ac_c" 1>&6
1359  else
1360    cat > conftest.$ac_ext <<EOF
1361 -#line 2760 "configure"
1362 +#line 2783 "configure"
1363  #include "confdefs.h"
1364  #include <libintl.h>
1365  extern int _nl_msg_cat_cntr;
1366 @@ -2765,7 +2788,7 @@
1367  return (int) gettext ("") + _nl_msg_cat_cntr
1368  ; return 0; }
1369  EOF
1370 -if { (eval echo configure:2769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1371 +if { (eval echo configure:2792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1372    rm -rf conftest*
1373    gt_cv_func_gnugettext1_libc=yes
1374  else
1375 @@ -2781,14 +2804,14 @@
1376  
1377            if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
1378              echo $ac_n "checking for GNU gettext in libintl""... $ac_c" 1>&6
1379 -echo "configure:2785: checking for GNU gettext in libintl" >&5
1380 +echo "configure:2808: checking for GNU gettext in libintl" >&5
1381  if eval "test \"`echo '$''{'gt_cv_func_gnugettext1_libintl'+set}'`\" = set"; then
1382    echo $ac_n "(cached) $ac_c" 1>&6
1383  else
1384    gt_save_LIBS="$LIBS"
1385                 LIBS="$LIBS -lintl"
1386                 cat > conftest.$ac_ext <<EOF
1387 -#line 2792 "configure"
1388 +#line 2815 "configure"
1389  #include "confdefs.h"
1390  #include <libintl.h>
1391  extern int _nl_msg_cat_cntr;
1392 @@ -2797,7 +2820,7 @@
1393  return (int) gettext ("") + _nl_msg_cat_cntr
1394  ; return 0; }
1395  EOF
1396 -if { (eval echo configure:2801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1397 +if { (eval echo configure:2824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1398    rm -rf conftest*
1399    gt_cv_func_gnugettext1_libintl=yes
1400  else
1401 @@ -2822,12 +2845,12 @@
1402              for ac_func in dcgettext
1403  do
1404  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1405 -echo "configure:2826: checking for $ac_func" >&5
1406 +echo "configure:2849: checking for $ac_func" >&5
1407  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1408    echo $ac_n "(cached) $ac_c" 1>&6
1409  else
1410    cat > conftest.$ac_ext <<EOF
1411 -#line 2831 "configure"
1412 +#line 2854 "configure"
1413  #include "confdefs.h"
1414  /* System header to define __stub macros and hopefully few prototypes,
1415      which can conflict with char $ac_func(); below.  */
1416 @@ -2853,7 +2876,7 @@
1417  
1418  ; return 0; }
1419  EOF
1420 -if { (eval echo configure:2857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1421 +if { (eval echo configure:2880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1422    rm -rf conftest*
1423    eval "ac_cv_func_$ac_func=yes"
1424  else
1425 @@ -2880,7 +2903,7 @@
1426              # Extract the first word of "msgfmt", so it can be a program name with args.
1427  set dummy msgfmt; ac_word=$2
1428  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1429 -echo "configure:2884: checking for $ac_word" >&5
1430 +echo "configure:2907: checking for $ac_word" >&5
1431  if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
1432    echo $ac_n "(cached) $ac_c" 1>&6
1433  else
1434 @@ -2914,7 +2937,7 @@
1435                # Extract the first word of "gmsgfmt", so it can be a program name with args.
1436  set dummy gmsgfmt; ac_word=$2
1437  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1438 -echo "configure:2918: checking for $ac_word" >&5
1439 +echo "configure:2941: checking for $ac_word" >&5
1440  if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
1441    echo $ac_n "(cached) $ac_c" 1>&6
1442  else
1443 @@ -2951,7 +2974,7 @@
1444              # Extract the first word of "xgettext", so it can be a program name with args.
1445  set dummy xgettext; ac_word=$2
1446  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1447 -echo "configure:2955: checking for $ac_word" >&5
1448 +echo "configure:2978: checking for $ac_word" >&5
1449  if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
1450    echo $ac_n "(cached) $ac_c" 1>&6
1451  else
1452 @@ -3003,7 +3026,7 @@
1453          # Extract the first word of "msgfmt", so it can be a program name with args.
1454  set dummy msgfmt; ac_word=$2
1455  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1456 -echo "configure:3007: checking for $ac_word" >&5
1457 +echo "configure:3030: checking for $ac_word" >&5
1458  if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then
1459    echo $ac_n "(cached) $ac_c" 1>&6
1460  else
1461 @@ -3037,7 +3060,7 @@
1462          # Extract the first word of "gmsgfmt", so it can be a program name with args.
1463  set dummy gmsgfmt; ac_word=$2
1464  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1465 -echo "configure:3041: checking for $ac_word" >&5
1466 +echo "configure:3064: checking for $ac_word" >&5
1467  if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then
1468    echo $ac_n "(cached) $ac_c" 1>&6
1469  else
1470 @@ -3073,7 +3096,7 @@
1471          # Extract the first word of "xgettext", so it can be a program name with args.
1472  set dummy xgettext; ac_word=$2
1473  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1474 -echo "configure:3077: checking for $ac_word" >&5
1475 +echo "configure:3100: checking for $ac_word" >&5
1476  if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then
1477    echo $ac_n "(cached) $ac_c" 1>&6
1478  else
1479 @@ -3139,7 +3162,7 @@
1480  # Extract the first word of "$ac_prog", so it can be a program name with args.
1481  set dummy $ac_prog; ac_word=$2
1482  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1483 -echo "configure:3143: checking for $ac_word" >&5
1484 +echo "configure:3166: checking for $ac_word" >&5
1485  if eval "test \"`echo '$''{'ac_cv_prog_INTLBISON'+set}'`\" = set"; then
1486    echo $ac_n "(cached) $ac_c" 1>&6
1487  else
1488 @@ -3172,7 +3195,7 @@
1489        ac_verc_fail=yes
1490      else
1491              echo $ac_n "checking version of bison""... $ac_c" 1>&6
1492 -echo "configure:3176: checking version of bison" >&5
1493 +echo "configure:3199: checking version of bison" >&5
1494        ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'`
1495        case $ac_prog_version in
1496          '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
1497 @@ -3213,7 +3236,7 @@
1498         LINGUAS=
1499       else
1500         echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6
1501 -echo "configure:3217: checking for catalogs to be installed" >&5
1502 +echo "configure:3240: checking for catalogs to be installed" >&5
1503         NEW_LINGUAS=
1504         for presentlang in $ALL_LINGUAS; do
1505           useit=no
1506 @@ -3284,12 +3307,12 @@
1507  
1508  
1509  echo $ac_n "checking for size_t""... $ac_c" 1>&6
1510 -echo "configure:3288: checking for size_t" >&5
1511 +echo "configure:3311: checking for size_t" >&5
1512  if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
1513    echo $ac_n "(cached) $ac_c" 1>&6
1514  else
1515    cat > conftest.$ac_ext <<EOF
1516 -#line 3293 "configure"
1517 +#line 3316 "configure"
1518  #include "confdefs.h"
1519  #include <sys/types.h>
1520  #if STDC_HEADERS
1521 @@ -3320,12 +3343,12 @@
1522  for ac_func in strdup
1523  do
1524  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1525 -echo "configure:3324: checking for $ac_func" >&5
1526 +echo "configure:3347: checking for $ac_func" >&5
1527  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1528    echo $ac_n "(cached) $ac_c" 1>&6
1529  else
1530    cat > conftest.$ac_ext <<EOF
1531 -#line 3329 "configure"
1532 +#line 3352 "configure"
1533  #include "confdefs.h"
1534  /* System header to define __stub macros and hopefully few prototypes,
1535      which can conflict with char $ac_func(); below.  */
1536 @@ -3351,7 +3374,7 @@
1537  
1538  ; return 0; }
1539  EOF
1540 -if { (eval echo configure:3355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1541 +if { (eval echo configure:3378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1542    rm -rf conftest*
1543    eval "ac_cv_func_$ac_func=yes"
1544  else
1545 diff -rud aptitude-0.0.8.6/configure.in aptitude-0.0.8.6-new/configure.in
1546 --- aptitude-0.0.8.6/configure.in       Thu May  3 21:29:25 2001
1547 +++ aptitude-0.0.8.6-new/configure.in   Fri May 18 21:35:54 2001
1548 @@ -16,7 +16,10 @@
1549  
1550  dnl Checks for libraries.
1551  AC_CHECK_LIB(curses, initscr)
1552 -AC_CHECK_LIB(apt-pkg, main, , AC_MSG_ERROR([Can't find the APT libraries -- please install libapt-pkg-dev]))
1553 +AC_CHECK_LIB(popt, poptGetArg, , AC_MSG_ERROR([Can't find the popt library -- please install popt-devel]))
1554 +AC_CHECK_LIB(rpm, rpmdbOpen, , AC_MSG_ERROR([Can't find the RPM library -- please install rpm-devel]))
1555 +AC_CHECK_LIB(apt-pkg, main, , AC_MSG_ERROR([Can't find the APT libraries -- please install libapt-pkg-devel]))
1556 +
1557  AC_CHECK_LIB(pthread, main,
1558         HAVE_LIBPTHREAD=1
1559         , AC_MSG_WARN([Can't find the POSIX thread libraries -- configuring without threads]))
1560 @@ -25,6 +28,7 @@
1561  AC_HEADER_STDC
1562  AC_CHECK_HEADERS(fcntl.h sys/ioctl.h unistd.h, , AC_MSG_ERROR([Can't find needed header file.]))
1563  AC_CHECK_HEADER(apt-pkg/init.h, , AC_MSG_ERROR([Can't find the APT header files -- please install libapt-pkg-dev]))
1564 +AC_CHECK_HEADER(rpm/dbindex.h, CXXFLAGS="$CXXFLAGS -I/usr/include/rpm" , AC_MSG_ERROR([Can't find the RPM header files -- please install librpm-devel]))
1565  AC_CHECK_HEADER(apt-pkg/policy.h, AC_DEFINE(HAVE_LIBAPT_PKG3))
1566  if test x$HAVE_LIBPTHREAD = x1
1567  then
1568 diff -rud aptitude-0.0.8.6/po/es_ES.po aptitude-0.0.8.6-new/po/es_ES.po
1569 --- aptitude-0.0.8.6/po/es_ES.po        Thu May  3 21:37:01 2001
1570 +++ aptitude-0.0.8.6-new/po/es_ES.po    Fri May 18 21:35:54 2001
1571 @@ -469,12 +469,12 @@
1572  #: src/download.cc:297
1573  msgid ""
1574  "IMPORTANT: this log only lists intended actions; actions which fail due to\n"
1575 -"dpkg problems may not be completed.\n"
1576 +"rpm problems may not be completed.\n"
1577  "\n"
1578  msgstr ""
1579  "IMPORTANTE: este log sólo muestra pretensión de las acciones; las acciones "
1580  "fallidas\n"
1581 -"debidas a problemas dpkg no se completarán.\n"
1582 +"debidas a problemas rpm no se completarán.\n"
1583  "\n"
1584  
1585  #: src/download.cc:298
1586 Only in aptitude-0.0.8.6-new/po: es_ES.po~
1587 diff -rud aptitude-0.0.8.6/po/pt_BR.po aptitude-0.0.8.6-new/po/pt_BR.po
1588 --- aptitude-0.0.8.6/po/pt_BR.po        Thu May  3 21:37:01 2001
1589 +++ aptitude-0.0.8.6-new/po/pt_BR.po    Fri May 18 21:35:54 2001
1590 @@ -470,11 +470,11 @@
1591  #: src/download.cc:297
1592  msgid ""
1593  "IMPORTANT: this log only lists intended actions; actions which fail due to\n"
1594 -"dpkg problems may not be completed.\n"
1595 +"rpm problems may not be completed.\n"
1596  "\n"
1597  msgstr ""
1598  "IMPORTANTE: este registro lista somente as ações pretendidas; ações que\n"
1599 -"falharem devido a problemas de dpkg poderão não ser completadas.\n"
1600 +"falharem devido a problemas de rpm poderão não ser completadas.\n"
1601  "\n"
1602  
1603  #: src/download.cc:298
1604 Only in aptitude-0.0.8.6-new/po: pt_BR.po~
1605 diff -rud aptitude-0.0.8.6/src/Makefile.am aptitude-0.0.8.6-new/src/Makefile.am
1606 --- aptitude-0.0.8.6/src/Makefile.am    Sat Sep 23 10:33:22 2000
1607 +++ aptitude-0.0.8.6-new/src/Makefile.am        Fri May 18 21:35:54 2001
1608 @@ -3,7 +3,7 @@
1609  SUBDIRS=generic vscreen
1610  
1611  localedir = $(datadir)/locale
1612 -INCLUDES = -Wall -Werror -I.. -I$(srcdir) -I$(top_srcdir)/lib -I../intl
1613 +INCLUDES = -Wall -I.. -I$(srcdir) -I$(top_srcdir)/lib -I../intl #-Werror
1614  DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
1615  
1616  bin_PROGRAMS=aptitude
1617 diff -rud aptitude-0.0.8.6/src/Makefile.in aptitude-0.0.8.6-new/src/Makefile.in
1618 --- aptitude-0.0.8.6/src/Makefile.in    Thu May  3 21:36:58 2001
1619 +++ aptitude-0.0.8.6-new/src/Makefile.in        Fri May 18 21:35:54 2001
1620 @@ -1,4 +1,4 @@
1621 -# Makefile.in generated automatically by automake 1.4 from Makefile.am
1622 +# Makefile.in generated automatically by automake 1.4a from Makefile.am
1623  
1624  # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
1625  # This Makefile.in is free software; the Free Software Foundation
1626 @@ -46,9 +46,10 @@
1627  AUTOHEADER = @AUTOHEADER@
1628  
1629  INSTALL = @INSTALL@
1630 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
1631 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
1632  INSTALL_DATA = @INSTALL_DATA@
1633  INSTALL_SCRIPT = @INSTALL_SCRIPT@
1634 +INSTALL_STRIP_FLAG =
1635  transform = @program_transform_name@
1636  
1637  NORMAL_INSTALL = :
1638 @@ -88,7 +89,7 @@
1639  SUBDIRS = generic vscreen
1640  
1641  localedir = $(datadir)/locale
1642 -INCLUDES = -Wall -Werror -I.. -I$(srcdir) -I$(top_srcdir)/lib -I../intl
1643 +INCLUDES = -Wall -I.. -I$(srcdir) -I$(top_srcdir)/lib -I../intl #-Werror
1644  DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
1645  
1646  bin_PROGRAMS = aptitude
1647 @@ -127,8 +128,16 @@
1648  
1649  DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
1650  
1651 -TAR = tar
1652 +TAR = gtar
1653  GZIP_ENV = --best
1654 +DEP_FILES =  .deps/apt_info_tree.P .deps/apt_tree.P .deps/defaults.P \
1655 +.deps/dep_item.P .deps/download.P .deps/download_bar.P \
1656 +.deps/download_item.P .deps/download_screen.P .deps/load_config.P \
1657 +.deps/main.P .deps/pkg_action_tree.P .deps/pkg_columnizer.P \
1658 +.deps/pkg_description_treeitem.P .deps/pkg_grouppolicy.P \
1659 +.deps/pkg_info_screen.P .deps/pkg_item.P .deps/pkg_node.P \
1660 +.deps/pkg_subtree.P .deps/pkg_tree.P .deps/pkg_ver_item.P \
1661 +.deps/vs_progress.P
1662  SOURCES = $(aptitude_SOURCES)
1663  OBJECTS = $(aptitude_OBJECTS)
1664  
1665 @@ -136,9 +145,9 @@
1666  .SUFFIXES:
1667  .SUFFIXES: .S .c .cc .o .s
1668  $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
1669 -       cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile
1670 +       cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile
1671  
1672 -Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
1673 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
1674         cd $(top_builddir) \
1675           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
1676  
1677 @@ -157,8 +166,8 @@
1678         $(mkinstalldirs) $(DESTDIR)$(bindir)
1679         @list='$(bin_PROGRAMS)'; for p in $$list; do \
1680           if test -f $$p; then \
1681 -           echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
1682 -            $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
1683 +           echo "  $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
1684 +            $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
1685           else :; fi; \
1686         done
1687  
1688 @@ -168,9 +177,6 @@
1689           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
1690         done
1691  
1692 -.c.o:
1693 -       $(COMPILE) -c $<
1694 -
1695  .s.o:
1696         $(COMPILE) -c $<
1697  
1698 @@ -287,6 +293,11 @@
1699  subdir = src
1700  
1701  distdir: $(DISTFILES)
1702 +       here=`cd $(top_builddir) && pwd`; \
1703 +       top_distdir=`cd $(top_distdir) && pwd`; \
1704 +       distdir=`cd $(distdir) && pwd`; \
1705 +       cd $(top_srcdir) \
1706 +         && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile
1707         @for file in $(DISTFILES); do \
1708           d=$(srcdir); \
1709           if test -d $$d/$$file; then \
1710 @@ -307,166 +318,57 @@
1711               || exit 1; \
1712           fi; \
1713         done
1714 -apt_info_tree.o: apt_info_tree.cc apt_info_tree.h apt_tree.h \
1715 -       vscreen/vs_tree.h vscreen/vs_minibuf_win.h vscreen/vscreen.h \
1716 -       vscreen/curses++.h vscreen/config/colors.h \
1717 -       vscreen/vs_treeitem.h generic/apt.h generic/aptcache.h \
1718 -       ../config.h
1719 -apt_tree.o: apt_tree.cc ../config.h aptitude.h apt_tree.h \
1720 -       vscreen/vs_tree.h vscreen/vs_minibuf_win.h vscreen/vscreen.h \
1721 -       vscreen/curses++.h vscreen/config/colors.h \
1722 -       vscreen/vs_treeitem.h generic/apt.h generic/aptcache.h \
1723 -       generic/undo.h vscreen/vs_pager.h vscreen/vs_statusedit.h \
1724 -       vscreen/vs_statuschoice.h vscreen/config/keybindings.h \
1725 -       vscreen/config/../../strhash.h vscreen/config/../curses++.h \
1726 -       vs_progress.h pkg_action_tree.h pkg_tree.h generic/matchers.h \
1727 -       pkg_item.h pkg_node.h pkg_columnizer.h \
1728 -       vscreen/config/column_definition.h \
1729 -       vscreen/config/../columnify.h pkg_grouppolicy.h download.h
1730 -defaults.o: defaults.cc vscreen/config/keybindings.h \
1731 -       vscreen/config/../../strhash.h vscreen/config/../curses++.h \
1732 -       vscreen/config/colors.h apt_tree.h vscreen/vs_tree.h \
1733 -       vscreen/vs_minibuf_win.h vscreen/vscreen.h vscreen/curses++.h \
1734 -       vscreen/vs_treeitem.h pkg_action_tree.h pkg_tree.h \
1735 -       generic/matchers.h pkg_node.h generic/undo.h
1736 -dep_item.o: dep_item.cc aptitude.h ../config.h dep_item.h \
1737 -       vscreen/vs_subtree.h vscreen/vs_treeitem.h vscreen/curses++.h \
1738 -       vscreen/config/colors.h vscreen/vs_minibuf_win.h \
1739 -       vscreen/vscreen.h vscreen/config/keybindings.h \
1740 -       vscreen/config/../../strhash.h vscreen/config/../curses++.h \
1741 -       vscreen/vs_tree.h apt_info_tree.h apt_tree.h pkg_grouppolicy.h \
1742 -       pkg_item.h pkg_node.h generic/undo.h pkg_subtree.h \
1743 -       pkg_item_with_subtree.h pkg_columnizer.h \
1744 -       vscreen/config/column_definition.h \
1745 -       vscreen/config/../columnify.h vscreen/columnify.h \
1746 -       pkg_grouppolicy_hash.h strhash.h pkg_ver_item.h generic/apt.h \
1747 -       generic/aptcache.h
1748 -download.o: download.cc aptitude.h ../config.h generic/apt.h \
1749 -       generic/aptcache.h download_screen.h vscreen/vs_tree.h \
1750 -       vscreen/vs_minibuf_win.h vscreen/vscreen.h vscreen/curses++.h \
1751 -       vscreen/config/colors.h vscreen/vs_treeitem.h \
1752 -       vscreen/vs_subtree.h vscreen/config/keybindings.h \
1753 -       vscreen/config/../../strhash.h vscreen/config/../curses++.h \
1754 -       download_bar.h
1755 -download_bar.o: download_bar.cc aptitude.h ../config.h download_bar.h \
1756 -       vscreen/vs_minibuf_win.h vscreen/vscreen.h vscreen/curses++.h \
1757 -       vscreen/config/colors.h vscreen/config/keybindings.h \
1758 -       vscreen/config/../../strhash.h vscreen/config/../curses++.h
1759 -download_item.o: download_item.cc aptitude.h ../config.h download_item.h \
1760 -       vscreen/vs_treeitem.h vscreen/curses++.h \
1761 -       vscreen/config/colors.h vscreen/vs_minibuf_win.h \
1762 -       vscreen/vscreen.h vscreen/vs_tree.h
1763 -download_screen.o: download_screen.cc aptitude.h ../config.h \
1764 -       download_screen.h vscreen/vs_tree.h vscreen/vs_minibuf_win.h \
1765 -       vscreen/vscreen.h vscreen/curses++.h vscreen/config/colors.h \
1766 -       vscreen/vs_treeitem.h vscreen/vs_subtree.h \
1767 -       vscreen/config/keybindings.h vscreen/config/../../strhash.h \
1768 -       vscreen/config/../curses++.h download_item.h
1769 -load_config.o: load_config.cc aptitude.h ../config.h \
1770 -       vscreen/config/colors.h vscreen/config/keybindings.h \
1771 -       vscreen/config/../../strhash.h vscreen/config/../curses++.h
1772 -main.o: main.cc aptitude.h ../config.h vscreen/curses++.h \
1773 -       vscreen/vscreen.h vscreen/vs_tree.h vscreen/vs_minibuf_win.h \
1774 -       vscreen/config/colors.h vscreen/vs_treeitem.h \
1775 -       vscreen/vs_pager.h vscreen/vs_statuschoice.h \
1776 -       vscreen/vs_statusedit.h vs_progress.h pkg_node.h generic/undo.h \
1777 -       pkg_action_tree.h pkg_tree.h apt_tree.h generic/matchers.h \
1778 -       pkg_grouppolicy.h generic/apt.h generic/aptcache.h \
1779 -       load_config.h vscreen/config/keybindings.h \
1780 -       vscreen/config/../../strhash.h vscreen/config/../curses++.h \
1781 -       defaults.h
1782 -pkg_action_tree.o: pkg_action_tree.cc aptitude.h ../config.h \
1783 -       pkg_action_tree.h pkg_tree.h apt_tree.h vscreen/vs_tree.h \
1784 -       vscreen/vs_minibuf_win.h vscreen/vscreen.h vscreen/curses++.h \
1785 -       vscreen/config/colors.h vscreen/vs_treeitem.h \
1786 -       generic/matchers.h generic/apt.h generic/aptcache.h \
1787 -       generic/undo.h vscreen/config/keybindings.h \
1788 -       vscreen/config/../../strhash.h vscreen/config/../curses++.h
1789 -pkg_columnizer.o: pkg_columnizer.cc aptitude.h ../config.h \
1790 -       pkg_columnizer.h pkg_item.h pkg_node.h vscreen/vs_treeitem.h \
1791 -       vscreen/curses++.h vscreen/config/colors.h \
1792 -       vscreen/vs_minibuf_win.h vscreen/vscreen.h generic/undo.h \
1793 -       vscreen/config/column_definition.h \
1794 -       vscreen/config/../columnify.h generic/apt.h generic/aptcache.h
1795 -pkg_description_treeitem.o: pkg_description_treeitem.cc aptitude.h \
1796 -       ../config.h pkg_description_treeitem.h vscreen/vs_treeitem.h \
1797 -       vscreen/curses++.h vscreen/config/colors.h \
1798 -       vscreen/vs_minibuf_win.h vscreen/vscreen.h apt_info_tree.h \
1799 -       apt_tree.h vscreen/vs_tree.h pkg_grouppolicy.h generic/apt.h \
1800 -       generic/aptcache.h
1801 -pkg_grouppolicy.o: pkg_grouppolicy.cc aptitude.h ../config.h \
1802 -       pkg_grouppolicy.h pkg_item.h pkg_node.h vscreen/vs_treeitem.h \
1803 -       vscreen/curses++.h vscreen/config/colors.h \
1804 -       vscreen/vs_minibuf_win.h vscreen/vscreen.h generic/undo.h \
1805 -       pkg_subtree.h vscreen/vs_subtree.h vscreen/config/keybindings.h \
1806 -       vscreen/config/../../strhash.h vscreen/config/../curses++.h \
1807 -       vscreen/vs_tree.h generic/apt.h generic/aptcache.h
1808 -pkg_info_screen.o: pkg_info_screen.cc aptitude.h ../config.h \
1809 -       pkg_info_screen.h pkg_grouppolicy.h apt_info_tree.h apt_tree.h \
1810 -       vscreen/vs_tree.h vscreen/vs_minibuf_win.h vscreen/vscreen.h \
1811 -       vscreen/curses++.h vscreen/config/colors.h \
1812 -       vscreen/vs_treeitem.h vscreen/vs_staticitem.h pkg_subtree.h \
1813 -       vscreen/vs_subtree.h vscreen/config/keybindings.h \
1814 -       vscreen/config/../../strhash.h vscreen/config/../curses++.h \
1815 -       pkg_node.h generic/undo.h pkg_item_with_subtree.h pkg_item.h \
1816 -       pkg_columnizer.h vscreen/config/column_definition.h \
1817 -       vscreen/config/../columnify.h vscreen/columnify.h dep_item.h \
1818 -       pkg_ver_item.h pkg_description_treeitem.h generic/apt.h \
1819 -       generic/aptcache.h
1820 -pkg_item.o: pkg_item.cc aptitude.h ../config.h vscreen/vs_pager.h \
1821 -       vscreen/vs_minibuf_win.h vscreen/vscreen.h vscreen/curses++.h \
1822 -       vscreen/config/colors.h vscreen/config/column_definition.h \
1823 -       vscreen/config/../columnify.h dep_item.h vscreen/vs_subtree.h \
1824 -       vscreen/vs_treeitem.h vscreen/config/keybindings.h \
1825 -       vscreen/config/../../strhash.h vscreen/config/../curses++.h \
1826 -       vscreen/vs_tree.h apt_info_tree.h apt_tree.h pkg_grouppolicy.h \
1827 -       pkg_item.h pkg_node.h generic/undo.h pkg_subtree.h \
1828 -       pkg_item_with_subtree.h pkg_columnizer.h vscreen/columnify.h \
1829 -       download.h pkg_action_tree.h pkg_tree.h generic/matchers.h \
1830 -       pkg_description_treeitem.h pkg_info_screen.h pkg_ver_item.h \
1831 -       download_bar.h generic/pkg_changelog.h generic/apt.h \
1832 -       generic/aptcache.h
1833 -pkg_node.o: pkg_node.cc vscreen/config/keybindings.h \
1834 -       vscreen/config/../../strhash.h vscreen/config/../curses++.h \
1835 -       pkg_node.h vscreen/vs_treeitem.h vscreen/curses++.h \
1836 -       vscreen/config/colors.h vscreen/vs_minibuf_win.h \
1837 -       vscreen/vscreen.h generic/undo.h generic/apt.h \
1838 -       generic/aptcache.h ../config.h vscreen/vs_tree.h
1839 -pkg_subtree.o: pkg_subtree.cc pkg_subtree.h vscreen/vs_subtree.h \
1840 -       vscreen/vs_treeitem.h vscreen/curses++.h \
1841 -       vscreen/config/colors.h vscreen/vs_minibuf_win.h \
1842 -       vscreen/vscreen.h vscreen/config/keybindings.h \
1843 -       vscreen/config/../../strhash.h vscreen/config/../curses++.h \
1844 -       vscreen/vs_tree.h pkg_node.h generic/undo.h generic/apt.h \
1845 -       generic/aptcache.h ../config.h
1846 -pkg_tree.o: pkg_tree.cc aptitude.h ../config.h pkg_tree.h apt_tree.h \
1847 -       vscreen/vs_tree.h vscreen/vs_minibuf_win.h vscreen/vscreen.h \
1848 -       vscreen/curses++.h vscreen/config/colors.h \
1849 -       vscreen/vs_treeitem.h generic/matchers.h vs_progress.h \
1850 -       pkg_node.h generic/undo.h pkg_item.h pkg_columnizer.h \
1851 -       vscreen/config/column_definition.h \
1852 -       vscreen/config/../columnify.h pkg_subtree.h \
1853 -       vscreen/vs_subtree.h vscreen/config/keybindings.h \
1854 -       vscreen/config/../../strhash.h vscreen/config/../curses++.h \
1855 -       pkg_grouppolicy.h download.h vscreen/columnify.h \
1856 -       vscreen/vs_statusedit.h generic/apt.h generic/aptcache.h
1857 -pkg_ver_item.o: pkg_ver_item.cc aptitude.h ../config.h pkg_item.h \
1858 -       pkg_node.h vscreen/vs_treeitem.h vscreen/curses++.h \
1859 -       vscreen/config/colors.h vscreen/vs_minibuf_win.h \
1860 -       vscreen/vscreen.h generic/undo.h pkg_columnizer.h \
1861 -       vscreen/config/column_definition.h \
1862 -       vscreen/config/../columnify.h pkg_subtree.h \
1863 -       vscreen/vs_subtree.h vscreen/config/keybindings.h \
1864 -       vscreen/config/../../strhash.h vscreen/config/../curses++.h \
1865 -       vscreen/vs_tree.h pkg_ver_item.h apt_info_tree.h apt_tree.h \
1866 -       pkg_grouppolicy.h pkg_item_with_subtree.h vscreen/columnify.h \
1867 -       pkg_description_treeitem.h dep_item.h pkg_info_screen.h \
1868 -       generic/apt.h generic/aptcache.h
1869 -vs_progress.o: vs_progress.cc aptitude.h ../config.h vs_progress.h \
1870 -       vscreen/vs_tree.h vscreen/vs_minibuf_win.h vscreen/vscreen.h \
1871 -       vscreen/curses++.h vscreen/config/colors.h \
1872 -       vscreen/vs_treeitem.h
1873  
1874 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
1875 +
1876 +-include $(DEP_FILES)
1877 +
1878 +mostlyclean-depend:
1879 +
1880 +clean-depend:
1881 +
1882 +distclean-depend:
1883 +       -rm -rf .deps
1884 +
1885 +maintainer-clean-depend:
1886 +
1887 +%.o: %.c
1888 +       @echo '$(COMPILE) -c $<'; \
1889 +       $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
1890 +       @-cp .deps/$(*F).pp .deps/$(*F).P; \
1891 +       tr ' ' '\012' < .deps/$(*F).pp \
1892 +         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
1893 +           >> .deps/$(*F).P; \
1894 +       rm .deps/$(*F).pp
1895 +
1896 +%.lo: %.c
1897 +       @echo '$(LTCOMPILE) -c $<'; \
1898 +       $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
1899 +       @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
1900 +         < .deps/$(*F).pp > .deps/$(*F).P; \
1901 +       tr ' ' '\012' < .deps/$(*F).pp \
1902 +         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
1903 +           >> .deps/$(*F).P; \
1904 +       rm -f .deps/$(*F).pp
1905 +
1906 +%.o: %.cc
1907 +       @echo '$(CXXCOMPILE) -c $<'; \
1908 +       $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
1909 +       @-cp .deps/$(*F).pp .deps/$(*F).P; \
1910 +       tr ' ' '\012' < .deps/$(*F).pp \
1911 +         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
1912 +           >> .deps/$(*F).P; \
1913 +       rm .deps/$(*F).pp
1914 +
1915 +%.lo: %.cc
1916 +       @echo '$(LTCXXCOMPILE) -c $<'; \
1917 +       $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
1918 +       @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
1919 +         < .deps/$(*F).pp > .deps/$(*F).P; \
1920 +       tr ' ' '\012' < .deps/$(*F).pp \
1921 +         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
1922 +           >> .deps/$(*F).P; \
1923 +       rm -f .deps/$(*F).pp
1924  info-am:
1925  info: info-recursive
1926  dvi-am:
1927 @@ -489,7 +391,7 @@
1928  all-am: Makefile $(PROGRAMS)
1929  all-redirect: all-recursive
1930  install-strip:
1931 -       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
1932 +       $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
1933  installdirs: installdirs-recursive
1934  installdirs-am:
1935         $(mkinstalldirs)  $(DESTDIR)$(bindir)
1936 @@ -506,23 +408,24 @@
1937  maintainer-clean-generic:
1938         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
1939  mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
1940 -               mostlyclean-tags mostlyclean-generic
1941 +               mostlyclean-tags mostlyclean-depend mostlyclean-generic
1942  
1943  mostlyclean: mostlyclean-recursive
1944  
1945 -clean-am:  clean-binPROGRAMS clean-compile clean-tags clean-generic \
1946 -               mostlyclean-am
1947 +clean-am:  clean-binPROGRAMS clean-compile clean-tags clean-depend \
1948 +               clean-generic mostlyclean-am
1949  
1950  clean: clean-recursive
1951  
1952  distclean-am:  distclean-binPROGRAMS distclean-compile distclean-tags \
1953 -               distclean-generic clean-am
1954 +               distclean-depend distclean-generic clean-am
1955  
1956  distclean: distclean-recursive
1957  
1958  maintainer-clean-am:  maintainer-clean-binPROGRAMS \
1959                 maintainer-clean-compile maintainer-clean-tags \
1960 -               maintainer-clean-generic distclean-am
1961 +               maintainer-clean-depend maintainer-clean-generic \
1962 +               distclean-am
1963         @echo "This command is intended for maintainers to use;"
1964         @echo "it deletes files that may require special tools to rebuild."
1965  
1966 @@ -537,12 +440,14 @@
1967  all-recursive check-recursive installcheck-recursive info-recursive \
1968  dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
1969  maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
1970 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
1971 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
1972 -install-exec install-data-am install-data install-am install \
1973 -uninstall-am uninstall all-redirect all-am all installdirs-am \
1974 -installdirs mostlyclean-generic distclean-generic clean-generic \
1975 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
1976 +distclean-tags clean-tags maintainer-clean-tags distdir \
1977 +mostlyclean-depend distclean-depend clean-depend \
1978 +maintainer-clean-depend info-am info dvi-am dvi check check-am \
1979 +installcheck-am installcheck install-exec-am install-exec \
1980 +install-data-am install-data install-am install uninstall-am uninstall \
1981 +all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
1982 +distclean-generic clean-generic maintainer-clean-generic clean \
1983 +mostlyclean distclean maintainer-clean
1984  
1985  
1986  # Tell versions [3.59,3.63) of GNU make to not export all variables.
1987 Only in aptitude-0.0.8.6-new/src: Makefile.in~
1988 diff -rud aptitude-0.0.8.6/src/dep_item.cc aptitude-0.0.8.6-new/src/dep_item.cc
1989 --- aptitude-0.0.8.6/src/dep_item.cc    Sat Mar  3 16:13:56 2001
1990 +++ aptitude-0.0.8.6-new/src/dep_item.cc        Fri May 18 21:35:54 2001
1991 @@ -30,8 +30,11 @@
1992  
1993  #include "generic/apt.h"
1994  
1995 -#include <apt-pkg/version.h>
1996 +//#include <apt-pkg/version.h>
1997 +#include <apt-pkg/systemfactory.h>
1998  #include <apt-pkg/configuration.h>
1999 +
2000 +#define pkgCheckDep _system->checkDep
2001  
2002  class pkg_depitem:public pkg_subtree
2003  {
2004 diff -rud aptitude-0.0.8.6/src/download.cc aptitude-0.0.8.6-new/src/download.cc
2005 --- aptitude-0.0.8.6/src/download.cc    Fri Dec 15 19:11:48 2000
2006 +++ aptitude-0.0.8.6-new/src/download.cc        Fri May 18 21:35:54 2001
2007 @@ -23,6 +23,7 @@
2008  #include <apt-pkg/error.h>
2009  #include <apt-pkg/dpkgpm.h>
2010  #include <apt-pkg/packagemanager.h>
2011 +#include <apt-pkg/systemfactory.h>
2012  #include <apt-pkg/sourcelist.h>
2013  #include <apt-pkg/acquire.h>
2014  #include <apt-pkg/acquire-item.h>
2015 @@ -213,7 +214,9 @@
2016      }
2017  
2018    // Make a package manager, get ready to download
2019 -  pkgDPkgPM pm(*apt_cache_file);
2020 +  //pkgDPkgPM pm(*apt_cache_file);
2021 +  pkgPackageManager *pm_ = _system->CreatePackageManager(*apt_cache_file);
2022 +  pkgPackageManager &pm = *pm_;
2023    if(!pm.GetArchives(&fetcher, &list, apt_package_records) || _error->PendingError())
2024      {
2025        _error->Error(_("Internal error: couldn't generate list of packages to download"));
2026 @@ -294,7 +297,7 @@
2027         }
2028  
2029        fprintf(f, "Aptitude " VERSION ": log report\n\n");
2030 -      fprintf(f, _("IMPORTANT: this log only lists intended actions; actions which fail due to\ndpkg problems may not be completed.\n\n"));
2031 +      fprintf(f, _("IMPORTANT: this log only lists intended actions; actions which fail due to\nrpm problems may not be completed.\n\n"));
2032        fprintf(f, _("Will install %li packages, and remove %li packages.\n"), (*apt_cache_file)->InstCount(), (*apt_cache_file)->DelCount());
2033        if((*apt_cache_file)->UsrSize()>0)
2034         fprintf(f, _("%li bytes of disk space will be used\n"), (long int) (*apt_cache_file)->UsrSize());
2035 @@ -370,7 +373,7 @@
2036        _error->DumpErrors();
2037        cerr<<_("Ack!  Something bad happened while installing packages.  Trying to recover:")<<endl;
2038        // and this is really a hack:
2039 -      system("dpkg --configure -a");
2040 +      //system("dpkg --configure -a");
2041        _error->Discard();
2042      }
2043  
2044 diff -rud aptitude-0.0.8.6/src/generic/Makefile.am aptitude-0.0.8.6-new/src/generic/Makefile.am
2045 --- aptitude-0.0.8.6/src/generic/Makefile.am    Fri Sep 22 21:35:10 2000
2046 +++ aptitude-0.0.8.6-new/src/generic/Makefile.am        Fri May 18 21:35:54 2001
2047 @@ -1,7 +1,7 @@
2048  MAINTAINERCLEANFILES=Makefile.in
2049  
2050  localedir = $(datadir)/locale
2051 -INCLUDES = -Wall -Werror -I../../ -I$(srcdir) -I$(top_srcdir)/lib -I../../intl
2052 +INCLUDES = -Wall -I../../ -I$(srcdir) -I$(top_srcdir)/lib -I../../intl #-Werror
2053  DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
2054  LDADD = @INTLLIBS@
2055  
2056 diff -rud aptitude-0.0.8.6/src/generic/Makefile.in aptitude-0.0.8.6-new/src/generic/Makefile.in
2057 --- aptitude-0.0.8.6/src/generic/Makefile.in    Thu May  3 21:36:59 2001
2058 +++ aptitude-0.0.8.6-new/src/generic/Makefile.in        Fri May 18 21:35:54 2001
2059 @@ -1,4 +1,4 @@
2060 -# Makefile.in generated automatically by automake 1.4 from Makefile.am
2061 +# Makefile.in generated automatically by automake 1.4a from Makefile.am
2062  
2063  # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
2064  # This Makefile.in is free software; the Free Software Foundation
2065 @@ -46,9 +46,10 @@
2066  AUTOHEADER = @AUTOHEADER@
2067  
2068  INSTALL = @INSTALL@
2069 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
2070 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
2071  INSTALL_DATA = @INSTALL_DATA@
2072  INSTALL_SCRIPT = @INSTALL_SCRIPT@
2073 +INSTALL_STRIP_FLAG =
2074  transform = @program_transform_name@
2075  
2076  NORMAL_INSTALL = :
2077 @@ -86,7 +87,7 @@
2078  MAINTAINERCLEANFILES = Makefile.in
2079  
2080  localedir = $(datadir)/locale
2081 -INCLUDES = -Wall -Werror -I../../ -I$(srcdir) -I$(top_srcdir)/lib -I../../intl
2082 +INCLUDES = -Wall -I../../ -I$(srcdir) -I$(top_srcdir)/lib -I../../intl #-Werror
2083  DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
2084  LDADD = @INTLLIBS@
2085  
2086 @@ -119,8 +120,10 @@
2087  
2088  DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
2089  
2090 -TAR = tar
2091 +TAR = gtar
2092  GZIP_ENV = --best
2093 +DEP_FILES =  .deps/apt.P .deps/aptcache.P .deps/matchers.P \
2094 +.deps/pkg_changelog.P .deps/undo.P
2095  SOURCES = $(libgeneric_a_SOURCES)
2096  OBJECTS = $(libgeneric_a_OBJECTS)
2097  
2098 @@ -128,9 +131,9 @@
2099  .SUFFIXES:
2100  .SUFFIXES: .S .c .cc .o .s
2101  $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
2102 -       cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/generic/Makefile
2103 +       cd $(top_srcdir) && $(AUTOMAKE) --gnu src/generic/Makefile
2104  
2105 -Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
2106 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
2107         cd $(top_builddir) \
2108           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
2109  
2110 @@ -144,9 +147,6 @@
2111  
2112  maintainer-clean-noinstLIBRARIES:
2113  
2114 -.c.o:
2115 -       $(COMPILE) -c $<
2116 -
2117  .s.o:
2118         $(COMPILE) -c $<
2119  
2120 @@ -204,6 +204,11 @@
2121  subdir = src/generic
2122  
2123  distdir: $(DISTFILES)
2124 +       here=`cd $(top_builddir) && pwd`; \
2125 +       top_distdir=`cd $(top_distdir) && pwd`; \
2126 +       distdir=`cd $(distdir) && pwd`; \
2127 +       cd $(top_srcdir) \
2128 +         && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/generic/Makefile
2129         @for file in $(DISTFILES); do \
2130           d=$(srcdir); \
2131           if test -d $$d/$$file; then \
2132 @@ -214,12 +219,57 @@
2133             || cp -p $$d/$$file $(distdir)/$$file || :; \
2134           fi; \
2135         done
2136 -apt.o: apt.cc apt.h aptcache.h ../../config.h undo.h
2137 -aptcache.o: aptcache.cc ../aptitude.h ../../config.h aptcache.h undo.h
2138 -matchers.o: matchers.cc matchers.h apt.h aptcache.h ../../config.h
2139 -pkg_changelog.o: pkg_changelog.cc pkg_changelog.h
2140 -undo.o: undo.cc undo.h
2141  
2142 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
2143 +
2144 +-include $(DEP_FILES)
2145 +
2146 +mostlyclean-depend:
2147 +
2148 +clean-depend:
2149 +
2150 +distclean-depend:
2151 +       -rm -rf .deps
2152 +
2153 +maintainer-clean-depend:
2154 +
2155 +%.o: %.c
2156 +       @echo '$(COMPILE) -c $<'; \
2157 +       $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
2158 +       @-cp .deps/$(*F).pp .deps/$(*F).P; \
2159 +       tr ' ' '\012' < .deps/$(*F).pp \
2160 +         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
2161 +           >> .deps/$(*F).P; \
2162 +       rm .deps/$(*F).pp
2163 +
2164 +%.lo: %.c
2165 +       @echo '$(LTCOMPILE) -c $<'; \
2166 +       $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
2167 +       @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
2168 +         < .deps/$(*F).pp > .deps/$(*F).P; \
2169 +       tr ' ' '\012' < .deps/$(*F).pp \
2170 +         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
2171 +           >> .deps/$(*F).P; \
2172 +       rm -f .deps/$(*F).pp
2173 +
2174 +%.o: %.cc
2175 +       @echo '$(CXXCOMPILE) -c $<'; \
2176 +       $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
2177 +       @-cp .deps/$(*F).pp .deps/$(*F).P; \
2178 +       tr ' ' '\012' < .deps/$(*F).pp \
2179 +         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
2180 +           >> .deps/$(*F).P; \
2181 +       rm .deps/$(*F).pp
2182 +
2183 +%.lo: %.cc
2184 +       @echo '$(LTCXXCOMPILE) -c $<'; \
2185 +       $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
2186 +       @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
2187 +         < .deps/$(*F).pp > .deps/$(*F).P; \
2188 +       tr ' ' '\012' < .deps/$(*F).pp \
2189 +         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
2190 +           >> .deps/$(*F).P; \
2191 +       rm -f .deps/$(*F).pp
2192  info-am:
2193  info: info-am
2194  dvi-am:
2195 @@ -242,7 +292,7 @@
2196  all-am: Makefile $(LIBRARIES)
2197  all-redirect: all-am
2198  install-strip:
2199 -       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
2200 +       $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
2201  installdirs:
2202  
2203  
2204 @@ -257,23 +307,25 @@
2205  maintainer-clean-generic:
2206         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
2207  mostlyclean-am:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
2208 -               mostlyclean-tags mostlyclean-generic
2209 +               mostlyclean-tags mostlyclean-depend mostlyclean-generic
2210  
2211  mostlyclean: mostlyclean-am
2212  
2213 -clean-am:  clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
2214 -               mostlyclean-am
2215 +clean-am:  clean-noinstLIBRARIES clean-compile clean-tags clean-depend \
2216 +               clean-generic mostlyclean-am
2217  
2218  clean: clean-am
2219  
2220  distclean-am:  distclean-noinstLIBRARIES distclean-compile \
2221 -               distclean-tags distclean-generic clean-am
2222 +               distclean-tags distclean-depend distclean-generic \
2223 +               clean-am
2224  
2225  distclean: distclean-am
2226  
2227  maintainer-clean-am:  maintainer-clean-noinstLIBRARIES \
2228                 maintainer-clean-compile maintainer-clean-tags \
2229 -               maintainer-clean-generic distclean-am
2230 +               maintainer-clean-depend maintainer-clean-generic \
2231 +               distclean-am
2232         @echo "This command is intended for maintainers to use;"
2233         @echo "it deletes files that may require special tools to rebuild."
2234  
2235 @@ -283,12 +335,13 @@
2236  clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
2237  mostlyclean-compile distclean-compile clean-compile \
2238  maintainer-clean-compile tags mostlyclean-tags distclean-tags \
2239 -clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
2240 -check-am installcheck-am installcheck install-exec-am install-exec \
2241 -install-data-am install-data install-am install uninstall-am uninstall \
2242 -all-redirect all-am all installdirs mostlyclean-generic \
2243 -distclean-generic clean-generic maintainer-clean-generic clean \
2244 -mostlyclean distclean maintainer-clean
2245 +clean-tags maintainer-clean-tags distdir mostlyclean-depend \
2246 +distclean-depend clean-depend maintainer-clean-depend info-am info \
2247 +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
2248 +install-exec install-data-am install-data install-am install \
2249 +uninstall-am uninstall all-redirect all-am all installdirs \
2250 +mostlyclean-generic distclean-generic clean-generic \
2251 +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
2252  
2253  
2254  # Tell versions [3.59,3.63) of GNU make to not export all variables.
2255 Only in aptitude-0.0.8.6-new/src/generic: Makefile.in~
2256 diff -rud aptitude-0.0.8.6/src/generic/aptcache.cc aptitude-0.0.8.6-new/src/generic/aptcache.cc
2257 --- aptitude-0.0.8.6/src/generic/aptcache.cc    Thu May  3 21:11:19 2001
2258 +++ aptitude-0.0.8.6-new/src/generic/aptcache.cc        Fri May 18 21:35:54 2001
2259 @@ -32,6 +32,8 @@
2260  #ifdef HAVE_LIBAPT_PKG3
2261  #include <apt-pkg/pkgsystem.h>
2262  #include <apt-pkg/policy.h>
2263 +#else
2264 +#include <apt-pkg/systemfactory.h>
2265  #endif
2266  
2267  #include <vector>
2268 @@ -166,7 +168,7 @@
2269    if(!pkgDepCache::Init(&Prog))
2270      return false;
2271  
2272 -  string statedir=_config->FindDir("Dir::Aptitude::state", "/var/state/aptitude");
2273 +  string statedir=_config->FindDir("Dir::Aptitude::state", "/var/lib/aptitude");
2274    // Should this not go under Dir:: ?  I'm not sure..
2275    delete package_states;
2276    package_states=new aptitude_state[Head().PackageCount];
2277 @@ -298,7 +300,7 @@
2278  
2279    if(lock==-1)
2280      return true;
2281 -  string statefile=_config->FindDir("Dir::Aptitude::state", "/var/state/aptitude")+"pkgstates";
2282 +  string statefile=_config->FindDir("Dir::Aptitude::state", "/var/lib/aptitude")+"pkgstates";
2283  
2284    FileFd newstate(statefile+".new", FileFd::WriteEmpty);
2285    if(!newstate.IsOpen())
2286 @@ -710,7 +712,7 @@
2287  bool aptitudeCacheFile::Open(OpProgress &Progress, bool WithLock)
2288  {
2289    if(WithLock)
2290 -    Lock=new pkgDpkgLock;
2291 +    Lock=new pkgRpmLock (false);       // pkgDpkgLock;
2292  
2293    if(_error->PendingError())
2294      return false;
2295 @@ -721,7 +723,8 @@
2296  
2297    if(WithLock)
2298      {
2299 -      pkgMakeStatusCache(List, Progress);
2300 +      //pkgMakeStatusCache(List, Progress);
2301 +      _system->makeStatusCache(List, Progress);
2302        if(_error->PendingError())
2303         return _error->Error(_("The package lists or status file could not be parsed or opened."));
2304        if(!_error->empty())
2305 @@ -737,7 +740,8 @@
2306      }
2307    else
2308      {
2309 -      Map=pkgMakeStatusCacheMem(List, Progress);
2310 +      //Map=pkgMakeStatusCacheMem(List, Progress);
2311 +      Map=_system->makeStatusCacheMem(List, Progress);
2312        Progress.Done();
2313        if(!Map)
2314         return false;
2315 Only in aptitude-0.0.8.6-new/src/generic: aptcache.cc~
2316 diff -rud aptitude-0.0.8.6/src/generic/aptcache.h aptitude-0.0.8.6-new/src/generic/aptcache.h
2317 --- aptitude-0.0.8.6/src/generic/aptcache.h     Thu May  3 21:14:59 2001
2318 +++ aptitude-0.0.8.6-new/src/generic/aptcache.h Fri May 18 21:35:54 2001
2319 @@ -33,7 +33,8 @@
2320  #include <apt-pkg/depcache.h>
2321  
2322  #ifndef HAVE_LIBAPT_PKG3
2323 -#include <apt-pkg/dpkginit.h>
2324 +//#include <apt-pkg/dpkginit.h>
2325 +#include <apt-pkg/rpminit.h>
2326  #endif
2327  
2328  class undoable;
2329 @@ -217,7 +218,8 @@
2330  {
2331    MMap *Map;
2332    aptitudeDepCache *Cache;
2333 -  pkgDpkgLock *Lock;
2334 +  //pkgDpkgLock *Lock;
2335 +  pkgRpmLock *Lock;
2336  public:
2337    // We look pretty much exactly like a pointer to a dep cache
2338    inline operator aptitudeDepCache &() {return *Cache;};
2339 Only in aptitude-0.0.8.6-new/src/generic: aptcache.h~
2340 diff -rud aptitude-0.0.8.6/src/main.cc aptitude-0.0.8.6-new/src/main.cc
2341 --- aptitude-0.0.8.6/src/main.cc        Thu Feb  1 11:20:43 2001
2342 +++ aptitude-0.0.8.6-new/src/main.cc    Fri May 18 21:35:54 2001
2343 @@ -43,7 +43,9 @@
2344  
2345  #include "../config.h"
2346  
2347 -#include <apt-pkg/init.h>
2348 +//#include <apt-pkg/init.h>
2349 +#include <apt-pkg/rpmfactory.h>
2350 +#include <apt-pkg/rpminit.h>
2351  
2352  class mypkgtree:public pkg_tree
2353  {
2354 @@ -95,6 +97,11 @@
2355  
2356  int main(int argc, char *argv[])
2357  {
2358 +  {
2359 +    static RPMFactory bla;
2360 +    static pkgRpmLock lock (false);
2361 +  }
2362 +
2363    srandom(time(0));
2364  
2365    setlocale(LC_ALL, "");
2366 diff -rud aptitude-0.0.8.6/src/pkg_columnizer.cc aptitude-0.0.8.6-new/src/pkg_columnizer.cc
2367 --- aptitude-0.0.8.6/src/pkg_columnizer.cc      Tue May  1 21:39:13 2001
2368 +++ aptitude-0.0.8.6-new/src/pkg_columnizer.cc  Fri May 18 21:35:54 2001
2369 @@ -28,9 +28,12 @@
2370  #include <apt-pkg/strutl.h>
2371  #include <apt-pkg/error.h>
2372  #include <apt-pkg/configuration.h>
2373 -#include <apt-pkg/version.h>
2374 +//#include <apt-pkg/version.h>
2375  #ifdef HAVE_LIBAPT_PKG3
2376  #include <apt-pkg/pkgsystem.h>
2377 +#else
2378 +#include <apt-pkg/systemfactory.h>
2379 +#define pkgCheckDep _system->checkDep
2380  #endif
2381  
2382  column_definition_list *pkg_item::pkg_columnizer::columns=NULL;
2383 diff -rud aptitude-0.0.8.6/src/pkg_info_screen.cc aptitude-0.0.8.6-new/src/pkg_info_screen.cc
2384 --- aptitude-0.0.8.6/src/pkg_info_screen.cc     Tue Dec 19 00:37:34 2000
2385 +++ aptitude-0.0.8.6-new/src/pkg_info_screen.cc Fri May 18 21:35:54 2001
2386 @@ -69,11 +69,13 @@
2387        tree->add_child(new pkg_description(pkg.VersionList(), _("Description")));
2388        tree->add_child(new vs_staticitem(_("Priority: "),ver.PriorityType()?ver.PriorityType():"Unknown"));
2389        tree->add_child(new vs_staticitem(_("Section: "),pkg.Section()?pkg.Section():_("Unknown")));
2390 -      tree->add_child(new vs_staticitem(_("Maintainer: "),rec.Maintainer()));
2391 +      //tree->add_child(new vs_staticitem(_("Maintainer: "),rec.Maintainer()));
2392        tree->add_child(new vs_staticitem(_("Compressed size: "), SizeToStr(ver->Size)));
2393        tree->add_child(new vs_staticitem(_("Uncompressed size: "), SizeToStr(ver->InstalledSize)));
2394 +#if 0
2395        if(!rec.SourcePkg().empty())
2396         tree->add_child(new vs_staticitem(_("Source Package: "),rec.SourcePkg()));
2397 +#endif
2398  
2399        setup_package_deps<pkg_item_with_generic_subtree>(pkg, ver, tree);
2400      }
2401 diff -rud aptitude-0.0.8.6/src/pkg_ver_item.cc aptitude-0.0.8.6-new/src/pkg_ver_item.cc
2402 --- aptitude-0.0.8.6/src/pkg_ver_item.cc        Thu May  3 21:02:37 2001
2403 +++ aptitude-0.0.8.6-new/src/pkg_ver_item.cc    Fri May 18 21:35:54 2001
2404 @@ -36,6 +36,8 @@
2405  #include <apt-pkg/configuration.h>
2406  #include <apt-pkg/strutl.h>
2407  
2408 +#define pkgCheckDep _system->checkDep
2409 +
2410  class pkg_ver_columnizer:public column_generator
2411  {
2412    pkgCache::VerIterator ver;
2413 diff -rud aptitude-0.0.8.6/src/pkg_ver_item.h aptitude-0.0.8.6-new/src/pkg_ver_item.h
2414 --- aptitude-0.0.8.6/src/pkg_ver_item.h Sat Mar  3 16:14:59 2001
2415 +++ aptitude-0.0.8.6-new/src/pkg_ver_item.h     Fri May 18 21:35:54 2001
2416 @@ -28,10 +28,13 @@
2417  #include "pkg_grouppolicy.h"
2418  #include "pkg_item_with_subtree.h"
2419  
2420 -#include <apt-pkg/version.h>
2421 +//#include <apt-pkg/version.h>
2422  #include <apt-pkg/depcache.h>
2423  #ifdef HAVE_LIBAPT_PKG3
2424  #include <apt-pkg/pkgsystem.h>
2425 +#else
2426 +#include <apt-pkg/systemfactory.h>
2427 +#define pkgVersionCompare _system->versionCompare
2428  #endif
2429  
2430  class pkg_ver_item:public pkg_tree_node
2431 diff -rud aptitude-0.0.8.6/src/vscreen/Makefile.in aptitude-0.0.8.6-new/src/vscreen/Makefile.in
2432 --- aptitude-0.0.8.6/src/vscreen/Makefile.in    Thu May  3 21:37:00 2001
2433 +++ aptitude-0.0.8.6-new/src/vscreen/Makefile.in        Fri May 18 21:35:54 2001
2434 @@ -1,4 +1,4 @@
2435 -# Makefile.in generated automatically by automake 1.4 from Makefile.am
2436 +# Makefile.in generated automatically by automake 1.4a from Makefile.am
2437  
2438  # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
2439  # This Makefile.in is free software; the Free Software Foundation
2440 @@ -46,9 +46,10 @@
2441  AUTOHEADER = @AUTOHEADER@
2442  
2443  INSTALL = @INSTALL@
2444 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
2445 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
2446  INSTALL_DATA = @INSTALL_DATA@
2447  INSTALL_SCRIPT = @INSTALL_SCRIPT@
2448 +INSTALL_STRIP_FLAG =
2449  transform = @program_transform_name@
2450  
2451  NORMAL_INSTALL = :
2452 @@ -122,8 +123,12 @@
2453  
2454  DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
2455  
2456 -TAR = tar
2457 +TAR = gtar
2458  GZIP_ENV = --best
2459 +DEP_FILES =  .deps/columnify.P .deps/curses++.P .deps/vs_minibuf_win.P \
2460 +.deps/vs_pager.P .deps/vs_staticitem.P .deps/vs_statuschoice.P \
2461 +.deps/vs_statusedit.P .deps/vs_tree.P .deps/vs_treeitem.P \
2462 +.deps/vscreen.P
2463  SOURCES = $(libvscreen_a_SOURCES)
2464  OBJECTS = $(libvscreen_a_OBJECTS)
2465  
2466 @@ -131,9 +136,9 @@
2467  .SUFFIXES:
2468  .SUFFIXES: .S .c .cc .o .s
2469  $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
2470 -       cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/vscreen/Makefile
2471 +       cd $(top_srcdir) && $(AUTOMAKE) --gnu src/vscreen/Makefile
2472  
2473 -Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
2474 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
2475         cd $(top_builddir) \
2476           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
2477  
2478 @@ -147,9 +152,6 @@
2479  
2480  maintainer-clean-noinstLIBRARIES:
2481  
2482 -.c.o:
2483 -       $(COMPILE) -c $<
2484 -
2485  .s.o:
2486         $(COMPILE) -c $<
2487  
2488 @@ -267,6 +269,11 @@
2489  subdir = src/vscreen
2490  
2491  distdir: $(DISTFILES)
2492 +       here=`cd $(top_builddir) && pwd`; \
2493 +       top_distdir=`cd $(top_distdir) && pwd`; \
2494 +       distdir=`cd $(distdir) && pwd`; \
2495 +       cd $(top_srcdir) \
2496 +         && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/vscreen/Makefile
2497         @for file in $(DISTFILES); do \
2498           d=$(srcdir); \
2499           if test -d $$d/$$file; then \
2500 @@ -287,32 +294,57 @@
2501               || exit 1; \
2502           fi; \
2503         done
2504 -columnify.o: columnify.cc columnify.h
2505 -curses++.o: curses++.cc curses++.h
2506 -vs_minibuf_win.o: vs_minibuf_win.cc vs_minibuf_win.h vscreen.h \
2507 -       curses++.h config/colors.h
2508 -vs_pager.o: vs_pager.cc vs_pager.h vs_minibuf_win.h vscreen.h curses++.h \
2509 -       config/colors.h vs_statusedit.h config/keybindings.h \
2510 -       config/../../strhash.h config/../curses++.h
2511 -vs_staticitem.o: vs_staticitem.cc vs_staticitem.h vs_treeitem.h \
2512 -       curses++.h config/colors.h vs_minibuf_win.h vscreen.h vs_tree.h
2513 -vs_statuschoice.o: vs_statuschoice.cc vs_statuschoice.h vs_minibuf_win.h \
2514 -       vscreen.h curses++.h config/colors.h config/keybindings.h \
2515 -       config/../../strhash.h config/../curses++.h
2516 -vs_statusedit.o: vs_statusedit.cc vs_statusedit.h vs_minibuf_win.h \
2517 -       vscreen.h curses++.h config/colors.h config/keybindings.h \
2518 -       config/../../strhash.h config/../curses++.h
2519 -vs_tree.o: vs_tree.cc vs_tree.h vs_minibuf_win.h vscreen.h curses++.h \
2520 -       config/colors.h vs_treeitem.h vs_statusedit.h \
2521 -       config/keybindings.h config/../../strhash.h \
2522 -       config/../curses++.h
2523 -vs_treeitem.o: vs_treeitem.cc vs_treeitem.h curses++.h config/colors.h \
2524 -       vs_minibuf_win.h vscreen.h vs_tree.h
2525 -vscreen.o: vscreen.cc vscreen.h curses++.h config/keybindings.h \
2526 -       config/../../strhash.h config/../curses++.h config/colors.h \
2527 -       vs_tree.h vs_minibuf_win.h vs_treeitem.h vs_statusedit.h \
2528 -       vs_statuschoice.h vs_pager.h
2529  
2530 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
2531 +
2532 +-include $(DEP_FILES)
2533 +
2534 +mostlyclean-depend:
2535 +
2536 +clean-depend:
2537 +
2538 +distclean-depend:
2539 +       -rm -rf .deps
2540 +
2541 +maintainer-clean-depend:
2542 +
2543 +%.o: %.c
2544 +       @echo '$(COMPILE) -c $<'; \
2545 +       $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
2546 +       @-cp .deps/$(*F).pp .deps/$(*F).P; \
2547 +       tr ' ' '\012' < .deps/$(*F).pp \
2548 +         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
2549 +           >> .deps/$(*F).P; \
2550 +       rm .deps/$(*F).pp
2551 +
2552 +%.lo: %.c
2553 +       @echo '$(LTCOMPILE) -c $<'; \
2554 +       $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
2555 +       @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
2556 +         < .deps/$(*F).pp > .deps/$(*F).P; \
2557 +       tr ' ' '\012' < .deps/$(*F).pp \
2558 +         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
2559 +           >> .deps/$(*F).P; \
2560 +       rm -f .deps/$(*F).pp
2561 +
2562 +%.o: %.cc
2563 +       @echo '$(CXXCOMPILE) -c $<'; \
2564 +       $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
2565 +       @-cp .deps/$(*F).pp .deps/$(*F).P; \
2566 +       tr ' ' '\012' < .deps/$(*F).pp \
2567 +         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
2568 +           >> .deps/$(*F).P; \
2569 +       rm .deps/$(*F).pp
2570 +
2571 +%.lo: %.cc
2572 +       @echo '$(LTCXXCOMPILE) -c $<'; \
2573 +       $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
2574 +       @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
2575 +         < .deps/$(*F).pp > .deps/$(*F).P; \
2576 +       tr ' ' '\012' < .deps/$(*F).pp \
2577 +         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
2578 +           >> .deps/$(*F).P; \
2579 +       rm -f .deps/$(*F).pp
2580  info-am:
2581  info: info-recursive
2582  dvi-am:
2583 @@ -335,7 +367,7 @@
2584  all-am: Makefile $(LIBRARIES)
2585  all-redirect: all-recursive
2586  install-strip:
2587 -       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
2588 +       $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
2589  installdirs: installdirs-recursive
2590  installdirs-am:
2591  
2592 @@ -351,23 +383,25 @@
2593  maintainer-clean-generic:
2594         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
2595  mostlyclean-am:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
2596 -               mostlyclean-tags mostlyclean-generic
2597 +               mostlyclean-tags mostlyclean-depend mostlyclean-generic
2598  
2599  mostlyclean: mostlyclean-recursive
2600  
2601 -clean-am:  clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
2602 -               mostlyclean-am
2603 +clean-am:  clean-noinstLIBRARIES clean-compile clean-tags clean-depend \
2604 +               clean-generic mostlyclean-am
2605  
2606  clean: clean-recursive
2607  
2608  distclean-am:  distclean-noinstLIBRARIES distclean-compile \
2609 -               distclean-tags distclean-generic clean-am
2610 +               distclean-tags distclean-depend distclean-generic \
2611 +               clean-am
2612  
2613  distclean: distclean-recursive
2614  
2615  maintainer-clean-am:  maintainer-clean-noinstLIBRARIES \
2616                 maintainer-clean-compile maintainer-clean-tags \
2617 -               maintainer-clean-generic distclean-am
2618 +               maintainer-clean-depend maintainer-clean-generic \
2619 +               distclean-am
2620         @echo "This command is intended for maintainers to use;"
2621         @echo "it deletes files that may require special tools to rebuild."
2622  
2623 @@ -382,12 +416,14 @@
2624  all-recursive check-recursive installcheck-recursive info-recursive \
2625  dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
2626  maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
2627 -distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
2628 -dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
2629 -install-exec install-data-am install-data install-am install \
2630 -uninstall-am uninstall all-redirect all-am all installdirs-am \
2631 -installdirs mostlyclean-generic distclean-generic clean-generic \
2632 -maintainer-clean-generic clean mostlyclean distclean maintainer-clean
2633 +distclean-tags clean-tags maintainer-clean-tags distdir \
2634 +mostlyclean-depend distclean-depend clean-depend \
2635 +maintainer-clean-depend info-am info dvi-am dvi check check-am \
2636 +installcheck-am installcheck install-exec-am install-exec \
2637 +install-data-am install-data install-am install uninstall-am uninstall \
2638 +all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
2639 +distclean-generic clean-generic maintainer-clean-generic clean \
2640 +mostlyclean distclean maintainer-clean
2641  
2642  
2643  # Tell versions [3.59,3.63) of GNU make to not export all variables.
2644 Only in aptitude-0.0.8.6-new/src/vscreen: Makefile.in~
2645 diff -rud aptitude-0.0.8.6/src/vscreen/config/Makefile.in aptitude-0.0.8.6-new/src/vscreen/config/Makefile.in
2646 --- aptitude-0.0.8.6/src/vscreen/config/Makefile.in     Thu May  3 21:37:01 2001
2647 +++ aptitude-0.0.8.6-new/src/vscreen/config/Makefile.in Fri May 18 21:35:54 2001
2648 @@ -1,4 +1,4 @@
2649 -# Makefile.in generated automatically by automake 1.4 from Makefile.am
2650 +# Makefile.in generated automatically by automake 1.4a from Makefile.am
2651  
2652  # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
2653  # This Makefile.in is free software; the Free Software Foundation
2654 @@ -46,9 +46,10 @@
2655  AUTOHEADER = @AUTOHEADER@
2656  
2657  INSTALL = @INSTALL@
2658 -INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
2659 +INSTALL_PROGRAM = @INSTALL_PROGRAM@
2660  INSTALL_DATA = @INSTALL_DATA@
2661  INSTALL_SCRIPT = @INSTALL_SCRIPT@
2662 +INSTALL_STRIP_FLAG =
2663  transform = @program_transform_name@
2664  
2665  NORMAL_INSTALL = :
2666 @@ -118,8 +119,10 @@
2667  
2668  DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
2669  
2670 -TAR = tar
2671 +TAR = gtar
2672  GZIP_ENV = --best
2673 +DEP_FILES =  .deps/colors.P .deps/column_definition.P \
2674 +.deps/keybindings.P
2675  SOURCES = $(libconf_a_SOURCES)
2676  OBJECTS = $(libconf_a_OBJECTS)
2677  
2678 @@ -127,9 +130,9 @@
2679  .SUFFIXES:
2680  .SUFFIXES: .S .c .cc .o .s
2681  $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
2682 -       cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/vscreen/config/Makefile
2683 +       cd $(top_srcdir) && $(AUTOMAKE) --gnu src/vscreen/config/Makefile
2684  
2685 -Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
2686 +Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
2687         cd $(top_builddir) \
2688           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
2689  
2690 @@ -143,9 +146,6 @@
2691  
2692  maintainer-clean-noinstLIBRARIES:
2693  
2694 -.c.o:
2695 -       $(COMPILE) -c $<
2696 -
2697  .s.o:
2698         $(COMPILE) -c $<
2699  
2700 @@ -203,6 +203,11 @@
2701  subdir = src/vscreen/config
2702  
2703  distdir: $(DISTFILES)
2704 +       here=`cd $(top_builddir) && pwd`; \
2705 +       top_distdir=`cd $(top_distdir) && pwd`; \
2706 +       distdir=`cd $(distdir) && pwd`; \
2707 +       cd $(top_srcdir) \
2708 +         && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/vscreen/config/Makefile
2709         @for file in $(DISTFILES); do \
2710           d=$(srcdir); \
2711           if test -d $$d/$$file; then \
2712 @@ -213,12 +218,57 @@
2713             || cp -p $$d/$$file $(distdir)/$$file || :; \
2714           fi; \
2715         done
2716 -colors.o: colors.cc colors.h ../vscreen.h ../curses++.h ../../strhash.h
2717 -column_definition.o: column_definition.cc column_definition.h \
2718 -       ../columnify.h
2719 -keybindings.o: keybindings.cc keybindings.h ../../strhash.h \
2720 -       ../curses++.h ../../../config.h
2721  
2722 +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
2723 +
2724 +-include $(DEP_FILES)
2725 +
2726 +mostlyclean-depend:
2727 +
2728 +clean-depend:
2729 +
2730 +distclean-depend:
2731 +       -rm -rf .deps
2732 +
2733 +maintainer-clean-depend:
2734 +
2735 +%.o: %.c
2736 +       @echo '$(COMPILE) -c $<'; \
2737 +       $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
2738 +       @-cp .deps/$(*F).pp .deps/$(*F).P; \
2739 +       tr ' ' '\012' < .deps/$(*F).pp \
2740 +         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
2741 +           >> .deps/$(*F).P; \
2742 +       rm .deps/$(*F).pp
2743 +
2744 +%.lo: %.c
2745 +       @echo '$(LTCOMPILE) -c $<'; \
2746 +       $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
2747 +       @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
2748 +         < .deps/$(*F).pp > .deps/$(*F).P; \
2749 +       tr ' ' '\012' < .deps/$(*F).pp \
2750 +         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
2751 +           >> .deps/$(*F).P; \
2752 +       rm -f .deps/$(*F).pp
2753 +
2754 +%.o: %.cc
2755 +       @echo '$(CXXCOMPILE) -c $<'; \
2756 +       $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
2757 +       @-cp .deps/$(*F).pp .deps/$(*F).P; \
2758 +       tr ' ' '\012' < .deps/$(*F).pp \
2759 +         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
2760 +           >> .deps/$(*F).P; \
2761 +       rm .deps/$(*F).pp
2762 +
2763 +%.lo: %.cc
2764 +       @echo '$(LTCXXCOMPILE) -c $<'; \
2765 +       $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
2766 +       @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
2767 +         < .deps/$(*F).pp > .deps/$(*F).P; \
2768 +       tr ' ' '\012' < .deps/$(*F).pp \
2769 +         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
2770 +           >> .deps/$(*F).P; \
2771 +       rm -f .deps/$(*F).pp
2772  info-am:
2773  info: info-am
2774  dvi-am:
2775 @@ -241,7 +291,7 @@
2776  all-am: Makefile $(LIBRARIES)
2777  all-redirect: all-am
2778  install-strip:
2779 -       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
2780 +       $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
2781  installdirs:
2782  
2783  
2784 @@ -256,23 +306,25 @@
2785  maintainer-clean-generic:
2786         -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
2787  mostlyclean-am:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
2788 -               mostlyclean-tags mostlyclean-generic
2789 +               mostlyclean-tags mostlyclean-depend mostlyclean-generic
2790  
2791  mostlyclean: mostlyclean-am
2792  
2793 -clean-am:  clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
2794 -               mostlyclean-am
2795 +clean-am:  clean-noinstLIBRARIES clean-compile clean-tags clean-depend \
2796 +               clean-generic mostlyclean-am
2797  
2798  clean: clean-am
2799  
2800  distclean-am:  distclean-noinstLIBRARIES distclean-compile \
2801 -               distclean-tags distclean-generic clean-am
2802 +               distclean-tags distclean-depend distclean-generic \
2803 +               clean-am
2804  
2805  distclean: distclean-am
2806  
2807  maintainer-clean-am:  maintainer-clean-noinstLIBRARIES \
2808                 maintainer-clean-compile maintainer-clean-tags \
2809 -               maintainer-clean-generic distclean-am
2810 +               maintainer-clean-depend maintainer-clean-generic \
2811 +               distclean-am
2812         @echo "This command is intended for maintainers to use;"
2813         @echo "it deletes files that may require special tools to rebuild."
2814  
2815 @@ -282,12 +334,13 @@
2816  clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
2817  mostlyclean-compile distclean-compile clean-compile \
2818  maintainer-clean-compile tags mostlyclean-tags distclean-tags \
2819 -clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
2820 -check-am installcheck-am installcheck install-exec-am install-exec \
2821 -install-data-am install-data install-am install uninstall-am uninstall \
2822 -all-redirect all-am all installdirs mostlyclean-generic \
2823 -distclean-generic clean-generic maintainer-clean-generic clean \
2824 -mostlyclean distclean maintainer-clean
2825 +clean-tags maintainer-clean-tags distdir mostlyclean-depend \
2826 +distclean-depend clean-depend maintainer-clean-depend info-am info \
2827 +dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
2828 +install-exec install-data-am install-data install-am install \
2829 +uninstall-am uninstall all-redirect all-am all installdirs \
2830 +mostlyclean-generic distclean-generic clean-generic \
2831 +maintainer-clean-generic clean mostlyclean distclean maintainer-clean
2832  
2833  
2834  # Tell versions [3.59,3.63) of GNU make to not export all variables.
2835 Only in aptitude-0.0.8.6-new/src/vscreen/config: Makefile.in~
This page took 0.549296 seconds and 3 git commands to generate.