Imported Upstream version 0.80
Willi Mann
10 years ago
0 | 0 | >> Squidview history: |
1 | ||
2 | 0.80: October 2013 | |
3 | - compatability with syslog | |
1 | 4 | |
2 | 5 | v0.79: May 2011: |
3 | 6 | - code clean ups for gcc-4.6 |
0 | squidview 0.7x (c) 2001 - 2011 Graeme Sheppard - GPL software | |
0 | squidview 0.8x (c) 2001 - 2013 Graeme Sheppard - GPL software | |
1 | 1 | www.rillion.net/squidview |
2 | 2 | |
3 | 3 | --Overview |
0 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | |
0 | # Makefile.in generated by automake 1.11.6 from Makefile.am. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | 3 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | |
5 | # Inc. | |
4 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software | |
5 | # Foundation, Inc. | |
6 | 6 | # This Makefile.in is free software; the Free Software Foundation |
7 | 7 | # gives unlimited permission to copy and/or distribute it, |
8 | 8 | # with or without modifications, as long as this notice is preserved. |
16 | 16 | |
17 | 17 | |
18 | 18 | VPATH = @srcdir@ |
19 | am__make_dryrun = \ | |
20 | { \ | |
21 | am__dry=no; \ | |
22 | case $$MAKEFLAGS in \ | |
23 | *\\[\ \ ]*) \ | |
24 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | |
25 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | |
26 | *) \ | |
27 | for am__flg in $$MAKEFLAGS; do \ | |
28 | case $$am__flg in \ | |
29 | *=*|--*) ;; \ | |
30 | *n*) am__dry=yes; break;; \ | |
31 | esac; \ | |
32 | done;; \ | |
33 | esac; \ | |
34 | test $$am__dry = yes; \ | |
35 | } | |
19 | 36 | pkgdatadir = $(datadir)/@PACKAGE@ |
20 | 37 | pkgincludedir = $(includedir)/@PACKAGE@ |
21 | 38 | pkglibdir = $(libdir)/@PACKAGE@ |
69 | 86 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
70 | 87 | SOURCES = $(squidview_SOURCES) |
71 | 88 | DIST_SOURCES = $(squidview_SOURCES) |
89 | am__can_run_installinfo = \ | |
90 | case $$AM_UPDATE_INFO_DIR in \ | |
91 | n|no|NO) false;; \ | |
92 | *) (install-info --version) >/dev/null 2>&1;; \ | |
93 | esac | |
72 | 94 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; |
73 | 95 | am__vpath_adj = case $$p in \ |
74 | 96 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ |
90 | 112 | am__base_list = \ |
91 | 113 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ |
92 | 114 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' |
115 | am__uninstall_files_from_dir = { \ | |
116 | test -z "$$files" \ | |
117 | || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ | |
118 | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ | |
119 | $(am__cd) "$$dir" && rm -f $$files; }; \ | |
120 | } | |
93 | 121 | man1dir = $(mandir)/man1 |
94 | 122 | NROFF = nroff |
95 | 123 | MANS = $(man_MANS) |
100 | 128 | distdir = $(PACKAGE)-$(VERSION) |
101 | 129 | top_distdir = $(distdir) |
102 | 130 | am__remove_distdir = \ |
103 | { test ! -d "$(distdir)" \ | |
104 | || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | |
105 | && rm -fr "$(distdir)"; }; } | |
131 | if test -d "$(distdir)"; then \ | |
132 | find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | |
133 | && rm -rf "$(distdir)" \ | |
134 | || { sleep 5 && rm -rf "$(distdir)"; }; \ | |
135 | else :; fi | |
106 | 136 | DIST_ARCHIVES = $(distdir).tar.gz |
107 | 137 | GZIP_ENV = --best |
108 | 138 | distuninstallcheck_listfiles = find . -type f -print |
139 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | |
140 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' | |
109 | 141 | distcleancheck_listfiles = find . -type f -print |
110 | 142 | ACLOCAL = @ACLOCAL@ |
111 | 143 | AMTAR = @AMTAR@ |
208 | 240 | |
209 | 241 | .SUFFIXES: |
210 | 242 | .SUFFIXES: .cpp .o .obj |
211 | am--refresh: | |
243 | am--refresh: Makefile | |
212 | 244 | @: |
213 | 245 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
214 | 246 | @for dep in $?; do \ |
244 | 276 | $(am__aclocal_m4_deps): |
245 | 277 | |
246 | 278 | config.h: stamp-h1 |
247 | @if test ! -f $@; then \ | |
248 | rm -f stamp-h1; \ | |
249 | $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ | |
250 | else :; fi | |
279 | @if test ! -f $@; then rm -f stamp-h1; else :; fi | |
280 | @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi | |
251 | 281 | |
252 | 282 | stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status |
253 | 283 | @rm -f stamp-h1 |
261 | 291 | -rm -f config.h stamp-h1 |
262 | 292 | install-binPROGRAMS: $(bin_PROGRAMS) |
263 | 293 | @$(NORMAL_INSTALL) |
264 | test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" | |
265 | 294 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ |
295 | if test -n "$$list"; then \ | |
296 | echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ | |
297 | $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ | |
298 | fi; \ | |
266 | 299 | for p in $$list; do echo "$$p $$p"; done | \ |
267 | 300 | sed 's/$(EXEEXT)$$//' | \ |
268 | 301 | while read p p1; do if test -f $$p; \ |
296 | 329 | |
297 | 330 | clean-binPROGRAMS: |
298 | 331 | -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) |
299 | squidview$(EXEEXT): $(squidview_OBJECTS) $(squidview_DEPENDENCIES) | |
332 | squidview$(EXEEXT): $(squidview_OBJECTS) $(squidview_DEPENDENCIES) $(EXTRA_squidview_DEPENDENCIES) | |
300 | 333 | @rm -f squidview$(EXEEXT) |
301 | 334 | $(CXXLINK) $(squidview_OBJECTS) $(squidview_LDADD) $(LIBS) |
302 | 335 | |
323 | 356 | @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` |
324 | 357 | install-man1: $(man_MANS) |
325 | 358 | @$(NORMAL_INSTALL) |
326 | test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" | |
327 | @list=''; test -n "$(man1dir)" || exit 0; \ | |
328 | { for i in $$list; do echo "$$i"; done; \ | |
329 | l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ | |
330 | sed -n '/\.1[a-z]*$$/p'; \ | |
359 | @list1=''; \ | |
360 | list2='$(man_MANS)'; \ | |
361 | test -n "$(man1dir)" \ | |
362 | && test -n "`echo $$list1$$list2`" \ | |
363 | || exit 0; \ | |
364 | echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ | |
365 | $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ | |
366 | { for i in $$list1; do echo "$$i"; done; \ | |
367 | if test -n "$$list2"; then \ | |
368 | for i in $$list2; do echo "$$i"; done \ | |
369 | | sed -n '/\.1[a-z]*$$/p'; \ | |
370 | fi; \ | |
331 | 371 | } | while read p; do \ |
332 | 372 | if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ |
333 | 373 | echo "$$d$$p"; echo "$$p"; \ |
356 | 396 | sed -n '/\.1[a-z]*$$/p'; \ |
357 | 397 | } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ |
358 | 398 | -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ |
359 | test -z "$$files" || { \ | |
360 | echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ | |
361 | cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } | |
399 | dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) | |
362 | 400 | install-pkgdataDATA: $(pkgdata_DATA) |
363 | 401 | @$(NORMAL_INSTALL) |
364 | test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" | |
365 | 402 | @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ |
403 | if test -n "$$list"; then \ | |
404 | echo " $(MKDIR_P) '$(DESTDIR)$(pkgdatadir)'"; \ | |
405 | $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)" || exit 1; \ | |
406 | fi; \ | |
366 | 407 | for p in $$list; do \ |
367 | 408 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
368 | 409 | echo "$$d$$p"; \ |
376 | 417 | @$(NORMAL_UNINSTALL) |
377 | 418 | @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \ |
378 | 419 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ |
379 | test -n "$$files" || exit 0; \ | |
380 | echo " ( cd '$(DESTDIR)$(pkgdatadir)' && rm -f" $$files ")"; \ | |
381 | cd "$(DESTDIR)$(pkgdatadir)" && rm -f $$files | |
420 | dir='$(DESTDIR)$(pkgdatadir)'; $(am__uninstall_files_from_dir) | |
382 | 421 | |
383 | 422 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
384 | 423 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
489 | 528 | $(am__remove_distdir) |
490 | 529 | |
491 | 530 | dist-bzip2: distdir |
492 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 | |
531 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 | |
532 | $(am__remove_distdir) | |
533 | ||
534 | dist-lzip: distdir | |
535 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz | |
493 | 536 | $(am__remove_distdir) |
494 | 537 | |
495 | 538 | dist-lzma: distdir |
497 | 540 | $(am__remove_distdir) |
498 | 541 | |
499 | 542 | dist-xz: distdir |
500 | tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz | |
543 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz | |
501 | 544 | $(am__remove_distdir) |
502 | 545 | |
503 | 546 | dist-tarZ: distdir |
528 | 571 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
529 | 572 | *.tar.lzma*) \ |
530 | 573 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ |
574 | *.tar.lz*) \ | |
575 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ | |
531 | 576 | *.tar.xz*) \ |
532 | 577 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
533 | 578 | *.tar.Z*) \ |
537 | 582 | *.zip*) \ |
538 | 583 | unzip $(distdir).zip ;;\ |
539 | 584 | esac |
540 | chmod -R a-w $(distdir); chmod a+w $(distdir) | |
585 | chmod -R a-w $(distdir); chmod u+w $(distdir) | |
541 | 586 | mkdir $(distdir)/_build |
542 | 587 | mkdir $(distdir)/_inst |
543 | 588 | chmod a-w $(distdir) |
547 | 592 | && am__cwd=`pwd` \ |
548 | 593 | && $(am__cd) $(distdir)/_build \ |
549 | 594 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ |
595 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ | |
550 | 596 | $(DISTCHECK_CONFIGURE_FLAGS) \ |
551 | 597 | && $(MAKE) $(AM_MAKEFLAGS) \ |
552 | 598 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ |
575 | 621 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ |
576 | 622 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' |
577 | 623 | distuninstallcheck: |
578 | @$(am__cd) '$(distuninstallcheck_dir)' \ | |
579 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ | |
624 | @test -n '$(distuninstallcheck_dir)' || { \ | |
625 | echo 'ERROR: trying to run $@ with an empty' \ | |
626 | '$$(distuninstallcheck_dir)' >&2; \ | |
627 | exit 1; \ | |
628 | }; \ | |
629 | $(am__cd) '$(distuninstallcheck_dir)' || { \ | |
630 | echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ | |
631 | exit 1; \ | |
632 | }; \ | |
633 | test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ | |
580 | 634 | || { echo "ERROR: files left after uninstall:" ; \ |
581 | 635 | if test -n "$(DESTDIR)"; then \ |
582 | 636 | echo " (check DESTDIR support)"; \ |
609 | 663 | |
610 | 664 | installcheck: installcheck-am |
611 | 665 | install-strip: |
612 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
613 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
614 | `test -z '$(STRIP)' || \ | |
615 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
666 | if test -z '$(STRIP)'; then \ | |
667 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
668 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
669 | install; \ | |
670 | else \ | |
671 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
672 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | |
673 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ | |
674 | fi | |
616 | 675 | mostlyclean-generic: |
617 | 676 | |
618 | 677 | clean-generic: |
703 | 762 | |
704 | 763 | .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ |
705 | 764 | clean-binPROGRAMS clean-generic ctags dist dist-all dist-bzip2 \ |
706 | dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ | |
707 | distcheck distclean distclean-compile distclean-generic \ | |
708 | distclean-hdr distclean-tags distcleancheck distdir \ | |
709 | distuninstallcheck dvi dvi-am html html-am info info-am \ | |
710 | install install-am install-binPROGRAMS install-data \ | |
765 | dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \ | |
766 | dist-zip distcheck distclean distclean-compile \ | |
767 | distclean-generic distclean-hdr distclean-tags distcleancheck \ | |
768 | distdir distuninstallcheck dvi dvi-am html html-am info \ | |
769 | info-am install install-am install-binPROGRAMS install-data \ | |
711 | 770 | install-data-am install-dvi install-dvi-am install-exec \ |
712 | 771 | install-exec-am install-html install-html-am install-info \ |
713 | 772 | install-info-am install-man install-man1 install-pdf \ |
0 | squidview 0.7x (c) 2001 - 2007 Graeme Sheppard - GPL software | |
0 | squidview 0.8x (c) 2001 - 2013 Graeme Sheppard - GPL software | |
1 | 1 | www.rillion.net/squidview |
2 | 2 | |
3 | 3 | --Overview |
0 | # generated automatically by aclocal 1.11.1 -*- Autoconf -*- | |
0 | # generated automatically by aclocal 1.11.6 -*- Autoconf -*- | |
1 | 1 | |
2 | 2 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
3 | # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | |
3 | # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, | |
4 | # Inc. | |
4 | 5 | # This file is free software; the Free Software Foundation |
5 | 6 | # gives unlimited permission to copy and/or distribute it, |
6 | 7 | # with or without modifications, as long as this notice is preserved. |
12 | 13 | |
13 | 14 | m4_ifndef([AC_AUTOCONF_VERSION], |
14 | 15 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
15 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, | |
16 | [m4_warning([this file was generated for autoconf 2.68. | |
16 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, | |
17 | [m4_warning([this file was generated for autoconf 2.69. | |
17 | 18 | You have another version of autoconf. It may work, but is not guaranteed to. |
18 | 19 | If you have problems, you may need to regenerate the build system entirely. |
19 | 20 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
20 | 21 | |
21 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
22 | # | |
23 | # This file is free software; the Free Software Foundation | |
24 | # gives unlimited permission to copy and/or distribute it, | |
25 | # with or without modifications, as long as this notice is preserved. | |
22 | # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software | |
23 | # Foundation, Inc. | |
24 | # | |
25 | # This file is free software; the Free Software Foundation | |
26 | # gives unlimited permission to copy and/or distribute it, | |
27 | # with or without modifications, as long as this notice is preserved. | |
28 | ||
29 | # serial 1 | |
26 | 30 | |
27 | 31 | # AM_AUTOMAKE_VERSION(VERSION) |
28 | 32 | # ---------------------------- |
33 | 37 | [am__api_version='1.11' |
34 | 38 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
35 | 39 | dnl require some minimum version. Point them to the right macro. |
36 | m4_if([$1], [1.11.1], [], | |
40 | m4_if([$1], [1.11.6], [], | |
37 | 41 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
38 | 42 | ]) |
39 | 43 | |
49 | 53 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
50 | 54 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
51 | 55 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
52 | [AM_AUTOMAKE_VERSION([1.11.1])dnl | |
56 | [AM_AUTOMAKE_VERSION([1.11.6])dnl | |
53 | 57 | m4_ifndef([AC_AUTOCONF_VERSION], |
54 | 58 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
55 | 59 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
56 | 60 | |
57 | 61 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
58 | 62 | |
59 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
60 | # | |
61 | # This file is free software; the Free Software Foundation | |
62 | # gives unlimited permission to copy and/or distribute it, | |
63 | # with or without modifications, as long as this notice is preserved. | |
63 | # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. | |
64 | # | |
65 | # This file is free software; the Free Software Foundation | |
66 | # gives unlimited permission to copy and/or distribute it, | |
67 | # with or without modifications, as long as this notice is preserved. | |
68 | ||
69 | # serial 1 | |
64 | 70 | |
65 | 71 | # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
66 | 72 | # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to |
143 | 149 | Usually this means the macro was only invoked conditionally.]]) |
144 | 150 | fi])]) |
145 | 151 | |
146 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009 | |
147 | # Free Software Foundation, Inc. | |
148 | # | |
149 | # This file is free software; the Free Software Foundation | |
150 | # gives unlimited permission to copy and/or distribute it, | |
151 | # with or without modifications, as long as this notice is preserved. | |
152 | ||
153 | # serial 10 | |
152 | # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, | |
153 | # 2010, 2011 Free Software Foundation, Inc. | |
154 | # | |
155 | # This file is free software; the Free Software Foundation | |
156 | # gives unlimited permission to copy and/or distribute it, | |
157 | # with or without modifications, as long as this notice is preserved. | |
158 | ||
159 | # serial 12 | |
154 | 160 | |
155 | 161 | # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be |
156 | 162 | # written in clear, in which case automake, when reading aclocal.m4, |
190 | 196 | # instance it was reported that on HP-UX the gcc test will end up |
191 | 197 | # making a dummy file named `D' -- because `-MD' means `put the output |
192 | 198 | # in D'. |
199 | rm -rf conftest.dir | |
193 | 200 | mkdir conftest.dir |
194 | 201 | # Copy depcomp to subdir because otherwise we won't find it if we're |
195 | 202 | # using a relative directory. |
254 | 261 | break |
255 | 262 | fi |
256 | 263 | ;; |
257 | msvisualcpp | msvcmsys) | |
264 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | |
258 | 265 | # This compiler won't grok `-c -o', but also, the minuso test has |
259 | 266 | # not run yet. These depmodes are late enough in the game, and |
260 | 267 | # so weak that their functioning should not be impacted. |
319 | 326 | if test "x$enable_dependency_tracking" != xno; then |
320 | 327 | am_depcomp="$ac_aux_dir/depcomp" |
321 | 328 | AMDEPBACKSLASH='\' |
329 | am__nodep='_no' | |
322 | 330 | fi |
323 | 331 | AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) |
324 | 332 | AC_SUBST([AMDEPBACKSLASH])dnl |
325 | 333 | _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl |
334 | AC_SUBST([am__nodep])dnl | |
335 | _AM_SUBST_NOTMAKE([am__nodep])dnl | |
326 | 336 | ]) |
327 | 337 | |
328 | 338 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
556 | 566 | done |
557 | 567 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
558 | 568 | |
559 | # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc. | |
560 | # | |
561 | # This file is free software; the Free Software Foundation | |
562 | # gives unlimited permission to copy and/or distribute it, | |
563 | # with or without modifications, as long as this notice is preserved. | |
569 | # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, | |
570 | # Inc. | |
571 | # | |
572 | # This file is free software; the Free Software Foundation | |
573 | # gives unlimited permission to copy and/or distribute it, | |
574 | # with or without modifications, as long as this notice is preserved. | |
575 | ||
576 | # serial 1 | |
564 | 577 | |
565 | 578 | # AM_PROG_INSTALL_SH |
566 | 579 | # ------------------ |
693 | 706 | fi |
694 | 707 | ]) |
695 | 708 | |
696 | # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. | |
697 | # | |
698 | # This file is free software; the Free Software Foundation | |
699 | # gives unlimited permission to copy and/or distribute it, | |
700 | # with or without modifications, as long as this notice is preserved. | |
709 | # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, | |
710 | # Inc. | |
711 | # | |
712 | # This file is free software; the Free Software Foundation | |
713 | # gives unlimited permission to copy and/or distribute it, | |
714 | # with or without modifications, as long as this notice is preserved. | |
715 | ||
716 | # serial 1 | |
701 | 717 | |
702 | 718 | # AM_PROG_MKDIR_P |
703 | 719 | # --------------- |
721 | 737 | |
722 | 738 | # Helper functions for option handling. -*- Autoconf -*- |
723 | 739 | |
724 | # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc. | |
725 | # | |
726 | # This file is free software; the Free Software Foundation | |
727 | # gives unlimited permission to copy and/or distribute it, | |
728 | # with or without modifications, as long as this notice is preserved. | |
729 | ||
730 | # serial 4 | |
740 | # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software | |
741 | # Foundation, Inc. | |
742 | # | |
743 | # This file is free software; the Free Software Foundation | |
744 | # gives unlimited permission to copy and/or distribute it, | |
745 | # with or without modifications, as long as this notice is preserved. | |
746 | ||
747 | # serial 5 | |
731 | 748 | |
732 | 749 | # _AM_MANGLE_OPTION(NAME) |
733 | 750 | # ----------------------- |
735 | 752 | [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) |
736 | 753 | |
737 | 754 | # _AM_SET_OPTION(NAME) |
738 | # ------------------------------ | |
755 | # -------------------- | |
739 | 756 | # Set option NAME. Presently that only means defining a flag for this option. |
740 | 757 | AC_DEFUN([_AM_SET_OPTION], |
741 | 758 | [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) |
742 | 759 | |
743 | 760 | # _AM_SET_OPTIONS(OPTIONS) |
744 | # ---------------------------------- | |
761 | # ------------------------ | |
745 | 762 | # OPTIONS is a space-separated list of Automake options. |
746 | 763 | AC_DEFUN([_AM_SET_OPTIONS], |
747 | 764 | [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) |
817 | 834 | fi |
818 | 835 | AC_MSG_RESULT(yes)]) |
819 | 836 | |
820 | # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | |
821 | # | |
822 | # This file is free software; the Free Software Foundation | |
823 | # gives unlimited permission to copy and/or distribute it, | |
824 | # with or without modifications, as long as this notice is preserved. | |
837 | # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. | |
838 | # | |
839 | # This file is free software; the Free Software Foundation | |
840 | # gives unlimited permission to copy and/or distribute it, | |
841 | # with or without modifications, as long as this notice is preserved. | |
842 | ||
843 | # serial 1 | |
825 | 844 | |
826 | 845 | # AM_PROG_INSTALL_STRIP |
827 | 846 | # --------------------- |
845 | 864 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
846 | 865 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
847 | 866 | |
848 | # Copyright (C) 2006, 2008 Free Software Foundation, Inc. | |
849 | # | |
850 | # This file is free software; the Free Software Foundation | |
851 | # gives unlimited permission to copy and/or distribute it, | |
852 | # with or without modifications, as long as this notice is preserved. | |
853 | ||
854 | # serial 2 | |
867 | # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. | |
868 | # | |
869 | # This file is free software; the Free Software Foundation | |
870 | # gives unlimited permission to copy and/or distribute it, | |
871 | # with or without modifications, as long as this notice is preserved. | |
872 | ||
873 | # serial 3 | |
855 | 874 | |
856 | 875 | # _AM_SUBST_NOTMAKE(VARIABLE) |
857 | 876 | # --------------------------- |
860 | 879 | AC_DEFUN([_AM_SUBST_NOTMAKE]) |
861 | 880 | |
862 | 881 | # AM_SUBST_NOTMAKE(VARIABLE) |
863 | # --------------------------- | |
882 | # -------------------------- | |
864 | 883 | # Public sister of _AM_SUBST_NOTMAKE. |
865 | 884 | AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) |
866 | 885 | |
867 | 886 | # Check how to create a tarball. -*- Autoconf -*- |
868 | 887 | |
869 | # Copyright (C) 2004, 2005 Free Software Foundation, Inc. | |
888 | # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. | |
870 | 889 | # |
871 | 890 | # This file is free software; the Free Software Foundation |
872 | 891 | # gives unlimited permission to copy and/or distribute it, |
888 | 907 | # a tarball read from stdin. |
889 | 908 | # $(am__untar) < result.tar |
890 | 909 | AC_DEFUN([_AM_PROG_TAR], |
891 | [# Always define AMTAR for backward compatibility. | |
892 | AM_MISSING_PROG([AMTAR], [tar]) | |
910 | [# Always define AMTAR for backward compatibility. Yes, it's still used | |
911 | # in the wild :-( We should find a proper way to deprecate it ... | |
912 | AC_SUBST([AMTAR], ['$${TAR-tar}']) | |
893 | 913 | m4_if([$1], [v7], |
894 | [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], | |
914 | [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], | |
895 | 915 | [m4_case([$1], [ustar],, [pax],, |
896 | 916 | [m4_fatal([Unknown tar format])]) |
897 | 917 | AC_MSG_CHECKING([how to create a $1 tar archive]) |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.68. | |
2 | # Generated by GNU Autoconf 2.69. | |
3 | 3 | # |
4 | 4 | # |
5 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | |
6 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | |
7 | # Foundation, Inc. | |
5 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | |
8 | 6 | # |
9 | 7 | # |
10 | 8 | # This configure script is free software; the Free Software Foundation |
133 | 131 | # CDPATH. |
134 | 132 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
135 | 133 | |
134 | # Use a proper internal environment variable to ensure we don't fall | |
135 | # into an infinite loop, continuously re-executing ourselves. | |
136 | if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | |
137 | _as_can_reexec=no; export _as_can_reexec; | |
138 | # We cannot yet assume a decent shell, so we have to provide a | |
139 | # neutralization value for shells without unset; and this also | |
140 | # works around shells that cannot unset nonexistent variables. | |
141 | # Preserve -v and -x to the replacement shell. | |
142 | BASH_ENV=/dev/null | |
143 | ENV=/dev/null | |
144 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
145 | case $- in # (((( | |
146 | *v*x* | *x*v* ) as_opts=-vx ;; | |
147 | *v* ) as_opts=-v ;; | |
148 | *x* ) as_opts=-x ;; | |
149 | * ) as_opts= ;; | |
150 | esac | |
151 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
152 | # Admittedly, this is quite paranoid, since all the known shells bail | |
153 | # out after a failed `exec'. | |
154 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
155 | as_fn_exit 255 | |
156 | fi | |
157 | # We don't want this to propagate to other subprocesses. | |
158 | { _as_can_reexec=; unset _as_can_reexec;} | |
136 | 159 | if test "x$CONFIG_SHELL" = x; then |
137 | 160 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
138 | 161 | emulate sh |
166 | 189 | else |
167 | 190 | exitcode=1; echo positional parameters were not saved. |
168 | 191 | fi |
169 | test x\$exitcode = x0 || exit 1" | |
192 | test x\$exitcode = x0 || exit 1 | |
193 | test -x / || exit 1" | |
170 | 194 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
171 | 195 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
172 | 196 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
211 | 235 | |
212 | 236 | |
213 | 237 | if test "x$CONFIG_SHELL" != x; then : |
214 | # We cannot yet assume a decent shell, so we have to provide a | |
215 | # neutralization value for shells without unset; and this also | |
216 | # works around shells that cannot unset nonexistent variables. | |
217 | # Preserve -v and -x to the replacement shell. | |
218 | BASH_ENV=/dev/null | |
219 | ENV=/dev/null | |
220 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
221 | export CONFIG_SHELL | |
222 | case $- in # (((( | |
223 | *v*x* | *x*v* ) as_opts=-vx ;; | |
224 | *v* ) as_opts=-v ;; | |
225 | *x* ) as_opts=-x ;; | |
226 | * ) as_opts= ;; | |
227 | esac | |
228 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | |
238 | export CONFIG_SHELL | |
239 | # We cannot yet assume a decent shell, so we have to provide a | |
240 | # neutralization value for shells without unset; and this also | |
241 | # works around shells that cannot unset nonexistent variables. | |
242 | # Preserve -v and -x to the replacement shell. | |
243 | BASH_ENV=/dev/null | |
244 | ENV=/dev/null | |
245 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
246 | case $- in # (((( | |
247 | *v*x* | *x*v* ) as_opts=-vx ;; | |
248 | *v* ) as_opts=-v ;; | |
249 | *x* ) as_opts=-x ;; | |
250 | * ) as_opts= ;; | |
251 | esac | |
252 | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
253 | # Admittedly, this is quite paranoid, since all the known shells bail | |
254 | # out after a failed `exec'. | |
255 | $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
256 | exit 255 | |
229 | 257 | fi |
230 | 258 | |
231 | 259 | if test x$as_have_required = xno; then : |
327 | 355 | |
328 | 356 | |
329 | 357 | } # as_fn_mkdir_p |
358 | ||
359 | # as_fn_executable_p FILE | |
360 | # ----------------------- | |
361 | # Test if FILE is an executable regular file. | |
362 | as_fn_executable_p () | |
363 | { | |
364 | test -f "$1" && test -x "$1" | |
365 | } # as_fn_executable_p | |
330 | 366 | # as_fn_append VAR VALUE |
331 | 367 | # ---------------------- |
332 | 368 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
448 | 484 | chmod +x "$as_me.lineno" || |
449 | 485 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
450 | 486 | |
487 | # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | |
488 | # already done that, so ensure we don't try to do so again and fall | |
489 | # in an infinite loop. This has already happened in practice. | |
490 | _as_can_reexec=no; export _as_can_reexec | |
451 | 491 | # Don't try to exec as it changes $[0], causing all sort of problems |
452 | 492 | # (the dirname of $[0] is not the place where we might find the |
453 | 493 | # original and so on. Autoconf is especially sensitive to this). |
482 | 522 | # ... but there are two gotchas: |
483 | 523 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
484 | 524 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
485 | # In both cases, we have to default to `cp -p'. | |
525 | # In both cases, we have to default to `cp -pR'. | |
486 | 526 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
487 | as_ln_s='cp -p' | |
527 | as_ln_s='cp -pR' | |
488 | 528 | elif ln conf$$.file conf$$ 2>/dev/null; then |
489 | 529 | as_ln_s=ln |
490 | 530 | else |
491 | as_ln_s='cp -p' | |
531 | as_ln_s='cp -pR' | |
492 | 532 | fi |
493 | 533 | else |
494 | as_ln_s='cp -p' | |
534 | as_ln_s='cp -pR' | |
495 | 535 | fi |
496 | 536 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
497 | 537 | rmdir conf$$.dir 2>/dev/null |
503 | 543 | as_mkdir_p=false |
504 | 544 | fi |
505 | 545 | |
506 | if test -x / >/dev/null 2>&1; then | |
507 | as_test_x='test -x' | |
508 | else | |
509 | if ls -dL / >/dev/null 2>&1; then | |
510 | as_ls_L_option=L | |
511 | else | |
512 | as_ls_L_option= | |
513 | fi | |
514 | as_test_x=' | |
515 | eval sh -c '\'' | |
516 | if test -d "$1"; then | |
517 | test -d "$1/."; | |
518 | else | |
519 | case $1 in #( | |
520 | -*)set "./$1";; | |
521 | esac; | |
522 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
523 | ???[sx]*):;;*)false;;esac;fi | |
524 | '\'' sh | |
525 | ' | |
526 | fi | |
527 | as_executable_p=$as_test_x | |
546 | as_test_x='test -x' | |
547 | as_executable_p=as_fn_executable_p | |
528 | 548 | |
529 | 549 | # Sed expression to map a string onto a valid CPP name. |
530 | 550 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
614 | 634 | am__fastdepCXX_FALSE |
615 | 635 | am__fastdepCXX_TRUE |
616 | 636 | CXXDEPMODE |
637 | am__nodep | |
617 | 638 | AMDEPBACKSLASH |
618 | 639 | AMDEP_FALSE |
619 | 640 | AMDEP_TRUE |
1160 | 1181 | if test "x$host_alias" != x; then |
1161 | 1182 | if test "x$build_alias" = x; then |
1162 | 1183 | cross_compiling=maybe |
1163 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. | |
1164 | If a cross compiler is detected then cross compile mode will be used" >&2 | |
1165 | 1184 | elif test "x$build_alias" != "x$host_alias"; then |
1166 | 1185 | cross_compiling=yes |
1167 | 1186 | fi |
1401 | 1420 | if $ac_init_version; then |
1402 | 1421 | cat <<\_ACEOF |
1403 | 1422 | configure |
1404 | generated by GNU Autoconf 2.68 | |
1405 | ||
1406 | Copyright (C) 2010 Free Software Foundation, Inc. | |
1423 | generated by GNU Autoconf 2.69 | |
1424 | ||
1425 | Copyright (C) 2012 Free Software Foundation, Inc. | |
1407 | 1426 | This configure script is free software; the Free Software Foundation |
1408 | 1427 | gives unlimited permission to copy, distribute and modify it. |
1409 | 1428 | _ACEOF |
1745 | 1764 | test ! -s conftest.err |
1746 | 1765 | } && test -s conftest$ac_exeext && { |
1747 | 1766 | test "$cross_compiling" = yes || |
1748 | $as_test_x conftest$ac_exeext | |
1767 | test -x conftest$ac_exeext | |
1749 | 1768 | }; then : |
1750 | 1769 | ac_retval=0 |
1751 | 1770 | else |
1768 | 1787 | running configure, to aid debugging if configure makes a mistake. |
1769 | 1788 | |
1770 | 1789 | It was created by $as_me, which was |
1771 | generated by GNU Autoconf 2.68. Invocation command line was | |
1790 | generated by GNU Autoconf 2.69. Invocation command line was | |
1772 | 1791 | |
1773 | 1792 | $ $0 $@ |
1774 | 1793 | |
2185 | 2204 | # by default. |
2186 | 2205 | for ac_prog in ginstall scoinst install; do |
2187 | 2206 | for ac_exec_ext in '' $ac_executable_extensions; do |
2188 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | |
2207 | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | |
2189 | 2208 | if test $ac_prog = install && |
2190 | 2209 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2191 | 2210 | # AIX install. It has an incompatible calling convention. |
2354 | 2373 | IFS=$as_save_IFS |
2355 | 2374 | test -z "$as_dir" && as_dir=. |
2356 | 2375 | for ac_exec_ext in '' $ac_executable_extensions; do |
2357 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2376 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2358 | 2377 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2359 | 2378 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2360 | 2379 | break 2 |
2394 | 2413 | IFS=$as_save_IFS |
2395 | 2414 | test -z "$as_dir" && as_dir=. |
2396 | 2415 | for ac_exec_ext in '' $ac_executable_extensions; do |
2397 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2416 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2398 | 2417 | ac_cv_prog_ac_ct_STRIP="strip" |
2399 | 2418 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2400 | 2419 | break 2 |
2445 | 2464 | test -z "$as_dir" && as_dir=. |
2446 | 2465 | for ac_prog in mkdir gmkdir; do |
2447 | 2466 | for ac_exec_ext in '' $ac_executable_extensions; do |
2448 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | |
2467 | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue | |
2449 | 2468 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2450 | 2469 | 'mkdir (GNU coreutils) '* | \ |
2451 | 2470 | 'mkdir (coreutils) '* | \ |
2498 | 2517 | IFS=$as_save_IFS |
2499 | 2518 | test -z "$as_dir" && as_dir=. |
2500 | 2519 | for ac_exec_ext in '' $ac_executable_extensions; do |
2501 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2520 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2502 | 2521 | ac_cv_prog_AWK="$ac_prog" |
2503 | 2522 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2504 | 2523 | break 2 |
2584 | 2603 | |
2585 | 2604 | # Define the identity of the package. |
2586 | 2605 | PACKAGE=squidview |
2587 | VERSION=0.79 | |
2606 | VERSION=0.80 | |
2588 | 2607 | |
2589 | 2608 | |
2590 | 2609 | cat >>confdefs.h <<_ACEOF |
2614 | 2633 | |
2615 | 2634 | # We need awk for the "check" target. The system "awk" is bad on |
2616 | 2635 | # some platforms. |
2617 | # Always define AMTAR for backward compatibility. | |
2618 | ||
2619 | AMTAR=${AMTAR-"${am_missing_run}tar"} | |
2620 | ||
2621 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | |
2636 | # Always define AMTAR for backward compatibility. Yes, it's still used | |
2637 | # in the wild :-( We should find a proper way to deprecate it ... | |
2638 | AMTAR='$${TAR-tar}' | |
2639 | ||
2640 | am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' | |
2622 | 2641 | |
2623 | 2642 | |
2624 | 2643 | |
2652 | 2671 | IFS=$as_save_IFS |
2653 | 2672 | test -z "$as_dir" && as_dir=. |
2654 | 2673 | for ac_exec_ext in '' $ac_executable_extensions; do |
2655 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2674 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2656 | 2675 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
2657 | 2676 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2658 | 2677 | break 2 |
2696 | 2715 | IFS=$as_save_IFS |
2697 | 2716 | test -z "$as_dir" && as_dir=. |
2698 | 2717 | for ac_exec_ext in '' $ac_executable_extensions; do |
2699 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
2718 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
2700 | 2719 | ac_cv_prog_ac_ct_CXX="$ac_prog" |
2701 | 2720 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2702 | 2721 | break 2 |
3182 | 3201 | if test "x$enable_dependency_tracking" != xno; then |
3183 | 3202 | am_depcomp="$ac_aux_dir/depcomp" |
3184 | 3203 | AMDEPBACKSLASH='\' |
3204 | am__nodep='_no' | |
3185 | 3205 | fi |
3186 | 3206 | if test "x$enable_dependency_tracking" != xno; then |
3187 | 3207 | AMDEP_TRUE= |
3206 | 3226 | # instance it was reported that on HP-UX the gcc test will end up |
3207 | 3227 | # making a dummy file named `D' -- because `-MD' means `put the output |
3208 | 3228 | # in D'. |
3229 | rm -rf conftest.dir | |
3209 | 3230 | mkdir conftest.dir |
3210 | 3231 | # Copy depcomp to subdir because otherwise we won't find it if we're |
3211 | 3232 | # using a relative directory. |
3265 | 3286 | break |
3266 | 3287 | fi |
3267 | 3288 | ;; |
3268 | msvisualcpp | msvcmsys) | |
3289 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | |
3269 | 3290 | # This compiler won't grok `-c -o', but also, the minuso test has |
3270 | 3291 | # not run yet. These depmodes are late enough in the game, and |
3271 | 3292 | # so weak that their functioning should not be impacted. |
3344 | 3365 | IFS=$as_save_IFS |
3345 | 3366 | test -z "$as_dir" && as_dir=. |
3346 | 3367 | for ac_exec_ext in '' $ac_executable_extensions; do |
3347 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3368 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3348 | 3369 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3349 | 3370 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3350 | 3371 | break 2 |
3384 | 3405 | IFS=$as_save_IFS |
3385 | 3406 | test -z "$as_dir" && as_dir=. |
3386 | 3407 | for ac_exec_ext in '' $ac_executable_extensions; do |
3387 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3408 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3388 | 3409 | ac_cv_prog_ac_ct_CC="gcc" |
3389 | 3410 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3390 | 3411 | break 2 |
3437 | 3458 | IFS=$as_save_IFS |
3438 | 3459 | test -z "$as_dir" && as_dir=. |
3439 | 3460 | for ac_exec_ext in '' $ac_executable_extensions; do |
3440 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3461 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3441 | 3462 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
3442 | 3463 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3443 | 3464 | break 2 |
3478 | 3499 | IFS=$as_save_IFS |
3479 | 3500 | test -z "$as_dir" && as_dir=. |
3480 | 3501 | for ac_exec_ext in '' $ac_executable_extensions; do |
3481 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3502 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3482 | 3503 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3483 | 3504 | ac_prog_rejected=yes |
3484 | 3505 | continue |
3536 | 3557 | IFS=$as_save_IFS |
3537 | 3558 | test -z "$as_dir" && as_dir=. |
3538 | 3559 | for ac_exec_ext in '' $ac_executable_extensions; do |
3539 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3560 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3540 | 3561 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3541 | 3562 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3542 | 3563 | break 2 |
3580 | 3601 | IFS=$as_save_IFS |
3581 | 3602 | test -z "$as_dir" && as_dir=. |
3582 | 3603 | for ac_exec_ext in '' $ac_executable_extensions; do |
3583 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | |
3604 | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
3584 | 3605 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3585 | 3606 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3586 | 3607 | break 2 |
3776 | 3797 | /* end confdefs.h. */ |
3777 | 3798 | #include <stdarg.h> |
3778 | 3799 | #include <stdio.h> |
3779 | #include <sys/types.h> | |
3780 | #include <sys/stat.h> | |
3800 | struct stat; | |
3781 | 3801 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3782 | 3802 | struct buf { int x; }; |
3783 | 3803 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3875 | 3895 | # instance it was reported that on HP-UX the gcc test will end up |
3876 | 3896 | # making a dummy file named `D' -- because `-MD' means `put the output |
3877 | 3897 | # in D'. |
3898 | rm -rf conftest.dir | |
3878 | 3899 | mkdir conftest.dir |
3879 | 3900 | # Copy depcomp to subdir because otherwise we won't find it if we're |
3880 | 3901 | # using a relative directory. |
3934 | 3955 | break |
3935 | 3956 | fi |
3936 | 3957 | ;; |
3937 | msvisualcpp | msvcmsys) | |
3958 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | |
3938 | 3959 | # This compiler won't grok `-c -o', but also, the minuso test has |
3939 | 3960 | # not run yet. These depmodes are late enough in the game, and |
3940 | 3961 | # so weak that their functioning should not be impacted. |
4163 | 4184 | for ac_prog in grep ggrep; do |
4164 | 4185 | for ac_exec_ext in '' $ac_executable_extensions; do |
4165 | 4186 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4166 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | |
4187 | as_fn_executable_p "$ac_path_GREP" || continue | |
4167 | 4188 | # Check for GNU ac_path_GREP and select it if it is found. |
4168 | 4189 | # Check for GNU $ac_path_GREP |
4169 | 4190 | case `"$ac_path_GREP" --version 2>&1` in |
4229 | 4250 | for ac_prog in egrep; do |
4230 | 4251 | for ac_exec_ext in '' $ac_executable_extensions; do |
4231 | 4252 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4232 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | |
4253 | as_fn_executable_p "$ac_path_EGREP" || continue | |
4233 | 4254 | # Check for GNU ac_path_EGREP and select it if it is found. |
4234 | 4255 | # Check for GNU $ac_path_EGREP |
4235 | 4256 | case `"$ac_path_EGREP" --version 2>&1` in |
5005 | 5026 | # ... but there are two gotchas: |
5006 | 5027 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
5007 | 5028 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
5008 | # In both cases, we have to default to `cp -p'. | |
5029 | # In both cases, we have to default to `cp -pR'. | |
5009 | 5030 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
5010 | as_ln_s='cp -p' | |
5031 | as_ln_s='cp -pR' | |
5011 | 5032 | elif ln conf$$.file conf$$ 2>/dev/null; then |
5012 | 5033 | as_ln_s=ln |
5013 | 5034 | else |
5014 | as_ln_s='cp -p' | |
5035 | as_ln_s='cp -pR' | |
5015 | 5036 | fi |
5016 | 5037 | else |
5017 | as_ln_s='cp -p' | |
5038 | as_ln_s='cp -pR' | |
5018 | 5039 | fi |
5019 | 5040 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
5020 | 5041 | rmdir conf$$.dir 2>/dev/null |
5074 | 5095 | as_mkdir_p=false |
5075 | 5096 | fi |
5076 | 5097 | |
5077 | if test -x / >/dev/null 2>&1; then | |
5078 | as_test_x='test -x' | |
5079 | else | |
5080 | if ls -dL / >/dev/null 2>&1; then | |
5081 | as_ls_L_option=L | |
5082 | else | |
5083 | as_ls_L_option= | |
5084 | fi | |
5085 | as_test_x=' | |
5086 | eval sh -c '\'' | |
5087 | if test -d "$1"; then | |
5088 | test -d "$1/."; | |
5089 | else | |
5090 | case $1 in #( | |
5091 | -*)set "./$1";; | |
5092 | esac; | |
5093 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
5094 | ???[sx]*):;;*)false;;esac;fi | |
5095 | '\'' sh | |
5096 | ' | |
5097 | fi | |
5098 | as_executable_p=$as_test_x | |
5098 | ||
5099 | # as_fn_executable_p FILE | |
5100 | # ----------------------- | |
5101 | # Test if FILE is an executable regular file. | |
5102 | as_fn_executable_p () | |
5103 | { | |
5104 | test -f "$1" && test -x "$1" | |
5105 | } # as_fn_executable_p | |
5106 | as_test_x='test -x' | |
5107 | as_executable_p=as_fn_executable_p | |
5099 | 5108 | |
5100 | 5109 | # Sed expression to map a string onto a valid CPP name. |
5101 | 5110 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
5117 | 5126 | # values after options handling. |
5118 | 5127 | ac_log=" |
5119 | 5128 | This file was extended by $as_me, which was |
5120 | generated by GNU Autoconf 2.68. Invocation command line was | |
5129 | generated by GNU Autoconf 2.69. Invocation command line was | |
5121 | 5130 | |
5122 | 5131 | CONFIG_FILES = $CONFIG_FILES |
5123 | 5132 | CONFIG_HEADERS = $CONFIG_HEADERS |
5183 | 5192 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
5184 | 5193 | ac_cs_version="\\ |
5185 | 5194 | config.status |
5186 | configured by $0, generated by GNU Autoconf 2.68, | |
5195 | configured by $0, generated by GNU Autoconf 2.69, | |
5187 | 5196 | with options \\"\$ac_cs_config\\" |
5188 | 5197 | |
5189 | Copyright (C) 2010 Free Software Foundation, Inc. | |
5198 | Copyright (C) 2012 Free Software Foundation, Inc. | |
5190 | 5199 | This config.status script is free software; the Free Software Foundation |
5191 | 5200 | gives unlimited permission to copy, distribute and modify it." |
5192 | 5201 | |
5277 | 5286 | _ACEOF |
5278 | 5287 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5279 | 5288 | if \$ac_cs_recheck; then |
5280 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
5289 | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
5281 | 5290 | shift |
5282 | 5291 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
5283 | 5292 | CONFIG_SHELL='$SHELL' |
14 | 14 | |
15 | 15 | AC_INIT(squidview.cpp) |
16 | 16 | AM_CONFIG_HEADER(config.h) |
17 | AM_INIT_AUTOMAKE(squidview,0.79) | |
17 | AM_INIT_AUTOMAKE(squidview,0.80) | |
18 | 18 | AC_PROG_CXX |
19 | 19 | AC_PROG_INSTALL |
20 | 20 |
12 | 12 | * along with this program; if not, write to the Free Software |
13 | 13 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
14 | 14 | |
15 | squidview 0.7x | |
15 | squidview 0.8x | |
16 | 16 | |
17 | 17 | A program to nicely browse your squid log |
18 | 18 | |
19 | (c) 2001 - 2011 Graeme Sheppard | |
19 | (c) 2001 - 2013 Graeme Sheppard | |
20 | 20 | |
21 | 21 | This program is not how it would be if I had to rewrite it from scratch. |
22 | 22 | It started off very simple (quick and nasty) and needed to be fast because |
697 | 697 | { |
698 | 698 | int iCount, iSize; |
699 | 699 | |
700 | GetColumn (szRequest, nTargetCol, sDomain); | |
700 | GetColumn (szRequest, iTargetCol, sDomain); | |
701 | 701 | RemoveSlashes (sDomain); |
702 | 702 | iSize = sDomain.length(); |
703 | 703 | for (iCount = 0; iCount < iSize; iCount++) |
736 | 736 | char cLetter; |
737 | 737 | time_t iTime; |
738 | 738 | |
739 | GetColumn (szRequest, nTimeCol, sTemp); | |
739 | GetColumn (szRequest, iTimeCol, sTemp); | |
740 | 740 | if (sTemp == "") |
741 | 741 | return 0; |
742 | 742 | |
1310 | 1310 | string sTemp; |
1311 | 1311 | tFilePos iSize; |
1312 | 1312 | |
1313 | GetColumn (szRequest, nSizeCol, sTemp); | |
1313 | GetColumn (szRequest, iSizeCol, sTemp); | |
1314 | 1314 | if (sTemp == "") |
1315 | 1315 | return 0; |
1316 | 1316 | iSize = atoi (sTemp.c_str()); |
1325 | 1325 | |
1326 | 1326 | cHit = ' '; |
1327 | 1327 | iHitNumber = 0; |
1328 | GetColumn (szRequest, nCacheHitCol, sBoth); | |
1328 | GetColumn (szRequest, iCacheHitCol, sBoth); | |
1329 | 1329 | iLength = sBoth.length(); |
1330 | 1330 | for (iCount = 0; iCount < iLength; iCount++) |
1331 | 1331 | if (sBoth [iCount] == '/') |
2028 | 2028 | static string sDispLine; |
2029 | 2029 | static time_t iTime; |
2030 | 2030 | |
2031 | GetColumn (pcReqBuff, nSizeCol, sTemp); | |
2031 | GetColumn (pcReqBuff, iSizeCol, sTemp); | |
2032 | 2032 | sDispLine = sTemp + sRepSeperator; |
2033 | 2033 | sTemp = GetUserName (pcReqBuff, true); |
2034 | 2034 | sDispLine += sTemp + sRepSeperator; |
2035 | 2035 | sDispLine += sFlags + sRepSeperator; |
2036 | GetColumn (pcReqBuff, nTimeCol, sTemp); | |
2036 | GetColumn (pcReqBuff, iTimeCol, sTemp); | |
2037 | 2037 | sDispLine += sTemp + sRepSeperator; |
2038 | 2038 | iTime = GetTimeNumber (pcReqBuff); |
2039 | 2039 | CalcTime (iTime, sTemp); |
2040 | 2040 | RemoveSeconds (sTemp); |
2041 | 2041 | sDispLine += sTemp + sRepSeperator; |
2042 | GetColumn (pcReqBuff, nTargetCol, sTemp); | |
2042 | GetColumn (pcReqBuff, iTargetCol, sTemp); | |
2043 | 2043 | KeepExtension (sTemp, iRepCSVcols); |
2044 | 2044 | sDispLine += sTemp + "\n"; |
2045 | 2045 | WriteReportLine (sDispLine); |
2080 | 2080 | if (sTime != "") |
2081 | 2081 | WriteReportLine (sBytePad + sTime + "\n"); |
2082 | 2082 | |
2083 | GetColumn (pcReqBuff, nTargetCol, sTarget); | |
2083 | GetColumn (pcReqBuff, iTargetCol, sTarget); | |
2084 | 2084 | RemoveSlashes (sTarget); |
2085 | 2085 | |
2086 | 2086 | if (bRepSplit == false) |
3647 | 3647 | void ChangeLog (int iNewLog) |
3648 | 3648 | { |
3649 | 3649 | string sTemp; |
3650 | int iLen; | |
3651 | int iBase; | |
3650 | 3652 | |
3651 | 3653 | switch (iNewLog) |
3652 | 3654 | { |
3687 | 3689 | } |
3688 | 3690 | |
3689 | 3691 | GetLine (0); |
3690 | GetColumn (pcReqBuff, 3, sTemp); | |
3692 | iBase = 0; | |
3693 | ||
3694 | GetColumn (pcReqBuff, 5, sTemp); | |
3695 | iLen = sTemp.length(); | |
3696 | if ((iLen > 2) && (sTemp [iLen - 1] == ':')) | |
3697 | iBase = 5; | |
3698 | ||
3699 | iTimeCol = iBase + 1; | |
3700 | iIPCol = iBase + 3; | |
3701 | iCacheHitCol = iBase + 4; | |
3702 | iSizeCol = iBase + 5; | |
3703 | iTargetCol = iBase + 7; | |
3704 | ||
3705 | GetColumn (pcReqBuff, iBase + 3, sTemp); | |
3691 | 3706 | if ((sTemp == "") || (sTemp [0] < 'A')) |
3692 | { | |
3693 | iUserCol = nUserCol_a; | |
3694 | iIPCol = nIPCol_a; | |
3695 | } | |
3707 | iUserCol = iBase + 8; | |
3696 | 3708 | else |
3697 | { | |
3698 | iUserCol = nUserCol_b; | |
3699 | iIPCol = nIPCol_b; | |
3700 | } | |
3709 | iUserCol = iBase + 3; | |
3701 | 3710 | } |
3702 | 3711 | |
3703 | 3712 | |
4467 | 4476 | if (GetLine (vRequests [iRow]) > vRequests [iRow]) |
4468 | 4477 | { |
4469 | 4478 | GetRequestFlags (pcReqBuff, sFlags); |
4470 | GetColumn (pcReqBuff, nTargetCol, sTarget); | |
4479 | GetColumn (pcReqBuff, iTargetCol, sTarget); | |
4471 | 4480 | RemoveSlashes (sTarget); |
4472 | 4481 | sLine = sFlags + " " + sTarget; |
4473 | 4482 | KeepExtension (sLine, iColumns); |
4852 | 4861 | sLine = sLine + " " + sTemp; |
4853 | 4862 | if (GetLine (rEntry.iGreatestURL) > rEntry.iGreatestURL) |
4854 | 4863 | { |
4855 | GetColumn (pcReqBuff, nTargetCol, sTemp); | |
4864 | GetColumn (pcReqBuff, iTargetCol, sTemp); | |
4856 | 4865 | RemoveSlashes (sTemp); |
4857 | 4866 | sLine += " " + sTemp; |
4858 | 4867 | } |
4894 | 4903 | sLine = LookupUser (rEntry); |
4895 | 4904 | if (GetLine (rEntry.iLastURL) > rEntry.iLastURL) |
4896 | 4905 | { |
4897 | GetColumn (pcReqBuff, nTargetCol, sTemp); | |
4906 | GetColumn (pcReqBuff, iTargetCol, sTemp); | |
4898 | 4907 | RemoveSlashes (sTemp); |
4899 | 4908 | sLine += " " + sTemp; |
4900 | 4909 | } |
5296 | 5305 | void Help() |
5297 | 5306 | { |
5298 | 5307 | MyCls(); |
5299 | con << PACKAGE << " " << VERSION << ": (c) " << "2001-2011" | |
5308 | con << PACKAGE << " " << VERSION << ": (c) " << "2001-2013" | |
5300 | 5309 | << " Graeme Sheppard - GPL software\n" |
5301 | 5310 | << "www.rillion.net/squidview\n\n" << |
5302 | 5311 | "Keystrokes:-\n\n" |
5352 | 5361 | { |
5353 | 5362 | GetPaddedUserName (pcReqBuff, sLine); |
5354 | 5363 | GetRequestFlags (pcReqBuff, sFlags); |
5355 | GetColumn (pcReqBuff, nTargetCol, sTarget); | |
5364 | GetColumn (pcReqBuff, iTargetCol, sTarget); | |
5356 | 5365 | RemoveSlashes (sTarget); |
5357 | 5366 | sLine += " " + sFlags + " " + sTarget; |
5358 | 5367 | KeepExtension (sLine, COLS - 1); |
12 | 12 | * along with this program; if not, write to the Free Software |
13 | 13 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
14 | 14 | |
15 | squidview 0.7x | |
15 | squidview 0.8x | |
16 | 16 | |
17 | 17 | A program to nicely browse your squid log |
18 | 18 | |
19 | (c) 2001 - 2007 Graeme Sheppard | |
19 | (c) 2001 - 2013 Graeme Sheppard | |
20 | 20 | |
21 | 21 | */ |
22 | 22 | |
39 | 39 | #define nInputLen 80 |
40 | 40 | #define nReadBuffer 2048 |
41 | 41 | |
42 | #define nTimeCol 1 // fields/columns of squid log lines | |
43 | #define nCacheHitCol 4 | |
44 | #define nSizeCol 5 | |
45 | #define nTargetCol 7 | |
46 | #define nUserCol_a 8 | |
47 | #define nIPCol_a 3 | |
48 | #define nUserCol_b 3 | |
49 | #define nIPCol_b 3 | |
50 | int iUserCol = nUserCol_a; | |
51 | int iIPCol = nIPCol_a; | |
42 | // fields/columns of squid log lines | |
43 | int iTimeCol = -1; | |
44 | int iCacheHitCol = -1; | |
45 | int iSizeCol = -1; | |
46 | int iTargetCol = -1; | |
47 | int iUserCol = -1; | |
48 | int iIPCol = -1; | |
52 | 49 | |
53 | 50 | int iUserNameLen = 8; // maximum displayed width of a login name |
54 | 51 | #define nSizeCols 11 // width given to display size of requests |