Package list squidview / 8ab0f7c
Imported Upstream version 0.80 Willi Mann 7 years ago
9 changed file(s) with 344 addition(s) and 247 deletion(s). Raw diff Collapse all Expand all
00 >> Squidview history:
1
2 0.80: October 2013
3 - compatability with syslog
14
25 v0.79: May 2011:
36 - 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
11 www.rillion.net/squidview
22
33 --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.
11 # @configure_input@
22
33 # 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.
66 # This Makefile.in is free software; the Free Software Foundation
77 # gives unlimited permission to copy and/or distribute it,
88 # with or without modifications, as long as this notice is preserved.
1616
1717
1818 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 }
1936 pkgdatadir = $(datadir)/@PACKAGE@
2037 pkgincludedir = $(includedir)/@PACKAGE@
2138 pkglibdir = $(libdir)/@PACKAGE@
6986 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
7087 SOURCES = $(squidview_SOURCES)
7188 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
7294 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
7395 am__vpath_adj = case $$p in \
7496 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
90112 am__base_list = \
91113 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
92114 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 }
93121 man1dir = $(mandir)/man1
94122 NROFF = nroff
95123 MANS = $(man_MANS)
100128 distdir = $(PACKAGE)-$(VERSION)
101129 top_distdir = $(distdir)
102130 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
106136 DIST_ARCHIVES = $(distdir).tar.gz
107137 GZIP_ENV = --best
108138 distuninstallcheck_listfiles = find . -type f -print
139 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
140 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
109141 distcleancheck_listfiles = find . -type f -print
110142 ACLOCAL = @ACLOCAL@
111143 AMTAR = @AMTAR@
208240
209241 .SUFFIXES:
210242 .SUFFIXES: .cpp .o .obj
211 am--refresh:
243 am--refresh: Makefile
212244 @:
213245 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
214246 @for dep in $?; do \
244276 $(am__aclocal_m4_deps):
245277
246278 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
251281
252282 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
253283 @rm -f stamp-h1
261291 -rm -f config.h stamp-h1
262292 install-binPROGRAMS: $(bin_PROGRAMS)
263293 @$(NORMAL_INSTALL)
264 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
265294 @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; \
266299 for p in $$list; do echo "$$p $$p"; done | \
267300 sed 's/$(EXEEXT)$$//' | \
268301 while read p p1; do if test -f $$p; \
296329
297330 clean-binPROGRAMS:
298331 -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)
300333 @rm -f squidview$(EXEEXT)
301334 $(CXXLINK) $(squidview_OBJECTS) $(squidview_LDADD) $(LIBS)
302335
323356 @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
324357 install-man1: $(man_MANS)
325358 @$(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; \
331371 } | while read p; do \
332372 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
333373 echo "$$d$$p"; echo "$$p"; \
356396 sed -n '/\.1[a-z]*$$/p'; \
357397 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
358398 -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)
362400 install-pkgdataDATA: $(pkgdata_DATA)
363401 @$(NORMAL_INSTALL)
364 test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
365402 @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; \
366407 for p in $$list; do \
367408 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
368409 echo "$$d$$p"; \
376417 @$(NORMAL_UNINSTALL)
377418 @list='$(pkgdata_DATA)'; test -n "$(pkgdatadir)" || list=; \
378419 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)
382421
383422 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
384423 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
489528 $(am__remove_distdir)
490529
491530 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
493536 $(am__remove_distdir)
494537
495538 dist-lzma: distdir
497540 $(am__remove_distdir)
498541
499542 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
501544 $(am__remove_distdir)
502545
503546 dist-tarZ: distdir
528571 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
529572 *.tar.lzma*) \
530573 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
574 *.tar.lz*) \
575 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
531576 *.tar.xz*) \
532577 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
533578 *.tar.Z*) \
537582 *.zip*) \
538583 unzip $(distdir).zip ;;\
539584 esac
540 chmod -R a-w $(distdir); chmod a+w $(distdir)
585 chmod -R a-w $(distdir); chmod u+w $(distdir)
541586 mkdir $(distdir)/_build
542587 mkdir $(distdir)/_inst
543588 chmod a-w $(distdir)
547592 && am__cwd=`pwd` \
548593 && $(am__cd) $(distdir)/_build \
549594 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
595 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
550596 $(DISTCHECK_CONFIGURE_FLAGS) \
551597 && $(MAKE) $(AM_MAKEFLAGS) \
552598 && $(MAKE) $(AM_MAKEFLAGS) dvi \
575621 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
576622 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
577623 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 \
580634 || { echo "ERROR: files left after uninstall:" ; \
581635 if test -n "$(DESTDIR)"; then \
582636 echo " (check DESTDIR support)"; \
609663
610664 installcheck: installcheck-am
611665 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
616675 mostlyclean-generic:
617676
618677 clean-generic:
703762
704763 .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
705764 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 \
711770 install-data-am install-dvi install-dvi-am install-exec \
712771 install-exec-am install-html install-html-am install-info \
713772 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
11 www.rillion.net/squidview
22
33 --Overview
0 # generated automatically by aclocal 1.11.1 -*- Autoconf -*-
0 # generated automatically by aclocal 1.11.6 -*- Autoconf -*-
11
22 # 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.
45 # This file is free software; the Free Software Foundation
56 # gives unlimited permission to copy and/or distribute it,
67 # with or without modifications, as long as this notice is preserved.
1213
1314 m4_ifndef([AC_AUTOCONF_VERSION],
1415 [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.
1718 You have another version of autoconf. It may work, but is not guaranteed to.
1819 If you have problems, you may need to regenerate the build system entirely.
1920 To do so, use the procedure documented by the package, typically `autoreconf'.])])
2021
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
2630
2731 # AM_AUTOMAKE_VERSION(VERSION)
2832 # ----------------------------
3337 [am__api_version='1.11'
3438 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3539 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], [],
3741 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
3842 ])
3943
4953 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
5054 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
5155 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
52 [AM_AUTOMAKE_VERSION([1.11.1])dnl
56 [AM_AUTOMAKE_VERSION([1.11.6])dnl
5357 m4_ifndef([AC_AUTOCONF_VERSION],
5458 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
5559 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
5660
5761 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
5862
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
6470
6571 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
6672 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
143149 Usually this means the macro was only invoked conditionally.]])
144150 fi])])
145151
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
154160
155161 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
156162 # written in clear, in which case automake, when reading aclocal.m4,
190196 # instance it was reported that on HP-UX the gcc test will end up
191197 # making a dummy file named `D' -- because `-MD' means `put the output
192198 # in D'.
199 rm -rf conftest.dir
193200 mkdir conftest.dir
194201 # Copy depcomp to subdir because otherwise we won't find it if we're
195202 # using a relative directory.
254261 break
255262 fi
256263 ;;
257 msvisualcpp | msvcmsys)
264 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
258265 # This compiler won't grok `-c -o', but also, the minuso test has
259266 # not run yet. These depmodes are late enough in the game, and
260267 # so weak that their functioning should not be impacted.
319326 if test "x$enable_dependency_tracking" != xno; then
320327 am_depcomp="$ac_aux_dir/depcomp"
321328 AMDEPBACKSLASH='\'
329 am__nodep='_no'
322330 fi
323331 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
324332 AC_SUBST([AMDEPBACKSLASH])dnl
325333 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
334 AC_SUBST([am__nodep])dnl
335 _AM_SUBST_NOTMAKE([am__nodep])dnl
326336 ])
327337
328338 # Generate code to set up dependency tracking. -*- Autoconf -*-
556566 done
557567 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
558568
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
564577
565578 # AM_PROG_INSTALL_SH
566579 # ------------------
693706 fi
694707 ])
695708
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
701717
702718 # AM_PROG_MKDIR_P
703719 # ---------------
721737
722738 # Helper functions for option handling. -*- Autoconf -*-
723739
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
731748
732749 # _AM_MANGLE_OPTION(NAME)
733750 # -----------------------
735752 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
736753
737754 # _AM_SET_OPTION(NAME)
738 # ------------------------------
755 # --------------------
739756 # Set option NAME. Presently that only means defining a flag for this option.
740757 AC_DEFUN([_AM_SET_OPTION],
741758 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
742759
743760 # _AM_SET_OPTIONS(OPTIONS)
744 # ----------------------------------
761 # ------------------------
745762 # OPTIONS is a space-separated list of Automake options.
746763 AC_DEFUN([_AM_SET_OPTIONS],
747764 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
817834 fi
818835 AC_MSG_RESULT(yes)])
819836
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
825844
826845 # AM_PROG_INSTALL_STRIP
827846 # ---------------------
845864 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
846865 AC_SUBST([INSTALL_STRIP_PROGRAM])])
847866
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
855874
856875 # _AM_SUBST_NOTMAKE(VARIABLE)
857876 # ---------------------------
860879 AC_DEFUN([_AM_SUBST_NOTMAKE])
861880
862881 # AM_SUBST_NOTMAKE(VARIABLE)
863 # ---------------------------
882 # --------------------------
864883 # Public sister of _AM_SUBST_NOTMAKE.
865884 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
866885
867886 # Check how to create a tarball. -*- Autoconf -*-
868887
869 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
888 # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
870889 #
871890 # This file is free software; the Free Software Foundation
872891 # gives unlimited permission to copy and/or distribute it,
888907 # a tarball read from stdin.
889908 # $(am__untar) < result.tar
890909 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}'])
893913 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 -'],
895915 [m4_case([$1], [ustar],, [pax],,
896916 [m4_fatal([Unknown tar format])])
897917 AC_MSG_CHECKING([how to create a $1 tar archive])
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.68.
2 # Generated by GNU Autoconf 2.69.
33 #
44 #
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.
86 #
97 #
108 # This configure script is free software; the Free Software Foundation
133131 # CDPATH.
134132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135133
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;}
136159 if test "x$CONFIG_SHELL" = x; then
137160 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138161 emulate sh
166189 else
167190 exitcode=1; echo positional parameters were not saved.
168191 fi
169 test x\$exitcode = x0 || exit 1"
192 test x\$exitcode = x0 || exit 1
193 test -x / || exit 1"
170194 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171195 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172196 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
211235
212236
213237 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
229257 fi
230258
231259 if test x$as_have_required = xno; then :
327355
328356
329357 } # 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
330366 # as_fn_append VAR VALUE
331367 # ----------------------
332368 # Append the text in VALUE to the end of the definition contained in VAR. Take
448484 chmod +x "$as_me.lineno" ||
449485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450486
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
451491 # Don't try to exec as it changes $[0], causing all sort of problems
452492 # (the dirname of $[0] is not the place where we might find the
453493 # original and so on. Autoconf is especially sensitive to this).
482522 # ... but there are two gotchas:
483523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
484524 # 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'.
486526 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'
488528 elif ln conf$$.file conf$$ 2>/dev/null; then
489529 as_ln_s=ln
490530 else
491 as_ln_s='cp -p'
531 as_ln_s='cp -pR'
492532 fi
493533 else
494 as_ln_s='cp -p'
534 as_ln_s='cp -pR'
495535 fi
496536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
497537 rmdir conf$$.dir 2>/dev/null
503543 as_mkdir_p=false
504544 fi
505545
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
528548
529549 # Sed expression to map a string onto a valid CPP name.
530550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
614634 am__fastdepCXX_FALSE
615635 am__fastdepCXX_TRUE
616636 CXXDEPMODE
637 am__nodep
617638 AMDEPBACKSLASH
618639 AMDEP_FALSE
619640 AMDEP_TRUE
11601181 if test "x$host_alias" != x; then
11611182 if test "x$build_alias" = x; then
11621183 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
11651184 elif test "x$build_alias" != "x$host_alias"; then
11661185 cross_compiling=yes
11671186 fi
14011420 if $ac_init_version; then
14021421 cat <<\_ACEOF
14031422 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.
14071426 This configure script is free software; the Free Software Foundation
14081427 gives unlimited permission to copy, distribute and modify it.
14091428 _ACEOF
17451764 test ! -s conftest.err
17461765 } && test -s conftest$ac_exeext && {
17471766 test "$cross_compiling" = yes ||
1748 $as_test_x conftest$ac_exeext
1767 test -x conftest$ac_exeext
17491768 }; then :
17501769 ac_retval=0
17511770 else
17681787 running configure, to aid debugging if configure makes a mistake.
17691788
17701789 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
17721791
17731792 $ $0 $@
17741793
21852204 # by default.
21862205 for ac_prog in ginstall scoinst install; do
21872206 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
21892208 if test $ac_prog = install &&
21902209 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
21912210 # AIX install. It has an incompatible calling convention.
23542373 IFS=$as_save_IFS
23552374 test -z "$as_dir" && as_dir=.
23562375 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
23582377 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
23592378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23602379 break 2
23942413 IFS=$as_save_IFS
23952414 test -z "$as_dir" && as_dir=.
23962415 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
23982417 ac_cv_prog_ac_ct_STRIP="strip"
23992418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24002419 break 2
24452464 test -z "$as_dir" && as_dir=.
24462465 for ac_prog in mkdir gmkdir; do
24472466 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
24492468 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
24502469 'mkdir (GNU coreutils) '* | \
24512470 'mkdir (coreutils) '* | \
24982517 IFS=$as_save_IFS
24992518 test -z "$as_dir" && as_dir=.
25002519 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
25022521 ac_cv_prog_AWK="$ac_prog"
25032522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25042523 break 2
25842603
25852604 # Define the identity of the package.
25862605 PACKAGE=squidview
2587 VERSION=0.79
2606 VERSION=0.80
25882607
25892608
25902609 cat >>confdefs.h <<_ACEOF
26142633
26152634 # We need awk for the "check" target. The system "awk" is bad on
26162635 # 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 -'
26222641
26232642
26242643
26522671 IFS=$as_save_IFS
26532672 test -z "$as_dir" && as_dir=.
26542673 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
26562675 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
26572676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26582677 break 2
26962715 IFS=$as_save_IFS
26972716 test -z "$as_dir" && as_dir=.
26982717 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
27002719 ac_cv_prog_ac_ct_CXX="$ac_prog"
27012720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27022721 break 2
31823201 if test "x$enable_dependency_tracking" != xno; then
31833202 am_depcomp="$ac_aux_dir/depcomp"
31843203 AMDEPBACKSLASH='\'
3204 am__nodep='_no'
31853205 fi
31863206 if test "x$enable_dependency_tracking" != xno; then
31873207 AMDEP_TRUE=
32063226 # instance it was reported that on HP-UX the gcc test will end up
32073227 # making a dummy file named `D' -- because `-MD' means `put the output
32083228 # in D'.
3229 rm -rf conftest.dir
32093230 mkdir conftest.dir
32103231 # Copy depcomp to subdir because otherwise we won't find it if we're
32113232 # using a relative directory.
32653286 break
32663287 fi
32673288 ;;
3268 msvisualcpp | msvcmsys)
3289 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
32693290 # This compiler won't grok `-c -o', but also, the minuso test has
32703291 # not run yet. These depmodes are late enough in the game, and
32713292 # so weak that their functioning should not be impacted.
33443365 IFS=$as_save_IFS
33453366 test -z "$as_dir" && as_dir=.
33463367 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
33483369 ac_cv_prog_CC="${ac_tool_prefix}gcc"
33493370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33503371 break 2
33843405 IFS=$as_save_IFS
33853406 test -z "$as_dir" && as_dir=.
33863407 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
33883409 ac_cv_prog_ac_ct_CC="gcc"
33893410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33903411 break 2
34373458 IFS=$as_save_IFS
34383459 test -z "$as_dir" && as_dir=.
34393460 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
34413462 ac_cv_prog_CC="${ac_tool_prefix}cc"
34423463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
34433464 break 2
34783499 IFS=$as_save_IFS
34793500 test -z "$as_dir" && as_dir=.
34803501 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
34823503 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
34833504 ac_prog_rejected=yes
34843505 continue
35363557 IFS=$as_save_IFS
35373558 test -z "$as_dir" && as_dir=.
35383559 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
35403561 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
35413562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
35423563 break 2
35803601 IFS=$as_save_IFS
35813602 test -z "$as_dir" && as_dir=.
35823603 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
35843605 ac_cv_prog_ac_ct_CC="$ac_prog"
35853606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
35863607 break 2
37763797 /* end confdefs.h. */
37773798 #include <stdarg.h>
37783799 #include <stdio.h>
3779 #include <sys/types.h>
3780 #include <sys/stat.h>
3800 struct stat;
37813801 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
37823802 struct buf { int x; };
37833803 FILE * (*rcsopen) (struct buf *, struct stat *, int);
38753895 # instance it was reported that on HP-UX the gcc test will end up
38763896 # making a dummy file named `D' -- because `-MD' means `put the output
38773897 # in D'.
3898 rm -rf conftest.dir
38783899 mkdir conftest.dir
38793900 # Copy depcomp to subdir because otherwise we won't find it if we're
38803901 # using a relative directory.
39343955 break
39353956 fi
39363957 ;;
3937 msvisualcpp | msvcmsys)
3958 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
39383959 # This compiler won't grok `-c -o', but also, the minuso test has
39393960 # not run yet. These depmodes are late enough in the game, and
39403961 # so weak that their functioning should not be impacted.
41634184 for ac_prog in grep ggrep; do
41644185 for ac_exec_ext in '' $ac_executable_extensions; do
41654186 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
41674188 # Check for GNU ac_path_GREP and select it if it is found.
41684189 # Check for GNU $ac_path_GREP
41694190 case `"$ac_path_GREP" --version 2>&1` in
42294250 for ac_prog in egrep; do
42304251 for ac_exec_ext in '' $ac_executable_extensions; do
42314252 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
42334254 # Check for GNU ac_path_EGREP and select it if it is found.
42344255 # Check for GNU $ac_path_EGREP
42354256 case `"$ac_path_EGREP" --version 2>&1` in
50055026 # ... but there are two gotchas:
50065027 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50075028 # 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'.
50095030 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'
50115032 elif ln conf$$.file conf$$ 2>/dev/null; then
50125033 as_ln_s=ln
50135034 else
5014 as_ln_s='cp -p'
5035 as_ln_s='cp -pR'
50155036 fi
50165037 else
5017 as_ln_s='cp -p'
5038 as_ln_s='cp -pR'
50185039 fi
50195040 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50205041 rmdir conf$$.dir 2>/dev/null
50745095 as_mkdir_p=false
50755096 fi
50765097
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
50995108
51005109 # Sed expression to map a string onto a valid CPP name.
51015110 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51175126 # values after options handling.
51185127 ac_log="
51195128 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
51215130
51225131 CONFIG_FILES = $CONFIG_FILES
51235132 CONFIG_HEADERS = $CONFIG_HEADERS
51835192 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
51845193 ac_cs_version="\\
51855194 config.status
5186 configured by $0, generated by GNU Autoconf 2.68,
5195 configured by $0, generated by GNU Autoconf 2.69,
51875196 with options \\"\$ac_cs_config\\"
51885197
5189 Copyright (C) 2010 Free Software Foundation, Inc.
5198 Copyright (C) 2012 Free Software Foundation, Inc.
51905199 This config.status script is free software; the Free Software Foundation
51915200 gives unlimited permission to copy, distribute and modify it."
51925201
52775286 _ACEOF
52785287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
52795288 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
52815290 shift
52825291 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
52835292 CONFIG_SHELL='$SHELL'
1414
1515 AC_INIT(squidview.cpp)
1616 AM_CONFIG_HEADER(config.h)
17 AM_INIT_AUTOMAKE(squidview,0.79)
17 AM_INIT_AUTOMAKE(squidview,0.80)
1818 AC_PROG_CXX
1919 AC_PROG_INSTALL
2020
1212 * along with this program; if not, write to the Free Software
1313 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1414
15 squidview 0.7x
15 squidview 0.8x
1616
1717 A program to nicely browse your squid log
1818
19 (c) 2001 - 2011 Graeme Sheppard
19 (c) 2001 - 2013 Graeme Sheppard
2020
2121 This program is not how it would be if I had to rewrite it from scratch.
2222 It started off very simple (quick and nasty) and needed to be fast because
697697 {
698698 int iCount, iSize;
699699
700 GetColumn (szRequest, nTargetCol, sDomain);
700 GetColumn (szRequest, iTargetCol, sDomain);
701701 RemoveSlashes (sDomain);
702702 iSize = sDomain.length();
703703 for (iCount = 0; iCount < iSize; iCount++)
736736 char cLetter;
737737 time_t iTime;
738738
739 GetColumn (szRequest, nTimeCol, sTemp);
739 GetColumn (szRequest, iTimeCol, sTemp);
740740 if (sTemp == "")
741741 return 0;
742742
13101310 string sTemp;
13111311 tFilePos iSize;
13121312
1313 GetColumn (szRequest, nSizeCol, sTemp);
1313 GetColumn (szRequest, iSizeCol, sTemp);
13141314 if (sTemp == "")
13151315 return 0;
13161316 iSize = atoi (sTemp.c_str());
13251325
13261326 cHit = ' ';
13271327 iHitNumber = 0;
1328 GetColumn (szRequest, nCacheHitCol, sBoth);
1328 GetColumn (szRequest, iCacheHitCol, sBoth);
13291329 iLength = sBoth.length();
13301330 for (iCount = 0; iCount < iLength; iCount++)
13311331 if (sBoth [iCount] == '/')
20282028 static string sDispLine;
20292029 static time_t iTime;
20302030
2031 GetColumn (pcReqBuff, nSizeCol, sTemp);
2031 GetColumn (pcReqBuff, iSizeCol, sTemp);
20322032 sDispLine = sTemp + sRepSeperator;
20332033 sTemp = GetUserName (pcReqBuff, true);
20342034 sDispLine += sTemp + sRepSeperator;
20352035 sDispLine += sFlags + sRepSeperator;
2036 GetColumn (pcReqBuff, nTimeCol, sTemp);
2036 GetColumn (pcReqBuff, iTimeCol, sTemp);
20372037 sDispLine += sTemp + sRepSeperator;
20382038 iTime = GetTimeNumber (pcReqBuff);
20392039 CalcTime (iTime, sTemp);
20402040 RemoveSeconds (sTemp);
20412041 sDispLine += sTemp + sRepSeperator;
2042 GetColumn (pcReqBuff, nTargetCol, sTemp);
2042 GetColumn (pcReqBuff, iTargetCol, sTemp);
20432043 KeepExtension (sTemp, iRepCSVcols);
20442044 sDispLine += sTemp + "\n";
20452045 WriteReportLine (sDispLine);
20802080 if (sTime != "")
20812081 WriteReportLine (sBytePad + sTime + "\n");
20822082
2083 GetColumn (pcReqBuff, nTargetCol, sTarget);
2083 GetColumn (pcReqBuff, iTargetCol, sTarget);
20842084 RemoveSlashes (sTarget);
20852085
20862086 if (bRepSplit == false)
36473647 void ChangeLog (int iNewLog)
36483648 {
36493649 string sTemp;
3650 int iLen;
3651 int iBase;
36503652
36513653 switch (iNewLog)
36523654 {
36873689 }
36883690
36893691 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);
36913706 if ((sTemp == "") || (sTemp [0] < 'A'))
3692 {
3693 iUserCol = nUserCol_a;
3694 iIPCol = nIPCol_a;
3695 }
3707 iUserCol = iBase + 8;
36963708 else
3697 {
3698 iUserCol = nUserCol_b;
3699 iIPCol = nIPCol_b;
3700 }
3709 iUserCol = iBase + 3;
37013710 }
37023711
37033712
44674476 if (GetLine (vRequests [iRow]) > vRequests [iRow])
44684477 {
44694478 GetRequestFlags (pcReqBuff, sFlags);
4470 GetColumn (pcReqBuff, nTargetCol, sTarget);
4479 GetColumn (pcReqBuff, iTargetCol, sTarget);
44714480 RemoveSlashes (sTarget);
44724481 sLine = sFlags + " " + sTarget;
44734482 KeepExtension (sLine, iColumns);
48524861 sLine = sLine + " " + sTemp;
48534862 if (GetLine (rEntry.iGreatestURL) > rEntry.iGreatestURL)
48544863 {
4855 GetColumn (pcReqBuff, nTargetCol, sTemp);
4864 GetColumn (pcReqBuff, iTargetCol, sTemp);
48564865 RemoveSlashes (sTemp);
48574866 sLine += " " + sTemp;
48584867 }
48944903 sLine = LookupUser (rEntry);
48954904 if (GetLine (rEntry.iLastURL) > rEntry.iLastURL)
48964905 {
4897 GetColumn (pcReqBuff, nTargetCol, sTemp);
4906 GetColumn (pcReqBuff, iTargetCol, sTemp);
48984907 RemoveSlashes (sTemp);
48994908 sLine += " " + sTemp;
49004909 }
52965305 void Help()
52975306 {
52985307 MyCls();
5299 con << PACKAGE << " " << VERSION << ": (c) " << "2001-2011"
5308 con << PACKAGE << " " << VERSION << ": (c) " << "2001-2013"
53005309 << " Graeme Sheppard - GPL software\n"
53015310 << "www.rillion.net/squidview\n\n" <<
53025311 "Keystrokes:-\n\n"
53525361 {
53535362 GetPaddedUserName (pcReqBuff, sLine);
53545363 GetRequestFlags (pcReqBuff, sFlags);
5355 GetColumn (pcReqBuff, nTargetCol, sTarget);
5364 GetColumn (pcReqBuff, iTargetCol, sTarget);
53565365 RemoveSlashes (sTarget);
53575366 sLine += " " + sFlags + " " + sTarget;
53585367 KeepExtension (sLine, COLS - 1);
1212 * along with this program; if not, write to the Free Software
1313 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1414
15 squidview 0.7x
15 squidview 0.8x
1616
1717 A program to nicely browse your squid log
1818
19 (c) 2001 - 2007 Graeme Sheppard
19 (c) 2001 - 2013 Graeme Sheppard
2020
2121 */
2222
3939 #define nInputLen 80
4040 #define nReadBuffer 2048
4141
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;
5249
5350 int iUserNameLen = 8; // maximum displayed width of a login name
5451 #define nSizeCols 11 // width given to display size of requests