Merge lp:ubuntu/quantal-security/clamav into lp:ubuntu/quantal/clamav

Proposed by joao paulo da silva
Status: Rejected
Rejected by: Martin Pitt
Proposed branch: lp:ubuntu/quantal-security/clamav
Merge into: lp:ubuntu/quantal/clamav
Diff against target: 35475 lines
To merge this branch: bzr merge lp:ubuntu/quantal-security/clamav
Reviewer Review Type Date Requested Status
Dmitry Shachnev Disapprove
Ubuntu branches Pending
Review via email: mp+156911@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

The update has already been released to -security (see bug 1157385).

review: Disapprove

Unmerged revisions

124. By Marc Deslauriers

Rebuild as a security update (LP: #1296856)

123. By Scott Kitterman

[ Seth Arnold ]
* SECURITY UPDATE: Updated to 0.97.8 to fix multiple security issues.
  - CVE-2013-2020 and CVE-2013-2021

[ Scott Kitterman ]
* Merge from Debian unstable (LP: #1172981). Remaining changes:
  - Drop build-dep on electric-fence (in Universe)
  - Add apparmor profiles for clamd and freshclam along with maintainer
    script changes

122. By Marc Deslauriers

* SECURITY UPDATE: Updated to 0.97.7 to fix multiple security issues.
  (LP: #1157385)
  - CVE numbers pending

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ChangeLog'
--- ChangeLog 2012-10-08 12:29:39 +0000
+++ ChangeLog 2013-04-03 16:48:24 +0000
@@ -1,3 +1,8 @@
1Wed Feb 20 10:05:00 EDT 2012 (multiple)
2---------------------------------
3 * Bug reported by Felix Groebert, Mateusz Jurczyk and Gynvael Coldwind of the
4 Google Security Team.
5
1Mon Sep 6 12:32:00 EDT 2012 (dar)6Mon Sep 6 12:32:00 EDT 2012 (dar)
2---------------------------------7---------------------------------
3 * libclamav: bb#5751 - cl_scansis() may returan a file descriptor instead8 * libclamav: bb#5751 - cl_scansis() may returan a file descriptor instead
49
=== modified file 'Makefile.in'
--- Makefile.in 2012-06-19 21:39:28 +0000
+++ Makefile.in 2013-04-03 16:48:24 +0000
@@ -270,7 +270,6 @@
270PACKAGE_NAME = @PACKAGE_NAME@270PACKAGE_NAME = @PACKAGE_NAME@
271PACKAGE_STRING = @PACKAGE_STRING@271PACKAGE_STRING = @PACKAGE_STRING@
272PACKAGE_TARNAME = @PACKAGE_TARNAME@272PACKAGE_TARNAME = @PACKAGE_TARNAME@
273PACKAGE_URL = @PACKAGE_URL@
274PACKAGE_VERSION = @PACKAGE_VERSION@273PACKAGE_VERSION = @PACKAGE_VERSION@
275PATH_SEPARATOR = @PATH_SEPARATOR@274PATH_SEPARATOR = @PATH_SEPARATOR@
276RANLIB = @RANLIB@275RANLIB = @RANLIB@
277276
=== added file 'Makefile.in.orig'
--- Makefile.in.orig 1970-01-01 00:00:00 +0000
+++ Makefile.in.orig 2013-04-03 16:48:24 +0000
@@ -0,0 +1,968 @@
1# Makefile.in generated by automake 1.11.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18#
19# Copyright (C) 2002 - 2004 Tomasz Kojm <tkojm@clamav.net>
20#
21# This program is free software; you can redistribute it and/or modify
22# it under the terms of the GNU General Public License as published by
23# the Free Software Foundation; either version 2 of the License, or
24# (at your option) any later version.
25#
26# This program is distributed in the hope that it will be useful,
27# but WITHOUT ANY WARRANTY; without even the implied warranty of
28# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29# GNU General Public License for more details.
30#
31# You should have received a copy of the GNU General Public License
32# along with this program; if not, write to the Free Software
33# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
34# MA 02110-1301, USA.
35
36
37VPATH = @srcdir@
38pkgdatadir = $(datadir)/@PACKAGE@
39pkgincludedir = $(includedir)/@PACKAGE@
40pkglibdir = $(libdir)/@PACKAGE@
41pkglibexecdir = $(libexecdir)/@PACKAGE@
42am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
43install_sh_DATA = $(install_sh) -c -m 644
44install_sh_PROGRAM = $(install_sh) -c
45install_sh_SCRIPT = $(install_sh) -c
46INSTALL_HEADER = $(INSTALL_DATA)
47transform = $(program_transform_name)
48NORMAL_INSTALL = :
49PRE_INSTALL = :
50POST_INSTALL = :
51NORMAL_UNINSTALL = :
52PRE_UNINSTALL = :
53POST_UNINSTALL = :
54build_triplet = @build@
55host_triplet = @host@
56target_triplet = @target@
57subdir = .
58DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
59 $(srcdir)/Makefile.in $(srcdir)/clamav-config.h.in \
60 $(srcdir)/clamav-config.in $(srcdir)/libclamav.pc.in \
61 $(srcdir)/platform.h.in $(top_srcdir)/configure \
62 $(top_srcdir)/docs/man/clamav-milter.8.in \
63 $(top_srcdir)/docs/man/clamav-milter.conf.5.in \
64 $(top_srcdir)/docs/man/clambc.1.in \
65 $(top_srcdir)/docs/man/clamconf.1.in \
66 $(top_srcdir)/docs/man/clamd.8.in \
67 $(top_srcdir)/docs/man/clamd.conf.5.in \
68 $(top_srcdir)/docs/man/clamdscan.1.in \
69 $(top_srcdir)/docs/man/clamdtop.1.in \
70 $(top_srcdir)/docs/man/clamscan.1.in \
71 $(top_srcdir)/docs/man/freshclam.1.in \
72 $(top_srcdir)/docs/man/freshclam.conf.5.in \
73 $(top_srcdir)/docs/man/sigtool.1.in AUTHORS COPYING ChangeLog \
74 INSTALL NEWS config/config.guess config/config.rpath \
75 config/config.sub config/depcomp config/install-sh \
76 config/ltmain.sh config/missing
77ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
78am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
79 $(top_srcdir)/m4/argz.m4 \
80 $(top_srcdir)/m4/ax_check_uname_syscall.m4 \
81 $(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
82 $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
83 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
84 $(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
85 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
86 $(top_srcdir)/m4/lt~obsolete.m4 \
87 $(top_srcdir)/m4/mmap_private.m4 $(top_srcdir)/m4/resolv.m4 \
88 $(top_srcdir)/configure.in
89am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
90 $(ACLOCAL_M4)
91am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
92 configure.lineno config.status.lineno
93mkinstalldirs = $(install_sh) -d
94CONFIG_HEADER = clamav-config.h
95CONFIG_CLEAN_FILES = clamav-config libclamav.pc platform.h \
96 docs/man/clamav-milter.8 docs/man/clamav-milter.conf.5 \
97 docs/man/clambc.1 docs/man/clamconf.1 docs/man/clamd.8 \
98 docs/man/clamd.conf.5 docs/man/clamdscan.1 docs/man/clamscan.1 \
99 docs/man/freshclam.1 docs/man/freshclam.conf.5 \
100 docs/man/sigtool.1 docs/man/clamdtop.1
101CONFIG_CLEAN_VPATH_FILES =
102am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
103am__vpath_adj = case $$p in \
104 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
105 *) f=$$p;; \
106 esac;
107am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
108am__install_max = 40
109am__nobase_strip_setup = \
110 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
111am__nobase_strip = \
112 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
113am__nobase_list = $(am__nobase_strip_setup); \
114 for p in $$list; do echo "$$p $$p"; done | \
115 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
116 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
117 if (++n[$$2] == $(am__install_max)) \
118 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
119 END { for (dir in files) print dir, files[dir] }'
120am__base_list = \
121 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
122 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
123am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"
124SCRIPTS = $(bin_SCRIPTS)
125AM_V_GEN = $(am__v_GEN_$(V))
126am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
127am__v_GEN_0 = @echo " GEN " $@;
128AM_V_at = $(am__v_at_$(V))
129am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
130am__v_at_0 = @
131SOURCES =
132DIST_SOURCES =
133RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
134 html-recursive info-recursive install-data-recursive \
135 install-dvi-recursive install-exec-recursive \
136 install-html-recursive install-info-recursive \
137 install-pdf-recursive install-ps-recursive install-recursive \
138 installcheck-recursive installdirs-recursive pdf-recursive \
139 ps-recursive uninstall-recursive
140DATA = $(pkgconfig_DATA)
141RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
142 distclean-recursive maintainer-clean-recursive
143AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
144 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
145 distdir dist dist-all distcheck
146ETAGS = etags
147CTAGS = ctags
148DIST_SUBDIRS = $(SUBDIRS)
149DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
150distdir = $(PACKAGE)-$(VERSION)
151top_distdir = $(distdir)
152am__remove_distdir = \
153 { test ! -d "$(distdir)" \
154 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
155 && rm -fr "$(distdir)"; }; }
156am__relativize = \
157 dir0=`pwd`; \
158 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
159 sed_rest='s,^[^/]*/*,,'; \
160 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
161 sed_butlast='s,/*[^/]*$$,,'; \
162 while test -n "$$dir1"; do \
163 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
164 if test "$$first" != "."; then \
165 if test "$$first" = ".."; then \
166 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
167 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
168 else \
169 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
170 if test "$$first2" = "$$first"; then \
171 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
172 else \
173 dir2="../$$dir2"; \
174 fi; \
175 dir0="$$dir0"/"$$first"; \
176 fi; \
177 fi; \
178 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
179 done; \
180 reldir="$$dir2"
181DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
182GZIP_ENV = --best
183distcleancheck_listfiles = find . -type f -print
184ACLOCAL = @ACLOCAL@
185AMTAR = @AMTAR@
186AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
187AR = @AR@
188ARGZ_H = @ARGZ_H@
189AUTOCONF = @AUTOCONF@
190AUTOHEADER = @AUTOHEADER@
191AUTOMAKE = @AUTOMAKE@
192AWK = @AWK@
193BUILD_CONFIGURE_FLAGS = @BUILD_CONFIGURE_FLAGS@
194CC = @CC@
195CCDEPMODE = @CCDEPMODE@
196CFGDIR = @CFGDIR@
197CFLAGS = @CFLAGS@
198CHECK_CPPFLAGS = @CHECK_CPPFLAGS@
199CHECK_LIBS = @CHECK_LIBS@
200CLAMAVGROUP = @CLAMAVGROUP@
201CLAMAVUSER = @CLAMAVUSER@
202CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@
203CLAMDSCAN_LIBS = @CLAMDSCAN_LIBS@
204CLAMD_LIBS = @CLAMD_LIBS@
205CPP = @CPP@
206CPPFLAGS = @CPPFLAGS@
207CURSES_CPPFLAGS = @CURSES_CPPFLAGS@
208CURSES_LIBS = @CURSES_LIBS@
209CYGPATH_W = @CYGPATH_W@
210DBDIR = @DBDIR@
211DEFS = @DEFS@
212DEPDIR = @DEPDIR@
213DSYMUTIL = @DSYMUTIL@
214DUMPBIN = @DUMPBIN@
215ECHO_C = @ECHO_C@
216ECHO_N = @ECHO_N@
217ECHO_T = @ECHO_T@
218EGREP = @EGREP@
219EXEEXT = @EXEEXT@
220FGREP = @FGREP@
221FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
222GCOV = @GCOV@
223GENHTML = @GENHTML@
224GETENT = @GETENT@
225GPERF = @GPERF@
226GREP = @GREP@
227INCLTDL = @INCLTDL@
228INSTALL = @INSTALL@
229INSTALL_DATA = @INSTALL_DATA@
230INSTALL_PROGRAM = @INSTALL_PROGRAM@
231INSTALL_SCRIPT = @INSTALL_SCRIPT@
232INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
233LCOV = @LCOV@
234LD = @LD@
235LDFLAGS = @LDFLAGS@
236LIBADD_DL = @LIBADD_DL@
237LIBADD_DLD_LINK = @LIBADD_DLD_LINK@
238LIBADD_DLOPEN = @LIBADD_DLOPEN@
239LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@
240LIBBZ2 = @LIBBZ2@
241LIBBZ2_PREFIX = @LIBBZ2_PREFIX@
242LIBCLAMAV_LIBS = @LIBCLAMAV_LIBS@
243LIBCLAMAV_VERSION = @LIBCLAMAV_VERSION@
244LIBLTDL = @LIBLTDL@
245LIBM = @LIBM@
246LIBOBJS = @LIBOBJS@
247LIBS = @LIBS@
248LIBTOOL = @LIBTOOL@
249LIPO = @LIPO@
250LN_S = @LN_S@
251LTDLDEPS = @LTDLDEPS@
252LTDLINCL = @LTDLINCL@
253LTDLOPEN = @LTDLOPEN@
254LTLIBBZ2 = @LTLIBBZ2@
255LTLIBOBJS = @LTLIBOBJS@
256LT_CONFIG_H = @LT_CONFIG_H@
257LT_DLLOADERS = @LT_DLLOADERS@
258LT_DLPREOPEN = @LT_DLPREOPEN@
259MAINT = @MAINT@
260MAKEINFO = @MAKEINFO@
261MKDIR_P = @MKDIR_P@
262NM = @NM@
263NMEDIT = @NMEDIT@
264OBJDUMP = @OBJDUMP@
265OBJEXT = @OBJEXT@
266OTOOL = @OTOOL@
267OTOOL64 = @OTOOL64@
268PACKAGE = @PACKAGE@
269PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
270PACKAGE_NAME = @PACKAGE_NAME@
271PACKAGE_STRING = @PACKAGE_STRING@
272PACKAGE_TARNAME = @PACKAGE_TARNAME@
273PACKAGE_VERSION = @PACKAGE_VERSION@
274PATH_SEPARATOR = @PATH_SEPARATOR@
275RANLIB = @RANLIB@
276SED = @SED@
277SET_MAKE = @SET_MAKE@
278SHELL = @SHELL@
279STRIP = @STRIP@
280THREAD_LIBS = @THREAD_LIBS@
281TH_SAFE = @TH_SAFE@
282VERSION = @VERSION@
283VERSIONSCRIPTFLAG = @VERSIONSCRIPTFLAG@
284abs_builddir = @abs_builddir@
285abs_srcdir = @abs_srcdir@
286abs_top_builddir = @abs_top_builddir@
287abs_top_srcdir = @abs_top_srcdir@
288ac_ct_CC = @ac_ct_CC@
289ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
290am__include = @am__include@
291am__leading_dot = @am__leading_dot@
292am__quote = @am__quote@
293am__tar = @am__tar@
294am__untar = @am__untar@
295bindir = @bindir@
296build = @build@
297build_alias = @build_alias@
298build_cpu = @build_cpu@
299build_os = @build_os@
300build_vendor = @build_vendor@
301builddir = @builddir@
302datadir = @datadir@
303datarootdir = @datarootdir@
304docdir = @docdir@
305dvidir = @dvidir@
306exec_prefix = @exec_prefix@
307host = @host@
308host_alias = @host_alias@
309host_cpu = @host_cpu@
310host_os = @host_os@
311host_vendor = @host_vendor@
312htmldir = @htmldir@
313includedir = @includedir@
314infodir = @infodir@
315install_sh = @install_sh@
316libdir = @libdir@
317libexecdir = @libexecdir@
318localedir = @localedir@
319localstatedir = @localstatedir@
320lt_ECHO = @lt_ECHO@
321ltdl_LIBOBJS = @ltdl_LIBOBJS@
322ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@
323mandir = @mandir@
324mkdir_p = @mkdir_p@
325oldincludedir = @oldincludedir@
326pdfdir = @pdfdir@
327prefix = @prefix@
328program_transform_name = @program_transform_name@
329psdir = @psdir@
330sbindir = @sbindir@
331sharedstatedir = @sharedstatedir@
332srcdir = @srcdir@
333subdirs = @subdirs@
334sys_symbol_underscore = @sys_symbol_underscore@
335sysconfdir = @sysconfdir@
336target = @target@
337target_alias = @target_alias@
338target_cpu = @target_cpu@
339target_os = @target_os@
340target_vendor = @target_vendor@
341top_build_prefix = @top_build_prefix@
342top_builddir = @top_builddir@
343top_srcdir = @top_srcdir@
344ACLOCAL_AMFLAGS = -I m4
345SUBDIRS = libltdl libclamav clamscan clamd clamdscan freshclam sigtool clamconf database docs etc clamav-milter test clamdtop clambc unit_tests
346EXTRA_DIST = FAQ examples BUGS shared libclamav.pc.in libclamunrar_iface/Makefile.am libclamunrar_iface/Makefile.in UPGRADE COPYING.bzip2 COPYING.lzma COPYING.unrar COPYING.LGPL COPYING.llvm COPYING.file COPYING.zlib COPYING.getopt COPYING.regex COPYING.sha256 platform.h.in clamdscan/clamdscan.map contrib
347bin_SCRIPTS = clamav-config
348pkgconfigdir = $(libdir)/pkgconfig
349pkgconfig_DATA = libclamav.pc
350
351# don't complain that configuration files and databases are not removed, this is intended
352distuninstallcheck_listfiles = find . -type f ! -name clamd.conf ! -name freshclam.conf ! -name daily.cvd ! -name main.cvd -print
353DISTCLEANFILES = target.h
354DISTCHECK_CONFIGURE_FLAGS = --enable-milter --disable-clamav --enable-all-jit-targets --enable-llvm=yes
355all: clamav-config.h
356 $(MAKE) $(AM_MAKEFLAGS) all-recursive
357
358.SUFFIXES:
359am--refresh:
360 @:
361$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
362 @for dep in $?; do \
363 case '$(am__configure_deps)' in \
364 *$$dep*) \
365 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
366 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
367 && exit 0; \
368 exit 1;; \
369 esac; \
370 done; \
371 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
372 $(am__cd) $(top_srcdir) && \
373 $(AUTOMAKE) --foreign Makefile
374.PRECIOUS: Makefile
375Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
376 @case '$?' in \
377 *config.status*) \
378 echo ' $(SHELL) ./config.status'; \
379 $(SHELL) ./config.status;; \
380 *) \
381 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
382 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
383 esac;
384
385$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
386 $(SHELL) ./config.status --recheck
387
388$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
389 $(am__cd) $(srcdir) && $(AUTOCONF)
390$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
391 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
392$(am__aclocal_m4_deps):
393
394clamav-config.h: stamp-h1
395 @if test ! -f $@; then \
396 rm -f stamp-h1; \
397 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
398 else :; fi
399
400stamp-h1: $(srcdir)/clamav-config.h.in $(top_builddir)/config.status
401 @rm -f stamp-h1
402 cd $(top_builddir) && $(SHELL) ./config.status clamav-config.h
403$(srcdir)/clamav-config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
404 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
405 rm -f stamp-h1
406 touch $@
407
408distclean-hdr:
409 -rm -f clamav-config.h stamp-h1
410clamav-config: $(top_builddir)/config.status $(srcdir)/clamav-config.in
411 cd $(top_builddir) && $(SHELL) ./config.status $@
412libclamav.pc: $(top_builddir)/config.status $(srcdir)/libclamav.pc.in
413 cd $(top_builddir) && $(SHELL) ./config.status $@
414platform.h: $(top_builddir)/config.status $(srcdir)/platform.h.in
415 cd $(top_builddir) && $(SHELL) ./config.status $@
416docs/man/clamav-milter.8: $(top_builddir)/config.status $(top_srcdir)/docs/man/clamav-milter.8.in
417 cd $(top_builddir) && $(SHELL) ./config.status $@
418docs/man/clamav-milter.conf.5: $(top_builddir)/config.status $(top_srcdir)/docs/man/clamav-milter.conf.5.in
419 cd $(top_builddir) && $(SHELL) ./config.status $@
420docs/man/clambc.1: $(top_builddir)/config.status $(top_srcdir)/docs/man/clambc.1.in
421 cd $(top_builddir) && $(SHELL) ./config.status $@
422docs/man/clamconf.1: $(top_builddir)/config.status $(top_srcdir)/docs/man/clamconf.1.in
423 cd $(top_builddir) && $(SHELL) ./config.status $@
424docs/man/clamd.8: $(top_builddir)/config.status $(top_srcdir)/docs/man/clamd.8.in
425 cd $(top_builddir) && $(SHELL) ./config.status $@
426docs/man/clamd.conf.5: $(top_builddir)/config.status $(top_srcdir)/docs/man/clamd.conf.5.in
427 cd $(top_builddir) && $(SHELL) ./config.status $@
428docs/man/clamdscan.1: $(top_builddir)/config.status $(top_srcdir)/docs/man/clamdscan.1.in
429 cd $(top_builddir) && $(SHELL) ./config.status $@
430docs/man/clamscan.1: $(top_builddir)/config.status $(top_srcdir)/docs/man/clamscan.1.in
431 cd $(top_builddir) && $(SHELL) ./config.status $@
432docs/man/freshclam.1: $(top_builddir)/config.status $(top_srcdir)/docs/man/freshclam.1.in
433 cd $(top_builddir) && $(SHELL) ./config.status $@
434docs/man/freshclam.conf.5: $(top_builddir)/config.status $(top_srcdir)/docs/man/freshclam.conf.5.in
435 cd $(top_builddir) && $(SHELL) ./config.status $@
436docs/man/sigtool.1: $(top_builddir)/config.status $(top_srcdir)/docs/man/sigtool.1.in
437 cd $(top_builddir) && $(SHELL) ./config.status $@
438docs/man/clamdtop.1: $(top_builddir)/config.status $(top_srcdir)/docs/man/clamdtop.1.in
439 cd $(top_builddir) && $(SHELL) ./config.status $@
440install-binSCRIPTS: $(bin_SCRIPTS)
441 @$(NORMAL_INSTALL)
442 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
443 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
444 for p in $$list; do \
445 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
446 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
447 done | \
448 sed -e 'p;s,.*/,,;n' \
449 -e 'h;s|.*|.|' \
450 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
451 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
452 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
453 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
454 if (++n[d] == $(am__install_max)) { \
455 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
456 else { print "f", d "/" $$4, $$1 } } \
457 END { for (d in files) print "f", d, files[d] }' | \
458 while read type dir files; do \
459 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
460 test -z "$$files" || { \
461 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
462 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
463 } \
464 ; done
465
466uninstall-binSCRIPTS:
467 @$(NORMAL_UNINSTALL)
468 @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
469 files=`for p in $$list; do echo "$$p"; done | \
470 sed -e 's,.*/,,;$(transform)'`; \
471 test -n "$$list" || exit 0; \
472 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
473 cd "$(DESTDIR)$(bindir)" && rm -f $$files
474
475installcheck-binSCRIPTS: $(bin_SCRIPTS)
476 bad=0; pid=$$$$; list="$(bin_SCRIPTS)"; for p in $$list; do \
477 case ' $(AM_INSTALLCHECK_STD_OPTIONS_EXEMPT) ' in \
478 *" $$p "* | *" $(srcdir)/$$p "*) continue;; \
479 esac; \
480 f=`echo "$$p" | sed 's,^.*/,,;$(transform)'`; \
481 for opt in --help --version; do \
482 if "$(DESTDIR)$(bindir)/$$f" $$opt >c$${pid}_.out \
483 2>c$${pid}_.err </dev/null \
484 && test -n "`cat c$${pid}_.out`" \
485 && test -z "`cat c$${pid}_.err`"; then :; \
486 else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \
487 done; \
488 done; rm -f c$${pid}_.???; exit $$bad
489
490mostlyclean-libtool:
491 -rm -f *.lo
492
493clean-libtool:
494 -rm -rf .libs _libs
495
496distclean-libtool:
497 -rm -f libtool config.lt
498install-pkgconfigDATA: $(pkgconfig_DATA)
499 @$(NORMAL_INSTALL)
500 test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
501 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
502 for p in $$list; do \
503 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
504 echo "$$d$$p"; \
505 done | $(am__base_list) | \
506 while read files; do \
507 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
508 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
509 done
510
511uninstall-pkgconfigDATA:
512 @$(NORMAL_UNINSTALL)
513 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
514 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
515 test -n "$$files" || exit 0; \
516 echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
517 cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
518
519# This directory's subdirectories are mostly independent; you can cd
520# into them and run `make' without going through this Makefile.
521# To change the values of `make' variables: instead of editing Makefiles,
522# (1) if the variable is set in `config.status', edit `config.status'
523# (which will cause the Makefiles to be regenerated when you run `make');
524# (2) otherwise, pass the desired values on the `make' command line.
525$(RECURSIVE_TARGETS):
526 @fail= failcom='exit 1'; \
527 for f in x $$MAKEFLAGS; do \
528 case $$f in \
529 *=* | --[!k]*);; \
530 *k*) failcom='fail=yes';; \
531 esac; \
532 done; \
533 dot_seen=no; \
534 target=`echo $@ | sed s/-recursive//`; \
535 list='$(SUBDIRS)'; for subdir in $$list; do \
536 echo "Making $$target in $$subdir"; \
537 if test "$$subdir" = "."; then \
538 dot_seen=yes; \
539 local_target="$$target-am"; \
540 else \
541 local_target="$$target"; \
542 fi; \
543 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
544 || eval $$failcom; \
545 done; \
546 if test "$$dot_seen" = "no"; then \
547 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
548 fi; test -z "$$fail"
549
550$(RECURSIVE_CLEAN_TARGETS):
551 @fail= failcom='exit 1'; \
552 for f in x $$MAKEFLAGS; do \
553 case $$f in \
554 *=* | --[!k]*);; \
555 *k*) failcom='fail=yes';; \
556 esac; \
557 done; \
558 dot_seen=no; \
559 case "$@" in \
560 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
561 *) list='$(SUBDIRS)' ;; \
562 esac; \
563 rev=''; for subdir in $$list; do \
564 if test "$$subdir" = "."; then :; else \
565 rev="$$subdir $$rev"; \
566 fi; \
567 done; \
568 rev="$$rev ."; \
569 target=`echo $@ | sed s/-recursive//`; \
570 for subdir in $$rev; do \
571 echo "Making $$target in $$subdir"; \
572 if test "$$subdir" = "."; then \
573 local_target="$$target-am"; \
574 else \
575 local_target="$$target"; \
576 fi; \
577 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
578 || eval $$failcom; \
579 done && test -z "$$fail"
580tags-recursive:
581 list='$(SUBDIRS)'; for subdir in $$list; do \
582 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
583 done
584ctags-recursive:
585 list='$(SUBDIRS)'; for subdir in $$list; do \
586 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
587 done
588
589ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
590 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
591 unique=`for i in $$list; do \
592 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
593 done | \
594 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
595 END { if (nonempty) { for (i in files) print i; }; }'`; \
596 mkid -fID $$unique
597tags: TAGS
598
599TAGS: tags-recursive $(HEADERS) $(SOURCES) clamav-config.h.in $(TAGS_DEPENDENCIES) \
600 $(TAGS_FILES) $(LISP)
601 set x; \
602 here=`pwd`; \
603 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
604 include_option=--etags-include; \
605 empty_fix=.; \
606 else \
607 include_option=--include; \
608 empty_fix=; \
609 fi; \
610 list='$(SUBDIRS)'; for subdir in $$list; do \
611 if test "$$subdir" = .; then :; else \
612 test ! -f $$subdir/TAGS || \
613 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
614 fi; \
615 done; \
616 list='$(SOURCES) $(HEADERS) clamav-config.h.in $(LISP) $(TAGS_FILES)'; \
617 unique=`for i in $$list; do \
618 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
619 done | \
620 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
621 END { if (nonempty) { for (i in files) print i; }; }'`; \
622 shift; \
623 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
624 test -n "$$unique" || unique=$$empty_fix; \
625 if test $$# -gt 0; then \
626 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
627 "$$@" $$unique; \
628 else \
629 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
630 $$unique; \
631 fi; \
632 fi
633ctags: CTAGS
634CTAGS: ctags-recursive $(HEADERS) $(SOURCES) clamav-config.h.in $(TAGS_DEPENDENCIES) \
635 $(TAGS_FILES) $(LISP)
636 list='$(SOURCES) $(HEADERS) clamav-config.h.in $(LISP) $(TAGS_FILES)'; \
637 unique=`for i in $$list; do \
638 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
639 done | \
640 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
641 END { if (nonempty) { for (i in files) print i; }; }'`; \
642 test -z "$(CTAGS_ARGS)$$unique" \
643 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
644 $$unique
645
646GTAGS:
647 here=`$(am__cd) $(top_builddir) && pwd` \
648 && $(am__cd) $(top_srcdir) \
649 && gtags -i $(GTAGS_ARGS) "$$here"
650
651distclean-tags:
652 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
653
654distdir: $(DISTFILES)
655 $(am__remove_distdir)
656 test -d "$(distdir)" || mkdir "$(distdir)"
657 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
658 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
659 list='$(DISTFILES)'; \
660 dist_files=`for file in $$list; do echo $$file; done | \
661 sed -e "s|^$$srcdirstrip/||;t" \
662 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
663 case $$dist_files in \
664 */*) $(MKDIR_P) `echo "$$dist_files" | \
665 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
666 sort -u` ;; \
667 esac; \
668 for file in $$dist_files; do \
669 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
670 if test -d $$d/$$file; then \
671 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
672 if test -d "$(distdir)/$$file"; then \
673 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
674 fi; \
675 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
676 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
677 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
678 fi; \
679 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
680 else \
681 test -f "$(distdir)/$$file" \
682 || cp -p $$d/$$file "$(distdir)/$$file" \
683 || exit 1; \
684 fi; \
685 done
686 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
687 if test "$$subdir" = .; then :; else \
688 test -d "$(distdir)/$$subdir" \
689 || $(MKDIR_P) "$(distdir)/$$subdir" \
690 || exit 1; \
691 fi; \
692 done
693 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
694 if test "$$subdir" = .; then :; else \
695 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
696 $(am__relativize); \
697 new_distdir=$$reldir; \
698 dir1=$$subdir; dir2="$(top_distdir)"; \
699 $(am__relativize); \
700 new_top_distdir=$$reldir; \
701 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
702 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
703 ($(am__cd) $$subdir && \
704 $(MAKE) $(AM_MAKEFLAGS) \
705 top_distdir="$$new_top_distdir" \
706 distdir="$$new_distdir" \
707 am__remove_distdir=: \
708 am__skip_length_check=: \
709 am__skip_mode_fix=: \
710 distdir) \
711 || exit 1; \
712 fi; \
713 done
714 $(MAKE) $(AM_MAKEFLAGS) \
715 top_distdir="$(top_distdir)" distdir="$(distdir)" \
716 dist-hook
717 -test -n "$(am__skip_mode_fix)" \
718 || find "$(distdir)" -type d ! -perm -755 \
719 -exec chmod u+rwx,go+rx {} \; -o \
720 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
721 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
722 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
723 || chmod -R a+r "$(distdir)"
724dist-gzip: distdir
725 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
726 $(am__remove_distdir)
727dist-bzip2: distdir
728 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
729 $(am__remove_distdir)
730
731dist-lzma: distdir
732 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
733 $(am__remove_distdir)
734
735dist-xz: distdir
736 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
737 $(am__remove_distdir)
738
739dist-tarZ: distdir
740 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
741 $(am__remove_distdir)
742
743dist-shar: distdir
744 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
745 $(am__remove_distdir)
746
747dist-zip: distdir
748 -rm -f $(distdir).zip
749 zip -rq $(distdir).zip $(distdir)
750 $(am__remove_distdir)
751
752dist dist-all: distdir
753 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
754 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
755 $(am__remove_distdir)
756
757# This target untars the dist file and tries a VPATH configuration. Then
758# it guarantees that the distribution is self-contained by making another
759# tarfile.
760distcheck: dist
761 case '$(DIST_ARCHIVES)' in \
762 *.tar.gz*) \
763 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
764 *.tar.bz2*) \
765 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
766 *.tar.lzma*) \
767 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
768 *.tar.xz*) \
769 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
770 *.tar.Z*) \
771 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
772 *.shar.gz*) \
773 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
774 *.zip*) \
775 unzip $(distdir).zip ;;\
776 esac
777 chmod -R a-w $(distdir); chmod a+w $(distdir)
778 mkdir $(distdir)/_build
779 mkdir $(distdir)/_inst
780 chmod a-w $(distdir)
781 test -d $(distdir)/_build || exit 0; \
782 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
783 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
784 && am__cwd=`pwd` \
785 && $(am__cd) $(distdir)/_build \
786 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
787 $(DISTCHECK_CONFIGURE_FLAGS) \
788 && $(MAKE) $(AM_MAKEFLAGS) \
789 && $(MAKE) $(AM_MAKEFLAGS) dvi \
790 && $(MAKE) $(AM_MAKEFLAGS) check \
791 && $(MAKE) $(AM_MAKEFLAGS) install \
792 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
793 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
794 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
795 distuninstallcheck \
796 && chmod -R a-w "$$dc_install_base" \
797 && ({ \
798 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
799 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
800 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
801 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
802 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
803 } || { rm -rf "$$dc_destdir"; exit 1; }) \
804 && rm -rf "$$dc_destdir" \
805 && $(MAKE) $(AM_MAKEFLAGS) dist \
806 && rm -rf $(DIST_ARCHIVES) \
807 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
808 && cd "$$am__cwd" \
809 || exit 1
810 $(am__remove_distdir)
811 @(echo "$(distdir) archives ready for distribution: "; \
812 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
813 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
814distuninstallcheck:
815 @$(am__cd) '$(distuninstallcheck_dir)' \
816 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
817 || { echo "ERROR: files left after uninstall:" ; \
818 if test -n "$(DESTDIR)"; then \
819 echo " (check DESTDIR support)"; \
820 fi ; \
821 $(distuninstallcheck_listfiles) ; \
822 exit 1; } >&2
823distcleancheck: distclean
824 @if test '$(srcdir)' = . ; then \
825 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
826 exit 1 ; \
827 fi
828 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
829 || { echo "ERROR: files left in build directory after distclean:" ; \
830 $(distcleancheck_listfiles) ; \
831 exit 1; } >&2
832check-am: all-am
833check: check-recursive
834all-am: Makefile $(SCRIPTS) $(DATA) clamav-config.h
835installdirs: installdirs-recursive
836installdirs-am:
837 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"; do \
838 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
839 done
840install: install-recursive
841install-exec: install-exec-recursive
842install-data: install-data-recursive
843uninstall: uninstall-recursive
844
845install-am: all-am
846 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
847
848installcheck: installcheck-recursive
849install-strip:
850 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
851 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
852 `test -z '$(STRIP)' || \
853 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
854mostlyclean-generic:
855
856clean-generic:
857
858distclean-generic:
859 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
860 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
861 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
862
863maintainer-clean-generic:
864 @echo "This command is intended for maintainers to use"
865 @echo "it deletes files that may require special tools to rebuild."
866clean: clean-recursive
867
868clean-am: clean-generic clean-libtool mostlyclean-am
869
870distclean: distclean-recursive
871 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
872 -rm -f Makefile
873distclean-am: clean-am distclean-generic distclean-hdr \
874 distclean-libtool distclean-tags
875
876dvi: dvi-recursive
877
878dvi-am:
879
880html: html-recursive
881
882html-am:
883
884info: info-recursive
885
886info-am:
887
888install-data-am: install-pkgconfigDATA
889
890install-dvi: install-dvi-recursive
891
892install-dvi-am:
893
894install-exec-am: install-binSCRIPTS
895
896install-html: install-html-recursive
897
898install-html-am:
899
900install-info: install-info-recursive
901
902install-info-am:
903
904install-man:
905
906install-pdf: install-pdf-recursive
907
908install-pdf-am:
909
910install-ps: install-ps-recursive
911
912install-ps-am:
913
914installcheck-am: installcheck-binSCRIPTS
915
916maintainer-clean: maintainer-clean-recursive
917 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
918 -rm -rf $(top_srcdir)/autom4te.cache
919 -rm -f Makefile
920maintainer-clean-am: distclean-am maintainer-clean-generic
921
922mostlyclean: mostlyclean-recursive
923
924mostlyclean-am: mostlyclean-generic mostlyclean-libtool
925
926pdf: pdf-recursive
927
928pdf-am:
929
930ps: ps-recursive
931
932ps-am:
933
934uninstall-am: uninstall-binSCRIPTS uninstall-pkgconfigDATA
935
936.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
937 ctags-recursive install-am install-strip tags-recursive
938
939.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
940 all all-am am--refresh check check-am clean clean-generic \
941 clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
942 dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-xz \
943 dist-zip distcheck distclean distclean-generic distclean-hdr \
944 distclean-libtool distclean-tags distcleancheck distdir \
945 distuninstallcheck dvi dvi-am html html-am info info-am \
946 install install-am install-binSCRIPTS install-data \
947 install-data-am install-dvi install-dvi-am install-exec \
948 install-exec-am install-html install-html-am install-info \
949 install-info-am install-man install-pdf install-pdf-am \
950 install-pkgconfigDATA install-ps install-ps-am install-strip \
951 installcheck installcheck-am installcheck-binSCRIPTS \
952 installdirs installdirs-am maintainer-clean \
953 maintainer-clean-generic mostlyclean mostlyclean-generic \
954 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
955 uninstall uninstall-am uninstall-binSCRIPTS \
956 uninstall-pkgconfigDATA
957
958lcov:
959 ($(MAKE); cd unit_tests; $(MAKE) lcov)
960quick-check:
961 ($(MAKE); cd unit_tests; $(MAKE) quick-check)
962
963dist-hook:
964 rm -rf $(distdir)/win32/clamav-for-windows $(distdir)/win32/build
965
966# Tell versions [3.59,3.63) of GNU make to not export all variables.
967# Otherwise a system limit (for SysV at least) may be exceeded.
968.NOEXPORT:
0969
=== modified file 'NEWS'
--- NEWS 2012-10-08 12:29:39 +0000
+++ NEWS 2013-04-03 16:48:24 +0000
@@ -1,9 +1,8 @@
10.97.610.97.7
2------2------
33ClamAV 0.97.7 addresses several reported potential security bugs. Thanks to
4ClamAV 0.97.6 corrects two major bugs. One is bb#5571, where an invalid return4Felix Groebert, Mateusz Jurczyk and Gynvael Coldwind of the Google Security
5code was issued. The other is 5252, where an error in processing certain data5Team for finding and reporting these issues.
6types occured.
76
8--7--
9The ClamAV team (http://www.clamav.net/team)8The ClamAV team (http://www.clamav.net/team)
109
=== modified file 'README'
--- README 2012-10-08 12:29:39 +0000
+++ README 2013-04-03 16:48:24 +0000
@@ -1,6 +1,12 @@
1Note: This README/NEWS file refers to the source tarball. Some things described1Note: This README/NEWS file refers to the source tarball. Some things described
2here may not be available in binary packages.2here may not be available in binary packages.
3--3--
40.97.7
5------
6ClamAV 0.97.7 addresses several reported potential security bugs. Thanks to
7Felix Groebert, Mateusz Jurczyk and Gynvael Coldwind of the Google Security
8Team for finding and reporting these issues.
9
40.97.6100.97.6
5------11------
6ClamAV 0.97.6 corrects bug 5252 "CL_EFORMAT: Bad format or broken data ERROR12ClamAV 0.97.6 corrects bug 5252 "CL_EFORMAT: Bad format or broken data ERROR
713
=== modified file 'aclocal.m4'
--- aclocal.m4 2012-06-19 21:39:28 +0000
+++ aclocal.m4 2013-04-03 16:48:24 +0000
@@ -13,8 +13,8 @@
1313
14m4_ifndef([AC_AUTOCONF_VERSION],14m4_ifndef([AC_AUTOCONF_VERSION],
15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
17[m4_warning([this file was generated for autoconf 2.65.17[m4_warning([this file was generated for autoconf 2.63.
18You have another version of autoconf. It may work, but is not guaranteed to.18You have another version of autoconf. It may work, but is not guaranteed to.
19If you have problems, you may need to regenerate the build system entirely.19If you have problems, you may need to regenerate the build system entirely.
20To do so, use the procedure documented by the package, typically `autoreconf'.])])20To do so, use the procedure documented by the package, typically `autoreconf'.])])
2121
=== modified file 'clamav-config.h.in'
--- clamav-config.h.in 2012-06-19 21:39:28 +0000
+++ clamav-config.h.in 2013-04-03 16:48:24 +0000
@@ -463,9 +463,6 @@
463/* Define to the one symbol short name of this package. */463/* Define to the one symbol short name of this package. */
464#undef PACKAGE_TARNAME464#undef PACKAGE_TARNAME
465465
466/* Define to the home page for this package. */
467#undef PACKAGE_URL
468
469/* Define to the version of this package. */466/* Define to the version of this package. */
470#undef PACKAGE_VERSION467#undef PACKAGE_VERSION
471468
@@ -554,14 +551,13 @@
554 nothing if this is not supported. Do not define if restrict is551 nothing if this is not supported. Do not define if restrict is
555 supported directly. */552 supported directly. */
556#undef restrict553#undef restrict
557/* Work around a bug in Sun C++: it does not support _Restrict or554/* Work around a bug in Sun C++: it does not support _Restrict, even
558 __restrict__, even though the corresponding Sun C compiler ends up with555 though the corresponding Sun C compiler does, which causes
559 "#define restrict _Restrict" or "#define restrict __restrict__" in the556 "#define restrict _Restrict" in the previous line. Perhaps some future
560 previous line. Perhaps some future version of Sun C++ will work with557 version of Sun C++ will work with _Restrict; if so, it'll probably
561 restrict; if so, hopefully it defines __RESTRICT like Sun C does. */558 define __RESTRICT, just as Sun C does. */
562#if defined __SUNPRO_CC && !defined __RESTRICT559#if defined __SUNPRO_CC && !defined __RESTRICT
563# define _Restrict560# define _Restrict
564# define __restrict__
565#endif561#endif
566562
567/* Define to "int" if <sys/socket.h> does not define. */563/* Define to "int" if <sys/socket.h> does not define. */
568564
=== modified file 'clamav-milter/Makefile.in'
--- clamav-milter/Makefile.in 2011-02-19 09:51:33 +0000
+++ clamav-milter/Makefile.in 2013-04-03 16:48:24 +0000
@@ -243,7 +243,6 @@
243PACKAGE_NAME = @PACKAGE_NAME@243PACKAGE_NAME = @PACKAGE_NAME@
244PACKAGE_STRING = @PACKAGE_STRING@244PACKAGE_STRING = @PACKAGE_STRING@
245PACKAGE_TARNAME = @PACKAGE_TARNAME@245PACKAGE_TARNAME = @PACKAGE_TARNAME@
246PACKAGE_URL = @PACKAGE_URL@
247PACKAGE_VERSION = @PACKAGE_VERSION@246PACKAGE_VERSION = @PACKAGE_VERSION@
248PATH_SEPARATOR = @PATH_SEPARATOR@247PATH_SEPARATOR = @PATH_SEPARATOR@
249RANLIB = @RANLIB@248RANLIB = @RANLIB@
250249
=== modified file 'clambc/Makefile.in'
--- clambc/Makefile.in 2011-02-19 09:51:33 +0000
+++ clambc/Makefile.in 2013-04-03 16:48:24 +0000
@@ -185,7 +185,6 @@
185PACKAGE_NAME = @PACKAGE_NAME@185PACKAGE_NAME = @PACKAGE_NAME@
186PACKAGE_STRING = @PACKAGE_STRING@186PACKAGE_STRING = @PACKAGE_STRING@
187PACKAGE_TARNAME = @PACKAGE_TARNAME@187PACKAGE_TARNAME = @PACKAGE_TARNAME@
188PACKAGE_URL = @PACKAGE_URL@
189PACKAGE_VERSION = @PACKAGE_VERSION@188PACKAGE_VERSION = @PACKAGE_VERSION@
190PATH_SEPARATOR = @PATH_SEPARATOR@189PATH_SEPARATOR = @PATH_SEPARATOR@
191RANLIB = @RANLIB@190RANLIB = @RANLIB@
192191
=== modified file 'clamconf/Makefile.in'
--- clamconf/Makefile.in 2011-02-19 09:51:33 +0000
+++ clamconf/Makefile.in 2013-04-03 16:48:24 +0000
@@ -203,7 +203,6 @@
203PACKAGE_NAME = @PACKAGE_NAME@203PACKAGE_NAME = @PACKAGE_NAME@
204PACKAGE_STRING = @PACKAGE_STRING@204PACKAGE_STRING = @PACKAGE_STRING@
205PACKAGE_TARNAME = @PACKAGE_TARNAME@205PACKAGE_TARNAME = @PACKAGE_TARNAME@
206PACKAGE_URL = @PACKAGE_URL@
207PACKAGE_VERSION = @PACKAGE_VERSION@206PACKAGE_VERSION = @PACKAGE_VERSION@
208PATH_SEPARATOR = @PATH_SEPARATOR@207PATH_SEPARATOR = @PATH_SEPARATOR@
209RANLIB = @RANLIB@208RANLIB = @RANLIB@
210209
=== modified file 'clamd/Makefile.in'
--- clamd/Makefile.in 2011-02-19 09:51:33 +0000
+++ clamd/Makefile.in 2013-04-03 16:48:24 +0000
@@ -221,7 +221,6 @@
221PACKAGE_NAME = @PACKAGE_NAME@221PACKAGE_NAME = @PACKAGE_NAME@
222PACKAGE_STRING = @PACKAGE_STRING@222PACKAGE_STRING = @PACKAGE_STRING@
223PACKAGE_TARNAME = @PACKAGE_TARNAME@223PACKAGE_TARNAME = @PACKAGE_TARNAME@
224PACKAGE_URL = @PACKAGE_URL@
225PACKAGE_VERSION = @PACKAGE_VERSION@224PACKAGE_VERSION = @PACKAGE_VERSION@
226PATH_SEPARATOR = @PATH_SEPARATOR@225PATH_SEPARATOR = @PATH_SEPARATOR@
227RANLIB = @RANLIB@226RANLIB = @RANLIB@
228227
=== modified file 'clamd/scanner.c'
--- clamd/scanner.c 2011-06-18 11:56:34 +0000
+++ clamd/scanner.c 2013-04-03 16:48:24 +0000
@@ -107,6 +107,7 @@
107{107{
108 struct scan_cb_data *scandata = data->data;108 struct scan_cb_data *scandata = data->data;
109 const char *virname;109 const char *virname;
110 const char **virpp = &virname;
110 int ret;111 int ret;
111 int type = scandata->type;112 int type = scandata->type;
112 struct cb_context context;113 struct cb_context context;
@@ -228,11 +229,18 @@
228 type == TYPE_MULTISCAN ? "MULTISCANFILE" : NULL);229 type == TYPE_MULTISCAN ? "MULTISCANFILE" : NULL);
229 context.filename = filename;230 context.filename = filename;
230 context.virsize = 0;231 context.virsize = 0;
231 ret = cl_scanfile_callback(filename, &virname, &scandata->scanned, scandata->engine, scandata->options, &context);232 ret = cl_scanfile_callback(filename, virpp, &scandata->scanned, scandata->engine, scandata->options, &context);
232 thrmgr_setactivetask(NULL, NULL);233 thrmgr_setactivetask(NULL, NULL);
233234
235 if (scandata->options & CL_SCAN_ALLMATCHES) {
236 virpp = (const char **)*virpp; /* temp hack for scanall mode until api augmentation */
237 virname = virpp[0];
238 }
239
234 if (thrmgr_group_need_terminate(scandata->conn->group)) {240 if (thrmgr_group_need_terminate(scandata->conn->group)) {
235 free(filename);241 free(filename);
242 if (ret == CL_VIRUS && scandata->options & CL_SCAN_ALLMATCHES)
243 free((void *)virpp);
236 logg("*Client disconnected while scanjob was active\n");244 logg("*Client disconnected while scanjob was active\n");
237 return ret == CL_ETIMEOUT ? ret : CL_BREAK;245 return ret == CL_ETIMEOUT ? ret : CL_BREAK;
238 }246 }
@@ -241,8 +249,19 @@
241 scandata->infected++;249 scandata->infected++;
242 if (conn_reply_virus(scandata->conn, filename, virname) == -1) {250 if (conn_reply_virus(scandata->conn, filename, virname) == -1) {
243 free(filename);251 free(filename);
252 if (scandata->options & CL_SCAN_ALLMATCHES)
253 free((void *)virpp);
244 return CL_ETIMEOUT;254 return CL_ETIMEOUT;
245 }255 }
256 if (scandata->options & CL_SCAN_ALLMATCHES && virpp[1] != NULL) {
257 int i = 1;
258 while (NULL != virpp[i])
259 if (conn_reply_virus(scandata->conn, filename, virpp[i++]) == -1) {
260 free(filename);
261 free((void *)virpp);
262 return CL_ETIMEOUT;
263 }
264 }
246 if(context.virsize)265 if(context.virsize)
247 detstats_add(virname, filename, context.virsize, context.virhash);266 detstats_add(virname, filename, context.virsize, context.virhash);
248 if(context.virsize && optget(scandata->opts, "ExtendedDetectionInfo")->enabled)267 if(context.virsize && optget(scandata->opts, "ExtendedDetectionInfo")->enabled)
@@ -250,6 +269,11 @@
250 else269 else
251 logg("~%s: %s FOUND\n", filename, virname);270 logg("~%s: %s FOUND\n", filename, virname);
252 virusaction(filename, virname, scandata->opts);271 virusaction(filename, virname, scandata->opts);
272 if (scandata->options & CL_SCAN_ALLMATCHES && virpp[1] != NULL) {
273 int i = 1;
274 while (NULL != virpp[i])
275 logg("~%s: %s FOUND\n", filename, virpp[i++]);
276 }
253 } else if (ret != CL_CLEAN) {277 } else if (ret != CL_CLEAN) {
254 scandata->errors++;278 scandata->errors++;
255 if (conn_reply(scandata->conn, filename, cl_strerror(ret), "ERROR") == -1) {279 if (conn_reply(scandata->conn, filename, cl_strerror(ret), "ERROR") == -1) {
@@ -262,6 +286,8 @@
262 }286 }
263287
264 free(filename);288 free(filename);
289 if (ret == CL_VIRUS && scandata->options & CL_SCAN_ALLMATCHES)
290 free((void *)virpp);
265 if(ret == CL_EMEM) /* stop scanning */291 if(ret == CL_EMEM) /* stop scanning */
266 return ret;292 return ret;
267293
268294
=== modified file 'clamd/session.c'
--- clamd/session.c 2011-06-18 11:56:34 +0000
+++ clamd/session.c 2013-04-03 16:48:24 +0000
@@ -94,7 +94,8 @@
94 {CMD16, sizeof(CMD16)-1, COMMAND_IDSESSION, 0, 0, 1},94 {CMD16, sizeof(CMD16)-1, COMMAND_IDSESSION, 0, 0, 1},
95 {CMD17, sizeof(CMD17)-1, COMMAND_INSTREAM, 0, 0, 1},95 {CMD17, sizeof(CMD17)-1, COMMAND_INSTREAM, 0, 0, 1},
96 {CMD19, sizeof(CMD19)-1, COMMAND_DETSTATSCLEAR, 0, 1, 1},96 {CMD19, sizeof(CMD19)-1, COMMAND_DETSTATSCLEAR, 0, 1, 1},
97 {CMD20, sizeof(CMD20)-1, COMMAND_DETSTATS, 0, 1, 1}97 {CMD20, sizeof(CMD20)-1, COMMAND_DETSTATS, 0, 1, 1},
98 {CMD21, sizeof(CMD21)-1, COMMAND_ALLMATCHSCAN, 1, 0, 1}
98};99};
99100
100enum commands parse_command(const char *cmd, const char **argument, int oldstyle)101enum commands parse_command(const char *cmd, const char **argument, int oldstyle)
@@ -346,7 +347,11 @@
346 conn->scanfd = -1;347 conn->scanfd = -1;
347 cli_unlink(conn->filename);348 cli_unlink(conn->filename);
348 return ret;349 return ret;
349 default:350 case COMMAND_ALLMATCHSCAN:
351 thrmgr_setactivetask(NULL, "ALLMATCHSCAN");
352 scandata.options |= CL_SCAN_ALLMATCHES;
353 type = TYPE_SCAN;
354 break;default:
350 logg("!Invalid command distpached: %d\n", conn->cmdtype);355 logg("!Invalid command distpached: %d\n", conn->cmdtype);
351 return 1;356 return 1;
352 }357 }
@@ -420,6 +425,7 @@
420 case COMMAND_SCAN:425 case COMMAND_SCAN:
421 case COMMAND_CONTSCAN:426 case COMMAND_CONTSCAN:
422 case COMMAND_MULTISCAN:427 case COMMAND_MULTISCAN:
428 case COMMAND_ALLMATCHSCAN:
423 dup_conn->filename = strdup(argument);429 dup_conn->filename = strdup(argument);
424 if (!dup_conn->filename) {430 if (!dup_conn->filename) {
425 logg("!Failed to allocate memory for filename\n");431 logg("!Failed to allocate memory for filename\n");
@@ -591,6 +597,7 @@
591 case COMMAND_FILDES:597 case COMMAND_FILDES:
592 case COMMAND_SCAN:598 case COMMAND_SCAN:
593 case COMMAND_INSTREAMSCAN:599 case COMMAND_INSTREAMSCAN:
600 case COMMAND_ALLMATCHSCAN:
594 return dispatch_command(conn, cmd, argument);601 return dispatch_command(conn, cmd, argument);
595 case COMMAND_IDSESSION:602 case COMMAND_IDSESSION:
596 conn->group = thrmgr_group_new();603 conn->group = thrmgr_group_new();
597604
=== modified file 'clamd/session.h'
--- clamd/session.h 2011-02-19 09:51:33 +0000
+++ clamd/session.h 2013-04-03 16:48:24 +0000
@@ -43,6 +43,8 @@
43#define CMD19 "DETSTATSCLEAR"43#define CMD19 "DETSTATSCLEAR"
44#define CMD20 "DETSTATS"44#define CMD20 "DETSTATS"
4545
46#define CMD21 "ALLMATCHSCAN"
47
46#include "libclamav/clamav.h"48#include "libclamav/clamav.h"
47#include "shared/optparser.h"49#include "shared/optparser.h"
48#include "server.h"50#include "server.h"
@@ -70,7 +72,8 @@
70 COMMAND_DETSTATS,72 COMMAND_DETSTATS,
71 /* internal commands */73 /* internal commands */
72 COMMAND_MULTISCANFILE,74 COMMAND_MULTISCANFILE,
73 COMMAND_INSTREAMSCAN75 COMMAND_INSTREAMSCAN,
76 COMMAND_ALLMATCHSCAN
74};77};
7578
76typedef struct client_conn_tag {79typedef struct client_conn_tag {
7780
=== modified file 'clamdscan/Makefile.in'
--- clamdscan/Makefile.in 2011-02-19 09:51:33 +0000
+++ clamdscan/Makefile.in 2013-04-03 16:48:24 +0000
@@ -214,7 +214,6 @@
214PACKAGE_NAME = @PACKAGE_NAME@214PACKAGE_NAME = @PACKAGE_NAME@
215PACKAGE_STRING = @PACKAGE_STRING@215PACKAGE_STRING = @PACKAGE_STRING@
216PACKAGE_TARNAME = @PACKAGE_TARNAME@216PACKAGE_TARNAME = @PACKAGE_TARNAME@
217PACKAGE_URL = @PACKAGE_URL@
218PACKAGE_VERSION = @PACKAGE_VERSION@217PACKAGE_VERSION = @PACKAGE_VERSION@
219PATH_SEPARATOR = @PATH_SEPARATOR@218PATH_SEPARATOR = @PATH_SEPARATOR@
220RANLIB = @RANLIB@219RANLIB = @RANLIB@
221220
=== modified file 'clamdscan/client.c'
--- clamdscan/client.c 2011-06-18 11:56:34 +0000
+++ clamdscan/client.c 2013-04-03 16:48:24 +0000
@@ -232,7 +232,9 @@
232 if(remote || scandash) {232 if(remote || scandash) {
233 scantype = STREAM;233 scantype = STREAM;
234 session = optget(opts, "multiscan")->enabled;234 session = optget(opts, "multiscan")->enabled;
235 } else if(optget(opts, "multiscan")->enabled) scantype = MULTI;235 }
236 else if(optget(opts, "multiscan")->enabled) scantype = MULTI;
237 else if(optget(opts, "allmatch")->enabled) scantype = ALLMATCH;
236 else scantype = CONT;238 else scantype = CONT;
237239
238 maxrec = optget(clamdopts, "MaxDirectoryRecursion")->numarg;240 maxrec = optget(clamdopts, "MaxDirectoryRecursion")->numarg;
239241
=== modified file 'clamdscan/client.h'
--- clamdscan/client.h 2010-05-20 22:09:21 +0000
+++ clamdscan/client.h 2013-04-03 16:48:24 +0000
@@ -27,7 +27,9 @@
27 CONT,27 CONT,
28 MULTI,28 MULTI,
29 STREAM,29 STREAM,
30 FILDES30 FILDES,
31 ALLMATCH,
32 MAX_SCANTYPE = ALLMATCH
31};33};
3234
33int client(const struct optstruct *opts, int *infected, int *err);35int client(const struct optstruct *opts, int *infected, int *err);
3436
=== modified file 'clamdscan/proto.c'
--- clamdscan/proto.c 2011-06-18 11:56:34 +0000
+++ clamdscan/proto.c 2013-04-03 16:48:24 +0000
@@ -58,7 +58,7 @@
58int printinfected;58int printinfected;
59extern struct optstruct *clamdopts;59extern struct optstruct *clamdopts;
6060
61static const char *scancmd[] = { "CONTSCAN", "MULTISCAN" };61static const char *scancmd[] = { "CONTSCAN", "MULTISCAN", "INSTREAM", "FILDES", "ALLMATCHSCAN" };
6262
63/* Connects to clamd 63/* Connects to clamd
64 * Returns a FD or -1 on error */64 * Returns a FD or -1 on error */
@@ -202,6 +202,11 @@
202 switch(scantype) {202 switch(scantype) {
203 case MULTI:203 case MULTI:
204 case CONT:204 case CONT:
205 case ALLMATCH:
206 if (!filename) {
207 logg("Filename cannot be NULL for MULTISCAN or CONTSCAN.\n");
208 return -1;
209 }
205 len = strlen(filename) + strlen(scancmd[scantype]) + 3;210 len = strlen(filename) + strlen(scancmd[scantype]) + 3;
206 if (!(bol = malloc(len))) {211 if (!(bol = malloc(len))) {
207 logg("!Cannot allocate a command buffer: %s\n", strerror(errno));212 logg("!Cannot allocate a command buffer: %s\n", strerror(errno));
@@ -247,7 +252,13 @@
247 colon = strrchr(bol, ':');252 colon = strrchr(bol, ':');
248 }253 }
249 if(!colon) {254 if(!colon) {
250 logg("Failed to parse reply\n");255 char * unkco = "UNKNOWN COMMAND";
256 if (!strncmp(bol, unkco, sizeof(unkco) - 1))
257 logg("clamd replied \"UNKNOWN COMMAND\". Command was %s\n",
258 (scantype < 0 || scantype > MAX_SCANTYPE) ? "unidentified" :
259 scancmd[scantype]);
260 else
261 logg("Failed to parse reply: \"%s\"\n", bol);
251 return -1;262 return -1;
252 } else if(!memcmp(eol - 7, " FOUND", 6)) {263 } else if(!memcmp(eol - 7, " FOUND", 6)) {
253 *(eol - 7) = 0;264 *(eol - 7) = 0;
254265
=== modified file 'clamdtop/Makefile.in'
--- clamdtop/Makefile.in 2011-02-19 09:51:33 +0000
+++ clamdtop/Makefile.in 2013-04-03 16:48:24 +0000
@@ -214,7 +214,6 @@
214PACKAGE_NAME = @PACKAGE_NAME@214PACKAGE_NAME = @PACKAGE_NAME@
215PACKAGE_STRING = @PACKAGE_STRING@215PACKAGE_STRING = @PACKAGE_STRING@
216PACKAGE_TARNAME = @PACKAGE_TARNAME@216PACKAGE_TARNAME = @PACKAGE_TARNAME@
217PACKAGE_URL = @PACKAGE_URL@
218PACKAGE_VERSION = @PACKAGE_VERSION@217PACKAGE_VERSION = @PACKAGE_VERSION@
219PATH_SEPARATOR = @PATH_SEPARATOR@218PATH_SEPARATOR = @PATH_SEPARATOR@
220RANLIB = @RANLIB@219RANLIB = @RANLIB@
221220
=== modified file 'clamscan/Makefile.in'
--- clamscan/Makefile.in 2011-02-19 09:51:33 +0000
+++ clamscan/Makefile.in 2013-04-03 16:48:24 +0000
@@ -205,7 +205,6 @@
205PACKAGE_NAME = @PACKAGE_NAME@205PACKAGE_NAME = @PACKAGE_NAME@
206PACKAGE_STRING = @PACKAGE_STRING@206PACKAGE_STRING = @PACKAGE_STRING@
207PACKAGE_TARNAME = @PACKAGE_TARNAME@207PACKAGE_TARNAME = @PACKAGE_TARNAME@
208PACKAGE_URL = @PACKAGE_URL@
209PACKAGE_VERSION = @PACKAGE_VERSION@208PACKAGE_VERSION = @PACKAGE_VERSION@
210PATH_SEPARATOR = @PATH_SEPARATOR@209PATH_SEPARATOR = @PATH_SEPARATOR@
211RANLIB = @RANLIB@210RANLIB = @RANLIB@
212211
=== modified file 'clamscan/manager.c'
--- clamscan/manager.c 2011-06-18 11:56:34 +0000
+++ clamscan/manager.c 2013-04-03 16:48:24 +0000
@@ -125,6 +125,7 @@
125 int ret = 0, fd, included, printclean = 1;125 int ret = 0, fd, included, printclean = 1;
126 const struct optstruct *opt;126 const struct optstruct *opt;
127 const char *virname;127 const char *virname;
128 const char **virpp = &virname;
128 struct stat sb;129 struct stat sb;
129130
130 if((opt = optget(opts, "exclude"))->enabled) {131 if((opt = optget(opts, "exclude"))->enabled) {
@@ -190,7 +191,16 @@
190 }191 }
191192
192 if((ret = cl_scandesc(fd, &virname, &info.blocks, engine, options)) == CL_VIRUS) {193 if((ret = cl_scandesc(fd, &virname, &info.blocks, engine, options)) == CL_VIRUS) {
193 logg("~%s: %s FOUND\n", filename, virname);194 if (options & CL_SCAN_ALLMATCHES) {
195 int i = 0;
196 virpp = (const char **)*virpp; /* temp hack for allscan until API enhancement */
197 virname = virpp[0];
198 while (virpp[i])
199 logg("~%s: %s FOUND\n", filename, virpp[i++]);
200 free((void *)virpp);
201 }
202 else
203 logg("~%s: %s FOUND\n", filename, virname);
194 info.files++;204 info.files++;
195 info.ifiles++;205 info.ifiles++;
196206
@@ -319,6 +329,8 @@
319 int ret;329 int ret;
320 unsigned int fsize = 0;330 unsigned int fsize = 0;
321 const char *virname, *tmpdir;331 const char *virname, *tmpdir;
332 const char **virpp = &virname;
333
322 char *file, buff[FILEBUFF];334 char *file, buff[FILEBUFF];
323 size_t bread;335 size_t bread;
324 FILE *fs;336 FILE *fs;
@@ -358,7 +370,17 @@
358 info.rblocks += fsize / CL_COUNT_PRECISION;370 info.rblocks += fsize / CL_COUNT_PRECISION;
359371
360 if((ret = cl_scanfile(file, &virname, &info.blocks, engine, options)) == CL_VIRUS) {372 if((ret = cl_scanfile(file, &virname, &info.blocks, engine, options)) == CL_VIRUS) {
361 logg("stdin: %s FOUND\n", virname);373 if (options & CL_SCAN_ALLMATCHES) {
374 int i = 0;
375 virpp = (const char **)*virpp; /* temp hack for scanall mode until api augmentation */
376 virname = virpp[0];
377 while (virpp[i])
378 logg("stdin: %s FOUND\n", virpp[i++]);
379 free((void *)virpp);
380 }
381 else
382 logg("stdin: %s FOUND\n", virname);
383
362 info.ifiles++;384 info.ifiles++;
363385
364 if(bell)386 if(bell)
@@ -587,6 +609,9 @@
587 }609 }
588610
589 /* set scan options */611 /* set scan options */
612 if(optget(opts, "allmatch")->enabled)
613 options |= CL_SCAN_ALLMATCHES;
614
590 if(optget(opts,"phishing-ssl")->enabled)615 if(optget(opts,"phishing-ssl")->enabled)
591 options |= CL_SCAN_PHISHING_BLOCKSSL;616 options |= CL_SCAN_PHISHING_BLOCKSSL;
592617
593618
=== modified file 'configure'
--- configure 2012-10-08 12:29:39 +0000
+++ configure 2013-04-03 16:48:24 +0000
@@ -1,24 +1,20 @@
1#! /bin/sh1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.65 for ClamAV 0.97.6.3# Generated by GNU Autoconf 2.63 for ClamAV 0.97.7.
4#4#
5# Report bugs to <http://bugs.clamav.net/>.5# Report bugs to <http://bugs.clamav.net/>.
6#6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
10# Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation9# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.10# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##11## --------------------- ##
16## M4sh Initialization. ##12## M4sh Initialization. ##
17## -------------------- ##13## --------------------- ##
1814
19# Be more Bourne compatible15# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh16DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22 emulate sh18 emulate sh
23 NULLCMD=:19 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
@@ -26,15 +22,23 @@
26 alias -g '${1+"$@"}'='"$@"'22 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST23 setopt NO_GLOB_SUBST
28else24else
29 case `(set -o) 2>/dev/null` in #(25 case `(set -o) 2>/dev/null` in
30 *posix*) :26 *posix*) set -o posix ;;
31 set -o posix ;; #(
32 *) :
33 ;;
34esac27esac
28
35fi29fi
3630
3731
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
38as_nl='42as_nl='
39'43'
40export as_nl44export as_nl
@@ -42,13 +46,7 @@
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'46as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo47as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'50 as_echo='printf %s\n'
53 as_echo_n='printf %s'51 as_echo_n='printf %s'
54else52else
@@ -59,7 +57,7 @@
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval58 as_echo_n_body='eval
61 arg=$1;59 arg=$1;
62 case $arg in #(60 case $arg in
63 *"$as_nl"*)61 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";62 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
@@ -82,6 +80,13 @@
82 }80 }
83fi81fi
8482
83# Support unset when possible.
84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
86else
87 as_unset=false
88fi
89
8590
86# IFS91# IFS
87# We need space, tab and new line, in precisely that order. Quoting is92# We need space, tab and new line, in precisely that order. Quoting is
@@ -91,15 +96,15 @@
91IFS=" "" $as_nl"96IFS=" "" $as_nl"
9297
93# Find who we are. Look in the path if we contain no directory separator.98# Find who we are. Look in the path if we contain no directory separator.
94case $0 in #((99case $0 in
95 *[\\/]* ) as_myself=$0 ;;100 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97for as_dir in $PATH102for as_dir in $PATH
98do103do
99 IFS=$as_save_IFS104 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.105 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done107done
103IFS=$as_save_IFS108IFS=$as_save_IFS
104109
105 ;;110 ;;
@@ -111,16 +116,12 @@
111fi116fi
112if test ! -f "$as_myself"; then117if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1119 { (exit 1); exit 1; }
115fi120fi
116121
117# Unset variables that we do not need and which cause bugs (e.g. in122# Work around bugs in pre-3.0 UWIN ksh.
118# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"123for as_var in ENV MAIL MAILPATH
119# suppresses any "Segmentation fault" message there. '((' could124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
120# trigger a bug in pdksh 5.2.14.
121for as_var in BASH_ENV ENV MAIL MAILPATH
122do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124done125done
125PS1='$ '126PS1='$ '
126PS2='> '127PS2='> '
@@ -132,300 +133,330 @@
132LANGUAGE=C133LANGUAGE=C
133export LANGUAGE134export LANGUAGE
134135
136# Required to use basename.
137if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr
140else
141 as_expr=false
142fi
143
144if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145 as_basename=basename
146else
147 as_basename=false
148fi
149
150
151# Name of the executable.
152as_me=`$as_basename -- "$0" ||
153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156$as_echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
159 q
160 }
161 /^X\/\(\/\/\)$/{
162 s//\1/
163 q
164 }
165 /^X\/\(\/\).*/{
166 s//\1/
167 q
168 }
169 s/.*/./; q'`
170
135# CDPATH.171# CDPATH.
136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH172$as_unset CDPATH
173
137174
138if test "x$CONFIG_SHELL" = x; then175if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :176 if (eval ":") 2>/dev/null; then
140 emulate sh
141 NULLCMD=:
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 setopt NO_GLOB_SUBST
146else
147 case \`(set -o) 2>/dev/null\` in #(
148 *posix*) :
149 set -o posix ;; #(
150 *) :
151 ;;
152esac
153fi
154"
155 as_required="as_fn_return () { (exit \$1); }
156as_fn_success () { as_fn_return 0; }
157as_fn_failure () { as_fn_return 1; }
158as_fn_ret_success () { return 0; }
159as_fn_ret_failure () { return 1; }
160
161exitcode=0
162as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168else
169 exitcode=1; echo positional parameters were not saved.
170fi
171test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
178 as_have_required=yes177 as_have_required=yes
179else178else
180 as_have_required=no179 as_have_required=no
181fi180fi
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :181
183182 if test $as_have_required = yes && (eval ":
184else183(as_func_return () {
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR184 (exit \$1)
186as_found=false185}
186as_func_success () {
187 as_func_return 0
188}
189as_func_failure () {
190 as_func_return 1
191}
192as_func_ret_success () {
193 return 0
194}
195as_func_ret_failure () {
196 return 1
197}
198
199exitcode=0
200if as_func_success; then
201 :
202else
203 exitcode=1
204 echo as_func_success failed.
205fi
206
207if as_func_failure; then
208 exitcode=1
209 echo as_func_failure succeeded.
210fi
211
212if as_func_ret_success; then
213 :
214else
215 exitcode=1
216 echo as_func_ret_success failed.
217fi
218
219if as_func_ret_failure; then
220 exitcode=1
221 echo as_func_ret_failure succeeded.
222fi
223
224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225 :
226else
227 exitcode=1
228 echo positional parameters were not saved.
229fi
230
231test \$exitcode = 0) || { (exit 1); exit 1; }
232
233(
234 as_lineno_1=\$LINENO
235 as_lineno_2=\$LINENO
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238") 2> /dev/null; then
239 :
240else
241 as_candidate_shells=
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188do244do
189 IFS=$as_save_IFS245 IFS=$as_save_IFS
190 test -z "$as_dir" && as_dir=.246 test -z "$as_dir" && as_dir=.
191 as_found=:247 case $as_dir in
192 case $as_dir in #(
193 /*)248 /*)
194 for as_base in sh bash ksh sh5; do249 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201 break 2
202fi
203fi
204 done;;251 done;;
205 esac252 esac
206 as_found=false
207done253done
208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
211fi; }
212IFS=$as_save_IFS254IFS=$as_save_IFS
213255
214256
215 if test "x$CONFIG_SHELL" != x; then :257 for as_shell in $as_candidate_shells $SHELL; do
216 # We cannot yet assume a decent shell, so we have to provide a258 # Try only shells that exist, to save several forks.
217 # neutralization value for shells without unset; and this also259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
218 # works around shells that cannot unset nonexistent variables.260 { ("$as_shell") 2> /dev/null <<\_ASEOF
219 BASH_ENV=/dev/null261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
220 ENV=/dev/null262 emulate sh
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV263 NULLCMD=:
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277_ASEOF
278}; then
279 CONFIG_SHELL=$as_shell
280 as_have_required=yes
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 emulate sh
284 NULLCMD=:
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
288 setopt NO_GLOB_SUBST
289else
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
292esac
293
294fi
295
296
297:
298(as_func_return () {
299 (exit $1)
300}
301as_func_success () {
302 as_func_return 0
303}
304as_func_failure () {
305 as_func_return 1
306}
307as_func_ret_success () {
308 return 0
309}
310as_func_ret_failure () {
311 return 1
312}
313
314exitcode=0
315if as_func_success; then
316 :
317else
318 exitcode=1
319 echo as_func_success failed.
320fi
321
322if as_func_failure; then
323 exitcode=1
324 echo as_func_failure succeeded.
325fi
326
327if as_func_ret_success; then
328 :
329else
330 exitcode=1
331 echo as_func_ret_success failed.
332fi
333
334if as_func_ret_failure; then
335 exitcode=1
336 echo as_func_ret_failure succeeded.
337fi
338
339if ( set x; as_func_ret_success y && test x = "$1" ); then
340 :
341else
342 exitcode=1
343 echo positional parameters were not saved.
344fi
345
346test $exitcode = 0) || { (exit 1); exit 1; }
347
348(
349 as_lineno_1=$LINENO
350 as_lineno_2=$LINENO
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
354_ASEOF
355}; then
356 break
357fi
358
359fi
360
361 done
362
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 done
222 export CONFIG_SHELL367 export CONFIG_SHELL
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224fi369fi
225370
226 if test x$as_have_required = xno; then :371
227 $as_echo "$0: This script requires a shell more modern than all"372 if test $as_have_required = no; then
228 $as_echo "$0: the shells that I found on your system."373 echo This script requires a shell more modern than all the
229 if test x${ZSH_VERSION+set} = xset ; then374 echo shells that I found on your system. Please install a
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"375 echo modern shell, or manually run the script under such a
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."376 echo shell if you do have one.
232 else377 { (exit 1); exit 1; }
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and378fi
234$0: http://bugs.clamav.net/ about your system, including379
235$0: any error possibly output before this message. Then380
236$0: install a modern shell, or manually run the script381fi
237$0: under such a shell if you do have one."382
238 fi383fi
239 exit 1384
240fi385
241fi386
242fi387(eval "as_func_return () {
243SHELL=${CONFIG_SHELL-/bin/sh}388 (exit \$1)
244export SHELL389}
245# Unset more variables known to interfere with behavior of common tools.390as_func_success () {
246CLICOLOR_FORCE= GREP_OPTIONS=391 as_func_return 0
247unset CLICOLOR_FORCE GREP_OPTIONS392}
248393as_func_failure () {
249## --------------------- ##394 as_func_return 1
250## M4sh Shell Functions. ##395}
251## --------------------- ##396as_func_ret_success () {
252# as_fn_unset VAR397 return 0
253# ---------------398}
254# Portably unset VAR.399as_func_ret_failure () {
255as_fn_unset ()400 return 1
256{401}
257 { eval $1=; unset $1;}402
258}403exitcode=0
259as_unset=as_fn_unset404if as_func_success; then
260405 :
261# as_fn_set_status STATUS406else
262# -----------------------407 exitcode=1
263# Set $? to STATUS, without forking.408 echo as_func_success failed.
264as_fn_set_status ()409fi
265{410
266 return $1411if as_func_failure; then
267} # as_fn_set_status412 exitcode=1
268413 echo as_func_failure succeeded.
269# as_fn_exit STATUS414fi
270# -----------------415
271# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.416if as_func_ret_success; then
272as_fn_exit ()417 :
273{418else
274 set +e419 exitcode=1
275 as_fn_set_status $1420 echo as_func_ret_success failed.
276 exit $1421fi
277} # as_fn_exit422
278423if as_func_ret_failure; then
279# as_fn_mkdir_p424 exitcode=1
280# -------------425 echo as_func_ret_failure succeeded.
281# Create "$as_dir" as a directory, including parents if necessary.426fi
282as_fn_mkdir_p ()427
283{428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
284429 :
285 case $as_dir in #(430else
286 -*) as_dir=./$as_dir;;431 exitcode=1
287 esac432 echo positional parameters were not saved.
288 test -d "$as_dir" || eval $as_mkdir_p || {433fi
289 as_dirs=434
290 while :; do435test \$exitcode = 0") || {
291 case $as_dir in #(436 echo No shell found that supports shell functions.
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(437 echo Please tell bug-autoconf@gnu.org about your system,
293 *) as_qdir=$as_dir;;438 echo including any error possibly output before this message.
294 esac439 echo This can help us improve future autoconf versions.
295 as_dirs="'$as_qdir' $as_dirs"440 echo Configuration will now proceed without shell functions.
296 as_dir=`$as_dirname -- "$as_dir" ||441}
297$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \442
298 X"$as_dir" : 'X\(//\)[^/]' \| \443
299 X"$as_dir" : 'X\(//\)$' \| \444
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||445 as_lineno_1=$LINENO
301$as_echo X"$as_dir" |446 as_lineno_2=$LINENO
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{447 test "x$as_lineno_1" != "x$as_lineno_2" &&
303 s//\1/448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
304 q449
305 }450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
306 /^X\(\/\/\)[^/].*/{451 # uniformly replaced by the line number. The first 'sed' inserts a
307 s//\1/452 # line-number line after each line using $LINENO; the second 'sed'
308 q453 # does the real work. The second script uses 'N' to pair each
309 }454 # line-number line with the line containing $LINENO, and appends
310 /^X\(\/\/\)$/{455 # trailing '-' during substitution so that $LINENO is not a special
311 s//\1/456 # case at line end.
312 q457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
313 }458 # scripts with optimization help from Paolo Bonzini. Blame Lee
314 /^X\(\/\).*/{459 # E. McMahon (1931-1989) for sed's syntax. :-)
315 s//\1/
316 q
317 }
318 s/.*/./; q'`
319 test -d "$as_dir" && break
320 done
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323
324
325} # as_fn_mkdir_p
326# as_fn_append VAR VALUE
327# ----------------------
328# Append the text in VALUE to the end of the definition contained in VAR. Take
329# advantage of any shell optimizations that allow amortized linear growth over
330# repeated appends, instead of the typical quadratic growth present in naive
331# implementations.
332if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
334 {
335 eval $1+=\$2
336 }'
337else
338 as_fn_append ()
339 {
340 eval $1=\$$1\$2
341 }
342fi # as_fn_append
343
344# as_fn_arith ARG...
345# ------------------
346# Perform arithmetic evaluation on the ARGs, and store the result in the
347# global $as_val. Take advantage of shells that can avoid forks. The arguments
348# must be portable across $(()) and expr.
349if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350 eval 'as_fn_arith ()
351 {
352 as_val=$(( $* ))
353 }'
354else
355 as_fn_arith ()
356 {
357 as_val=`expr "$@" || test $? -eq 1`
358 }
359fi # as_fn_arith
360
361
362# as_fn_error ERROR [LINENO LOG_FD]
363# ---------------------------------
364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366# script with status $?, using 1 if that was 0.
367as_fn_error ()
368{
369 as_status=$?; test $as_status -eq 0 && as_status=1
370 if test "$3"; then
371 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
373 fi
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit $as_status
376} # as_fn_error
377
378if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 as_expr=expr
381else
382 as_expr=false
383fi
384
385if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 as_basename=basename
387else
388 as_basename=false
389fi
390
391if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_dirname=dirname
393else
394 as_dirname=false
395fi
396
397as_me=`$as_basename -- "$0" ||
398$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401$as_echo X/"$0" |
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
403 s//\1/
404 q
405 }
406 /^X\/\(\/\/\)$/{
407 s//\1/
408 q
409 }
410 /^X\/\(\/\).*/{
411 s//\1/
412 q
413 }
414 s/.*/./; q'`
415
416# Avoid depending upon Character Ranges.
417as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420as_cr_digits='0123456789'
421as_cr_alnum=$as_cr_Letters$as_cr_digits
422
423
424 as_lineno_1=$LINENO as_lineno_1a=$LINENO
425 as_lineno_2=$LINENO as_lineno_2a=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
429 sed -n '460 sed -n '
430 p461 p
431 /[$]LINENO/=462 /[$]LINENO/=
@@ -442,7 +473,8 @@
442 s/-\n.*//473 s/-\n.*//
443 ' >$as_me.lineno &&474 ' >$as_me.lineno &&
444 chmod +x "$as_me.lineno" ||475 chmod +x "$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
446478
447 # Don't try to exec as it changes $[0], causing all sort of problems479 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the480 # (the dirname of $[0] is not the place where we might find the
@@ -452,18 +484,29 @@
452 exit484 exit
453}485}
454486
487
488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489 as_dirname=dirname
490else
491 as_dirname=false
492fi
493
455ECHO_C= ECHO_N= ECHO_T=494ECHO_C= ECHO_N= ECHO_T=
456case `echo -n x` in #(((((495case `echo -n x` in
457-n*)496-n*)
458 case `echo 'xy\c'` in497 case `echo 'x\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
460 xy) ECHO_C='\c';;499 *) ECHO_C='\c';;
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
462 ECHO_T=' ';;
463 esac;;500 esac;;
464*)501*)
465 ECHO_N='-n';;502 ECHO_N='-n';;
466esac503esac
504if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
506 as_expr=expr
507else
508 as_expr=false
509fi
467510
468rm -f conf$$ conf$$.exe conf$$.file511rm -f conf$$ conf$$.exe conf$$.file
469if test -d conf$$.dir; then512if test -d conf$$.dir; then
@@ -493,7 +536,7 @@
493rmdir conf$$.dir 2>/dev/null536rmdir conf$$.dir 2>/dev/null
494537
495if mkdir -p . 2>/dev/null; then538if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'539 as_mkdir_p=:
497else540else
498 test -d ./-p && rmdir ./-p541 test -d ./-p && rmdir ./-p
499 as_mkdir_p=false542 as_mkdir_p=false
@@ -512,10 +555,10 @@
512 if test -d "$1"; then555 if test -d "$1"; then
513 test -d "$1/.";556 test -d "$1/.";
514 else557 else
515 case $1 in #(558 case $1 in
516 -*)set "./$1";;559 -*)set "./$1";;
517 esac;560 esac;
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
519 ???[sx]*):;;*)false;;esac;fi562 ???[sx]*):;;*)false;;esac;fi
520 '\'' sh563 '\'' sh
521 '564 '
@@ -529,6 +572,7 @@
529as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"572as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530573
531574
575
532lt_ltdl_dir='libltdl'576lt_ltdl_dir='libltdl'
533577
534578
@@ -680,8 +724,7 @@
680724
681725
682726
683test -n "$DJDIR" || exec 7<&0 </dev/null727exec 7<&0 </dev/null 6>&1
684exec 6>&1
685728
686# Name of the host.729# Name of the host.
687# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,730# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
@@ -699,14 +742,14 @@
699subdirs=742subdirs=
700MFLAGS=743MFLAGS=
701MAKEFLAGS=744MAKEFLAGS=
745SHELL=${CONFIG_SHELL-/bin/sh}
702746
703# Identity of this package.747# Identity of this package.
704PACKAGE_NAME='ClamAV'748PACKAGE_NAME='ClamAV'
705PACKAGE_TARNAME='clamav'749PACKAGE_TARNAME='clamav'
706PACKAGE_VERSION='0.97.6'750PACKAGE_VERSION='0.97.7'
707PACKAGE_STRING='ClamAV 0.97.6'751PACKAGE_STRING='ClamAV 0.97.7'
708PACKAGE_BUGREPORT='http://bugs.clamav.net/'752PACKAGE_BUGREPORT='http://bugs.clamav.net/'
709PACKAGE_URL='http://www.clamav.net/'
710753
711ac_unique_file="clamscan/clamscan.c"754ac_unique_file="clamscan/clamscan.c"
712# Factoring default headers for most tests.755# Factoring default headers for most tests.
@@ -922,7 +965,6 @@
922program_transform_name965program_transform_name
923prefix966prefix
924exec_prefix967exec_prefix
925PACKAGE_URL
926PACKAGE_BUGREPORT968PACKAGE_BUGREPORT
927PACKAGE_STRING969PACKAGE_STRING
928PACKAGE_VERSION970PACKAGE_VERSION
@@ -1106,7 +1148,8 @@
1106 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`1148 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1107 # Reject names that are not valid shell variable names.1149 # Reject names that are not valid shell variable names.
1108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&1150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1109 as_fn_error "invalid feature name: $ac_useropt"1151 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1152 { (exit 1); exit 1; }; }
1110 ac_useropt_orig=$ac_useropt1153 ac_useropt_orig=$ac_useropt
1111 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`1154 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112 case $ac_user_opts in1155 case $ac_user_opts in
@@ -1132,7 +1175,8 @@
1132 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`1175 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1133 # Reject names that are not valid shell variable names.1176 # Reject names that are not valid shell variable names.
1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1135 as_fn_error "invalid feature name: $ac_useropt"1178 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1179 { (exit 1); exit 1; }; }
1136 ac_useropt_orig=$ac_useropt1180 ac_useropt_orig=$ac_useropt
1137 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`1181 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in1182 case $ac_user_opts in
@@ -1336,7 +1380,8 @@
1336 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`1380 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1337 # Reject names that are not valid shell variable names.1381 # Reject names that are not valid shell variable names.
1338 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&1382 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1339 as_fn_error "invalid package name: $ac_useropt"1383 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1384 { (exit 1); exit 1; }; }
1340 ac_useropt_orig=$ac_useropt1385 ac_useropt_orig=$ac_useropt
1341 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`1386 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1342 case $ac_user_opts in1387 case $ac_user_opts in
@@ -1352,7 +1397,8 @@
1352 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`1397 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1353 # Reject names that are not valid shell variable names.1398 # Reject names that are not valid shell variable names.
1354 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&1399 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1355 as_fn_error "invalid package name: $ac_useropt"1400 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1401 { (exit 1); exit 1; }; }
1356 ac_useropt_orig=$ac_useropt1402 ac_useropt_orig=$ac_useropt
1357 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`1403 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1358 case $ac_user_opts in1404 case $ac_user_opts in
@@ -1382,17 +1428,17 @@
1382 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)1428 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1383 x_libraries=$ac_optarg ;;1429 x_libraries=$ac_optarg ;;
13841430
1385 -*) as_fn_error "unrecognized option: \`$ac_option'1431 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1386Try \`$0 --help' for more information."1432Try \`$0 --help' for more information." >&2
1433 { (exit 1); exit 1; }; }
1387 ;;1434 ;;
13881435
1389 *=*)1436 *=*)
1390 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`1437 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1391 # Reject names that are not valid shell variable names.1438 # Reject names that are not valid shell variable names.
1392 case $ac_envvar in #(1439 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1393 '' | [0-9]* | *[!_$as_cr_alnum]* )1440 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1394 as_fn_error "invalid variable name: \`$ac_envvar'" ;;1441 { (exit 1); exit 1; }; }
1395 esac
1396 eval $ac_envvar=\$ac_optarg1442 eval $ac_envvar=\$ac_optarg
1397 export $ac_envvar ;;1443 export $ac_envvar ;;
13981444
@@ -1409,13 +1455,15 @@
14091455
1410if test -n "$ac_prev"; then1456if test -n "$ac_prev"; then
1411 ac_option=--`echo $ac_prev | sed 's/_/-/g'`1457 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1412 as_fn_error "missing argument to $ac_option"1458 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1459 { (exit 1); exit 1; }; }
1413fi1460fi
14141461
1415if test -n "$ac_unrecognized_opts"; then1462if test -n "$ac_unrecognized_opts"; then
1416 case $enable_option_checking in1463 case $enable_option_checking in
1417 no) ;;1464 no) ;;
1418 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;1465 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1466 { (exit 1); exit 1; }; } ;;
1419 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;1467 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1420 esac1468 esac
1421fi1469fi
@@ -1438,7 +1486,8 @@
1438 [\\/$]* | ?:[\\/]* ) continue;;1486 [\\/$]* | ?:[\\/]* ) continue;;
1439 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;1487 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1440 esac1488 esac
1441 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"1489 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1490 { (exit 1); exit 1; }; }
1442done1491done
14431492
1444# There might be people who depend on the old broken behavior: `$host'1493# There might be people who depend on the old broken behavior: `$host'
@@ -1468,9 +1517,11 @@
1468ac_pwd=`pwd` && test -n "$ac_pwd" &&1517ac_pwd=`pwd` && test -n "$ac_pwd" &&
1469ac_ls_di=`ls -di .` &&1518ac_ls_di=`ls -di .` &&
1470ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||1519ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1471 as_fn_error "working directory cannot be determined"1520 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1521 { (exit 1); exit 1; }; }
1472test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||1522test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1473 as_fn_error "pwd does not report name of working directory"1523 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1524 { (exit 1); exit 1; }; }
14741525
14751526
1476# Find the source files, if location was not specified.1527# Find the source files, if location was not specified.
@@ -1509,11 +1560,13 @@
1509fi1560fi
1510if test ! -r "$srcdir/$ac_unique_file"; then1561if test ! -r "$srcdir/$ac_unique_file"; then
1511 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."1562 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1512 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"1563 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1564 { (exit 1); exit 1; }; }
1513fi1565fi
1514ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"1566ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1515ac_abs_confdir=`(1567ac_abs_confdir=`(
1516 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"1568 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1569 { (exit 1); exit 1; }; }
1517 pwd)`1570 pwd)`
1518# When building in place, set srcdir=.1571# When building in place, set srcdir=.
1519if test "$ac_abs_confdir" = "$ac_pwd"; then1572if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1539,7 +1592,7 @@
1539 # Omit some internal or obsolete options to make the list less imposing.1592 # Omit some internal or obsolete options to make the list less imposing.
1540 # This message is too long to be a string in the A/UX 3.1 sh.1593 # This message is too long to be a string in the A/UX 3.1 sh.
1541 cat <<_ACEOF1594 cat <<_ACEOF
1542\`configure' configures ClamAV 0.97.6 to adapt to many kinds of systems.1595\`configure' configures ClamAV 0.97.7 to adapt to many kinds of systems.
15431596
1544Usage: $0 [OPTION]... [VAR=VALUE]...1597Usage: $0 [OPTION]... [VAR=VALUE]...
15451598
@@ -1610,7 +1663,7 @@
16101663
1611if test -n "$ac_init_help"; then1664if test -n "$ac_init_help"; then
1612 case $ac_init_help in1665 case $ac_init_help in
1613 short | recursive ) echo "Configuration of ClamAV 0.97.6:";;1666 short | recursive ) echo "Configuration of ClamAV 0.97.7:";;
1614 esac1667 esac
1615 cat <<\_ACEOF1668 cat <<\_ACEOF
16161669
@@ -1696,7 +1749,7 @@
1696 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a1749 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1697 nonstandard directory <lib dir>1750 nonstandard directory <lib dir>
1698 LIBS libraries to pass to the linker, e.g. -l<library>1751 LIBS libraries to pass to the linker, e.g. -l<library>
1699 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if1752 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1700 you have headers in a nonstandard directory <include dir>1753 you have headers in a nonstandard directory <include dir>
1701 CPP C preprocessor1754 CPP C preprocessor
17021755
@@ -1704,7 +1757,6 @@
1704it to find libraries and programs with nonstandard names/locations.1757it to find libraries and programs with nonstandard names/locations.
17051758
1706Report bugs to <http://bugs.clamav.net/>.1759Report bugs to <http://bugs.clamav.net/>.
1707ClamAV home page: <http://www.clamav.net/>.
1708_ACEOF1760_ACEOF
1709ac_status=$?1761ac_status=$?
1710fi1762fi
@@ -1767,472 +1819,22 @@
1767test -n "$ac_init_help" && exit $ac_status1819test -n "$ac_init_help" && exit $ac_status
1768if $ac_init_version; then1820if $ac_init_version; then
1769 cat <<\_ACEOF1821 cat <<\_ACEOF
1770ClamAV configure 0.97.61822ClamAV configure 0.97.7
1771generated by GNU Autoconf 2.651823generated by GNU Autoconf 2.63
17721824
1773Copyright (C) 2009 Free Software Foundation, Inc.1825Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
18262002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1774This configure script is free software; the Free Software Foundation1827This configure script is free software; the Free Software Foundation
1775gives unlimited permission to copy, distribute and modify it.1828gives unlimited permission to copy, distribute and modify it.
1776_ACEOF1829_ACEOF
1777 exit1830 exit
1778fi1831fi
1779
1780## ------------------------ ##
1781## Autoconf initialization. ##
1782## ------------------------ ##
1783
1784# ac_fn_c_try_compile LINENO
1785# --------------------------
1786# Try to compile conftest.$ac_ext, and return whether this succeeded.
1787ac_fn_c_try_compile ()
1788{
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 rm -f conftest.$ac_objext
1791 if { { ac_try="$ac_compile"
1792case "(($ac_try" in
1793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1794 *) ac_try_echo=$ac_try;;
1795esac
1796eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797$as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_compile") 2>conftest.err
1799 ac_status=$?
1800 if test -s conftest.err; then
1801 grep -v '^ *+' conftest.err >conftest.er1
1802 cat conftest.er1 >&5
1803 mv -f conftest.er1 conftest.err
1804 fi
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806 test $ac_status = 0; } && {
1807 test -z "$ac_c_werror_flag" ||
1808 test ! -s conftest.err
1809 } && test -s conftest.$ac_objext; then :
1810 ac_retval=0
1811else
1812 $as_echo "$as_me: failed program was:" >&5
1813sed 's/^/| /' conftest.$ac_ext >&5
1814
1815 ac_retval=1
1816fi
1817 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818 as_fn_set_status $ac_retval
1819
1820} # ac_fn_c_try_compile
1821
1822# ac_fn_c_try_link LINENO
1823# -----------------------
1824# Try to link conftest.$ac_ext, and return whether this succeeded.
1825ac_fn_c_try_link ()
1826{
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 rm -f conftest.$ac_objext conftest$ac_exeext
1829 if { { ac_try="$ac_link"
1830case "(($ac_try" in
1831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1832 *) ac_try_echo=$ac_try;;
1833esac
1834eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835$as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_link") 2>conftest.err
1837 ac_status=$?
1838 if test -s conftest.err; then
1839 grep -v '^ *+' conftest.err >conftest.er1
1840 cat conftest.er1 >&5
1841 mv -f conftest.er1 conftest.err
1842 fi
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; } && {
1845 test -z "$ac_c_werror_flag" ||
1846 test ! -s conftest.err
1847 } && test -s conftest$ac_exeext && {
1848 test "$cross_compiling" = yes ||
1849 $as_test_x conftest$ac_exeext
1850 }; then :
1851 ac_retval=0
1852else
1853 $as_echo "$as_me: failed program was:" >&5
1854sed 's/^/| /' conftest.$ac_ext >&5
1855
1856 ac_retval=1
1857fi
1858 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1859 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1860 # interfere with the next link command; also delete a directory that is
1861 # left behind by Apple's compiler. We do this before executing the actions.
1862 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1863 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1864 as_fn_set_status $ac_retval
1865
1866} # ac_fn_c_try_link
1867
1868# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1869# -------------------------------------------------------
1870# Tests whether HEADER exists and can be compiled using the include files in
1871# INCLUDES, setting the cache variable VAR accordingly.
1872ac_fn_c_check_header_compile ()
1873{
1874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876$as_echo_n "checking for $2... " >&6; }
1877if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1878 $as_echo_n "(cached) " >&6
1879else
1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881/* end confdefs.h. */
1882$4
1883#include <$2>
1884_ACEOF
1885if ac_fn_c_try_compile "$LINENO"; then :
1886 eval "$3=yes"
1887else
1888 eval "$3=no"
1889fi
1890rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1891fi
1892eval ac_res=\$$3
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1894$as_echo "$ac_res" >&6; }
1895 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1896
1897} # ac_fn_c_check_header_compile
1898
1899# ac_fn_c_try_cpp LINENO
1900# ----------------------
1901# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1902ac_fn_c_try_cpp ()
1903{
1904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905 if { { ac_try="$ac_cpp conftest.$ac_ext"
1906case "(($ac_try" in
1907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908 *) ac_try_echo=$ac_try;;
1909esac
1910eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911$as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1913 ac_status=$?
1914 if test -s conftest.err; then
1915 grep -v '^ *+' conftest.err >conftest.er1
1916 cat conftest.er1 >&5
1917 mv -f conftest.er1 conftest.err
1918 fi
1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920 test $ac_status = 0; } >/dev/null && {
1921 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1922 test ! -s conftest.err
1923 }; then :
1924 ac_retval=0
1925else
1926 $as_echo "$as_me: failed program was:" >&5
1927sed 's/^/| /' conftest.$ac_ext >&5
1928
1929 ac_retval=1
1930fi
1931 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1932 as_fn_set_status $ac_retval
1933
1934} # ac_fn_c_try_cpp
1935
1936# ac_fn_c_try_run LINENO
1937# ----------------------
1938# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1939# that executables *can* be run.
1940ac_fn_c_try_run ()
1941{
1942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1943 if { { ac_try="$ac_link"
1944case "(($ac_try" in
1945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1946 *) ac_try_echo=$ac_try;;
1947esac
1948eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1949$as_echo "$ac_try_echo"; } >&5
1950 (eval "$ac_link") 2>&5
1951 ac_status=$?
1952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1953 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1954 { { case "(($ac_try" in
1955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1956 *) ac_try_echo=$ac_try;;
1957esac
1958eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1959$as_echo "$ac_try_echo"; } >&5
1960 (eval "$ac_try") 2>&5
1961 ac_status=$?
1962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1963 test $ac_status = 0; }; }; then :
1964 ac_retval=0
1965else
1966 $as_echo "$as_me: program exited with status $ac_status" >&5
1967 $as_echo "$as_me: failed program was:" >&5
1968sed 's/^/| /' conftest.$ac_ext >&5
1969
1970 ac_retval=$ac_status
1971fi
1972 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1973 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1974 as_fn_set_status $ac_retval
1975
1976} # ac_fn_c_try_run
1977
1978# ac_fn_c_check_func LINENO FUNC VAR
1979# ----------------------------------
1980# Tests whether FUNC exists, setting the cache variable VAR accordingly
1981ac_fn_c_check_func ()
1982{
1983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985$as_echo_n "checking for $2... " >&6; }
1986if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1987 $as_echo_n "(cached) " >&6
1988else
1989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1990/* end confdefs.h. */
1991/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1993#define $2 innocuous_$2
1994
1995/* System header to define __stub macros and hopefully few prototypes,
1996 which can conflict with char $2 (); below.
1997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1998 <limits.h> exists even on freestanding compilers. */
1999
2000#ifdef __STDC__
2001# include <limits.h>
2002#else
2003# include <assert.h>
2004#endif
2005
2006#undef $2
2007
2008/* Override any GCC internal prototype to avoid an error.
2009 Use char because int might match the return type of a GCC
2010 builtin and then its argument prototype would still apply. */
2011#ifdef __cplusplus
2012extern "C"
2013#endif
2014char $2 ();
2015/* The GNU C library defines this for functions which it implements
2016 to always fail with ENOSYS. Some functions are actually named
2017 something starting with __ and the normal name is an alias. */
2018#if defined __stub_$2 || defined __stub___$2
2019choke me
2020#endif
2021
2022int
2023main ()
2024{
2025return $2 ();
2026 ;
2027 return 0;
2028}
2029_ACEOF
2030if ac_fn_c_try_link "$LINENO"; then :
2031 eval "$3=yes"
2032else
2033 eval "$3=no"
2034fi
2035rm -f core conftest.err conftest.$ac_objext \
2036 conftest$ac_exeext conftest.$ac_ext
2037fi
2038eval ac_res=\$$3
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2040$as_echo "$ac_res" >&6; }
2041 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2042
2043} # ac_fn_c_check_func
2044
2045# ac_fn_c_check_decl LINENO SYMBOL VAR
2046# ------------------------------------
2047# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2048ac_fn_c_check_decl ()
2049{
2050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2052$as_echo_n "checking whether $2 is declared... " >&6; }
2053if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2054 $as_echo_n "(cached) " >&6
2055else
2056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2057/* end confdefs.h. */
2058$4
2059int
2060main ()
2061{
2062#ifndef $2
2063 (void) $2;
2064#endif
2065
2066 ;
2067 return 0;
2068}
2069_ACEOF
2070if ac_fn_c_try_compile "$LINENO"; then :
2071 eval "$3=yes"
2072else
2073 eval "$3=no"
2074fi
2075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2076fi
2077eval ac_res=\$$3
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2079$as_echo "$ac_res" >&6; }
2080 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2081
2082} # ac_fn_c_check_decl
2083
2084# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2085# -------------------------------------------
2086# Tests whether TYPE exists after having included INCLUDES, setting cache
2087# variable VAR accordingly.
2088ac_fn_c_check_type ()
2089{
2090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2092$as_echo_n "checking for $2... " >&6; }
2093if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2094 $as_echo_n "(cached) " >&6
2095else
2096 eval "$3=no"
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098/* end confdefs.h. */
2099$4
2100int
2101main ()
2102{
2103if (sizeof ($2))
2104 return 0;
2105 ;
2106 return 0;
2107}
2108_ACEOF
2109if ac_fn_c_try_compile "$LINENO"; then :
2110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2111/* end confdefs.h. */
2112$4
2113int
2114main ()
2115{
2116if (sizeof (($2)))
2117 return 0;
2118 ;
2119 return 0;
2120}
2121_ACEOF
2122if ac_fn_c_try_compile "$LINENO"; then :
2123
2124else
2125 eval "$3=yes"
2126fi
2127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128fi
2129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2130fi
2131eval ac_res=\$$3
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2133$as_echo "$ac_res" >&6; }
2134 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2135
2136} # ac_fn_c_check_type
2137
2138# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2139# -------------------------------------------------------
2140# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2141# the include files in INCLUDES and setting the cache variable VAR
2142# accordingly.
2143ac_fn_c_check_header_mongrel ()
2144{
2145 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2146 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2148$as_echo_n "checking for $2... " >&6; }
2149if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2150 $as_echo_n "(cached) " >&6
2151fi
2152eval ac_res=\$$3
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2154$as_echo "$ac_res" >&6; }
2155else
2156 # Is the header compilable?
2157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2158$as_echo_n "checking $2 usability... " >&6; }
2159cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2160/* end confdefs.h. */
2161$4
2162#include <$2>
2163_ACEOF
2164if ac_fn_c_try_compile "$LINENO"; then :
2165 ac_header_compiler=yes
2166else
2167 ac_header_compiler=no
2168fi
2169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2171$as_echo "$ac_header_compiler" >&6; }
2172
2173# Is the header present?
2174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2175$as_echo_n "checking $2 presence... " >&6; }
2176cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2177/* end confdefs.h. */
2178#include <$2>
2179_ACEOF
2180if ac_fn_c_try_cpp "$LINENO"; then :
2181 ac_header_preproc=yes
2182else
2183 ac_header_preproc=no
2184fi
2185rm -f conftest.err conftest.$ac_ext
2186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2187$as_echo "$ac_header_preproc" >&6; }
2188
2189# So? What about this header?
2190case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2191 yes:no: )
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2193$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2195$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2196 ;;
2197 no:yes:* )
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2199$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2201$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2203$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2205$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2207$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2208( cat <<\_ASBOX
2209## -------------------------------------- ##
2210## Report this to http://bugs.clamav.net/ ##
2211## -------------------------------------- ##
2212_ASBOX
2213 ) | sed "s/^/$as_me: WARNING: /" >&2
2214 ;;
2215esac
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2217$as_echo_n "checking for $2... " >&6; }
2218if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2219 $as_echo_n "(cached) " >&6
2220else
2221 eval "$3=\$ac_header_compiler"
2222fi
2223eval ac_res=\$$3
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2225$as_echo "$ac_res" >&6; }
2226fi
2227 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2228
2229} # ac_fn_c_check_header_mongrel
2230cat >config.log <<_ACEOF1832cat >config.log <<_ACEOF
2231This file contains any messages produced by compilers while1833This file contains any messages produced by compilers while
2232running configure, to aid debugging if configure makes a mistake.1834running configure, to aid debugging if configure makes a mistake.
22331835
2234It was created by ClamAV $as_me 0.97.6, which was1836It was created by ClamAV $as_me 0.97.7, which was
2235generated by GNU Autoconf 2.65. Invocation command line was1837generated by GNU Autoconf 2.63. Invocation command line was
22361838
2237 $ $0 $@1839 $ $0 $@
22381840
@@ -2268,8 +1870,8 @@
2268do1870do
2269 IFS=$as_save_IFS1871 IFS=$as_save_IFS
2270 test -z "$as_dir" && as_dir=.1872 test -z "$as_dir" && as_dir=.
2271 $as_echo "PATH: $as_dir"1873 $as_echo "PATH: $as_dir"
2272 done1874done
2273IFS=$as_save_IFS1875IFS=$as_save_IFS
22741876
2275} >&51877} >&5
@@ -2306,9 +1908,9 @@
2306 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1908 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2307 esac1909 esac
2308 case $ac_pass in1910 case $ac_pass in
2309 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;1911 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2310 2)1912 2)
2311 as_fn_append ac_configure_args1 " '$ac_arg'"1913 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2312 if test $ac_must_keep_next = true; then1914 if test $ac_must_keep_next = true; then
2313 ac_must_keep_next=false # Got value, back to normal.1915 ac_must_keep_next=false # Got value, back to normal.
2314 else1916 else
@@ -2324,13 +1926,13 @@
2324 -* ) ac_must_keep_next=true ;;1926 -* ) ac_must_keep_next=true ;;
2325 esac1927 esac
2326 fi1928 fi
2327 as_fn_append ac_configure_args " '$ac_arg'"1929 ac_configure_args="$ac_configure_args '$ac_arg'"
2328 ;;1930 ;;
2329 esac1931 esac
2330 done1932 done
2331done1933done
2332{ ac_configure_args0=; unset ac_configure_args0;}1934$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2333{ ac_configure_args1=; unset ac_configure_args1;}1935$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
23341936
2335# When interrupted or exit'd, cleanup temporary files, and complete1937# When interrupted or exit'd, cleanup temporary files, and complete
2336# config.log. We remove comments because anyway the quotes in there1938# config.log. We remove comments because anyway the quotes in there
@@ -2355,13 +1957,13 @@
2355 case $ac_val in #(1957 case $ac_val in #(
2356 *${as_nl}*)1958 *${as_nl}*)
2357 case $ac_var in #(1959 case $ac_var in #(
2358 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&51960 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2359$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;1961$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2360 esac1962 esac
2361 case $ac_var in #(1963 case $ac_var in #(
2362 _ | IFS | as_nl) ;; #(1964 _ | IFS | as_nl) ;; #(
2363 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(1965 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2364 *) { eval $ac_var=; unset $ac_var;} ;;1966 *) $as_unset $ac_var ;;
2365 esac ;;1967 esac ;;
2366 esac1968 esac
2367 done1969 done
@@ -2433,41 +2035,39 @@
2433 exit $exit_status2035 exit $exit_status
2434' 02036' 0
2435for ac_signal in 1 2 13 15; do2037for ac_signal in 1 2 13 15; do
2436 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal2038 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2437done2039done
2438ac_signal=02040ac_signal=0
24392041
2440# confdefs.h avoids OS command line length limits that DEFS can exceed.2042# confdefs.h avoids OS command line length limits that DEFS can exceed.
2441rm -f -r conftest* confdefs.h2043rm -f -r conftest* confdefs.h
24422044
2443$as_echo "/* confdefs.h */" > confdefs.h
2444
2445# Predefined preprocessor variables.2045# Predefined preprocessor variables.
24462046
2447cat >>confdefs.h <<_ACEOF2047cat >>confdefs.h <<_ACEOF
2448#define PACKAGE_NAME "$PACKAGE_NAME"2048#define PACKAGE_NAME "$PACKAGE_NAME"
2449_ACEOF2049_ACEOF
24502050
2051
2451cat >>confdefs.h <<_ACEOF2052cat >>confdefs.h <<_ACEOF
2452#define PACKAGE_TARNAME "$PACKAGE_TARNAME"2053#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2453_ACEOF2054_ACEOF
24542055
2056
2455cat >>confdefs.h <<_ACEOF2057cat >>confdefs.h <<_ACEOF
2456#define PACKAGE_VERSION "$PACKAGE_VERSION"2058#define PACKAGE_VERSION "$PACKAGE_VERSION"
2457_ACEOF2059_ACEOF
24582060
2061
2459cat >>confdefs.h <<_ACEOF2062cat >>confdefs.h <<_ACEOF
2460#define PACKAGE_STRING "$PACKAGE_STRING"2063#define PACKAGE_STRING "$PACKAGE_STRING"
2461_ACEOF2064_ACEOF
24622065
2066
2463cat >>confdefs.h <<_ACEOF2067cat >>confdefs.h <<_ACEOF
2464#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"2068#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2465_ACEOF2069_ACEOF
24662070
2467cat >>confdefs.h <<_ACEOF
2468#define PACKAGE_URL "$PACKAGE_URL"
2469_ACEOF
2470
24712071
2472# Let the site file select an alternate cache file if it wants to.2072# Let the site file select an alternate cache file if it wants to.
2473# Prefer an explicitly selected file to automatically selected ones.2073# Prefer an explicitly selected file to automatically selected ones.
@@ -2485,8 +2085,8 @@
2485for ac_site_file in "$ac_site_file1" "$ac_site_file2"2085for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2486do2086do
2487 test "x$ac_site_file" = xNONE && continue2087 test "x$ac_site_file" = xNONE && continue
2488 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then2088 if test -r "$ac_site_file"; then
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&52089 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2490$as_echo "$as_me: loading site script $ac_site_file" >&6;}2090$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2491 sed 's/^/| /' "$ac_site_file" >&52091 sed 's/^/| /' "$ac_site_file" >&5
2492 . "$ac_site_file"2092 . "$ac_site_file"
@@ -2494,10 +2094,10 @@
2494done2094done
24952095
2496if test -r "$cache_file"; then2096if test -r "$cache_file"; then
2497 # Some versions of bash will fail to source /dev/null (special files2097 # Some versions of bash will fail to source /dev/null (special
2498 # actually), so we avoid doing that. DJGPP emulates it as a regular file.2098 # files actually), so we avoid doing that.
2499 if test /dev/null != "$cache_file" && test -f "$cache_file"; then2099 if test -f "$cache_file"; then
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&52100 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2501$as_echo "$as_me: loading cache $cache_file" >&6;}2101$as_echo "$as_me: loading cache $cache_file" >&6;}
2502 case $cache_file in2102 case $cache_file in
2503 [\\/]* | ?:[\\/]* ) . "$cache_file";;2103 [\\/]* | ?:[\\/]* ) . "$cache_file";;
@@ -2505,7 +2105,7 @@
2505 esac2105 esac
2506 fi2106 fi
2507else2107else
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&52108 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2509$as_echo "$as_me: creating cache $cache_file" >&6;}2109$as_echo "$as_me: creating cache $cache_file" >&6;}
2510 >$cache_file2110 >$cache_file
2511fi2111fi
@@ -2520,11 +2120,11 @@
2520 eval ac_new_val=\$ac_env_${ac_var}_value2120 eval ac_new_val=\$ac_env_${ac_var}_value
2521 case $ac_old_set,$ac_new_set in2121 case $ac_old_set,$ac_new_set in
2522 set,)2122 set,)
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&52123 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2524$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}2124$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2525 ac_cache_corrupted=: ;;2125 ac_cache_corrupted=: ;;
2526 ,set)2126 ,set)
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&52127 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2528$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}2128$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2529 ac_cache_corrupted=: ;;2129 ac_cache_corrupted=: ;;
2530 ,);;2130 ,);;
@@ -2534,17 +2134,17 @@
2534 ac_old_val_w=`echo x $ac_old_val`2134 ac_old_val_w=`echo x $ac_old_val`
2535 ac_new_val_w=`echo x $ac_new_val`2135 ac_new_val_w=`echo x $ac_new_val`
2536 if test "$ac_old_val_w" != "$ac_new_val_w"; then2136 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&52137 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2538$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}2138$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2539 ac_cache_corrupted=:2139 ac_cache_corrupted=:
2540 else2140 else
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&52141 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2542$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}2142$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2543 eval $ac_var=\$ac_old_val2143 eval $ac_var=\$ac_old_val
2544 fi2144 fi
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&52145 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2546$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}2146$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&52147 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2548$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}2148$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2549 fi;;2149 fi;;
2550 esac2150 esac
@@ -2556,20 +2156,43 @@
2556 esac2156 esac
2557 case " $ac_configure_args " in2157 case " $ac_configure_args " in
2558 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.2158 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2559 *) as_fn_append ac_configure_args " '$ac_arg'" ;;2159 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2560 esac2160 esac
2561 fi2161 fi
2562done2162done
2563if $ac_cache_corrupted; then2163if $ac_cache_corrupted; then
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&52164 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2565$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}2165$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&52166 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2567$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}2167$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2568 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 52168 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2169$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2170 { (exit 1); exit 1; }; }
2569fi2171fi
2570## -------------------- ##2172
2571## Main body of script. ##2173
2572## -------------------- ##2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
25732196
2574ac_ext=c2197ac_ext=c
2575ac_cpp='$CPP $CPPFLAGS'2198ac_cpp='$CPP $CPPFLAGS'
@@ -2580,18 +2203,27 @@
25802203
25812204
25822205
2206
2583ac_aux_dir=2207ac_aux_dir=
2584for ac_dir in config "$srcdir"/config; do2208for ac_dir in config "$srcdir"/config; do
2585 for ac_t in install-sh install.sh shtool; do2209 if test -f "$ac_dir/install-sh"; then
2586 if test -f "$ac_dir/$ac_t"; then2210 ac_aux_dir=$ac_dir
2587 ac_aux_dir=$ac_dir2211 ac_install_sh="$ac_aux_dir/install-sh -c"
2588 ac_install_sh="$ac_aux_dir/$ac_t -c"2212 break
2589 break 22213 elif test -f "$ac_dir/install.sh"; then
2590 fi2214 ac_aux_dir=$ac_dir
2591 done2215 ac_install_sh="$ac_aux_dir/install.sh -c"
2216 break
2217 elif test -f "$ac_dir/shtool"; then
2218 ac_aux_dir=$ac_dir
2219 ac_install_sh="$ac_aux_dir/shtool install -c"
2220 break
2221 fi
2592done2222done
2593if test -z "$ac_aux_dir"; then2223if test -z "$ac_aux_dir"; then
2594 as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 52224 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
2225$as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2226 { (exit 1); exit 1; }; }
2595fi2227fi
25962228
2597# These three variables are undocumented and unsupported,2229# These three variables are undocumented and unsupported,
@@ -2610,27 +2242,35 @@
26102242
2611# Make sure we can run config.sub.2243# Make sure we can run config.sub.
2612$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||2244$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2613 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 52245 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2246$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2247 { (exit 1); exit 1; }; }
26142248
2615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&52249{ $as_echo "$as_me:$LINENO: checking build system type" >&5
2616$as_echo_n "checking build system type... " >&6; }2250$as_echo_n "checking build system type... " >&6; }
2617if test "${ac_cv_build+set}" = set; then :2251if test "${ac_cv_build+set}" = set; then
2618 $as_echo_n "(cached) " >&62252 $as_echo_n "(cached) " >&6
2619else2253else
2620 ac_build_alias=$build_alias2254 ac_build_alias=$build_alias
2621test "x$ac_build_alias" = x &&2255test "x$ac_build_alias" = x &&
2622 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`2256 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2623test "x$ac_build_alias" = x &&2257test "x$ac_build_alias" = x &&
2624 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 52258 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2259$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2260 { (exit 1); exit 1; }; }
2625ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||2261ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2626 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 52262 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2263$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2264 { (exit 1); exit 1; }; }
26272265
2628fi2266fi
2629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&52267{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2630$as_echo "$ac_cv_build" >&6; }2268$as_echo "$ac_cv_build" >&6; }
2631case $ac_cv_build in2269case $ac_cv_build in
2632*-*-*) ;;2270*-*-*) ;;
2633*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;2271*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2272$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2273 { (exit 1); exit 1; }; };;
2634esac2274esac
2635build=$ac_cv_build2275build=$ac_cv_build
2636ac_save_IFS=$IFS; IFS='-'2276ac_save_IFS=$IFS; IFS='-'
@@ -2646,24 +2286,28 @@
2646case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac2286case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
26472287
26482288
2649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&52289{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2650$as_echo_n "checking host system type... " >&6; }2290$as_echo_n "checking host system type... " >&6; }
2651if test "${ac_cv_host+set}" = set; then :2291if test "${ac_cv_host+set}" = set; then
2652 $as_echo_n "(cached) " >&62292 $as_echo_n "(cached) " >&6
2653else2293else
2654 if test "x$host_alias" = x; then2294 if test "x$host_alias" = x; then
2655 ac_cv_host=$ac_cv_build2295 ac_cv_host=$ac_cv_build
2656else2296else
2657 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||2297 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2658 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 52298 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2299$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2300 { (exit 1); exit 1; }; }
2659fi2301fi
26602302
2661fi2303fi
2662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&52304{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2663$as_echo "$ac_cv_host" >&6; }2305$as_echo "$ac_cv_host" >&6; }
2664case $ac_cv_host in2306case $ac_cv_host in
2665*-*-*) ;;2307*-*-*) ;;
2666*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;2308*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2309$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2310 { (exit 1); exit 1; }; };;
2667esac2311esac
2668host=$ac_cv_host2312host=$ac_cv_host
2669ac_save_IFS=$IFS; IFS='-'2313ac_save_IFS=$IFS; IFS='-'
@@ -2679,24 +2323,28 @@
2679case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac2323case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
26802324
26812325
2682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&52326{ $as_echo "$as_me:$LINENO: checking target system type" >&5
2683$as_echo_n "checking target system type... " >&6; }2327$as_echo_n "checking target system type... " >&6; }
2684if test "${ac_cv_target+set}" = set; then :2328if test "${ac_cv_target+set}" = set; then
2685 $as_echo_n "(cached) " >&62329 $as_echo_n "(cached) " >&6
2686else2330else
2687 if test "x$target_alias" = x; then2331 if test "x$target_alias" = x; then
2688 ac_cv_target=$ac_cv_host2332 ac_cv_target=$ac_cv_host
2689else2333else
2690 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||2334 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2691 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 52335 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2336$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2337 { (exit 1); exit 1; }; }
2692fi2338fi
26932339
2694fi2340fi
2695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&52341{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2696$as_echo "$ac_cv_target" >&6; }2342$as_echo "$ac_cv_target" >&6; }
2697case $ac_cv_target in2343case $ac_cv_target in
2698*-*-*) ;;2344*-*-*) ;;
2699*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;2345*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2346$as_echo "$as_me: error: invalid value of canonical target" >&2;}
2347 { (exit 1); exit 1; }; };;
2700esac2348esac
2701target=$ac_cv_target2349target=$ac_cv_target
2702ac_save_IFS=$IFS; IFS='-'2350ac_save_IFS=$IFS; IFS='-'
@@ -2719,7 +2367,6 @@
2719 NONENONEs,x,x, &&2367 NONENONEs,x,x, &&
2720 program_prefix=${target_alias}-2368 program_prefix=${target_alias}-
27212369
2722
2723target_cpu_arch="unknown"2370target_cpu_arch="unknown"
2724case $target_cpu in2371case $target_cpu in
2725 i386*|i486*|i586*|i686*|i786*) target_cpu_arch=i386 ;;2372 i386*|i486*|i586*|i686*|i786*) target_cpu_arch=i386 ;;
@@ -2776,7 +2423,7 @@
2776#2423#
2777#2424#
2778if $ac_need_target_h_file_new ; then2425if $ac_need_target_h_file_new ; then
2779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: creating $ac_need_target_h_file - canonical system defines" >&52426{ $as_echo "$as_me:$LINENO: result: creating $ac_need_target_h_file - canonical system defines" >&5
2780$as_echo "creating $ac_need_target_h_file - canonical system defines" >&6; }2427$as_echo "creating $ac_need_target_h_file - canonical system defines" >&6; }
2781echo /'*' automatically generated by $PACKAGE configure '*'/ >$ac_need_target_h_file2428echo /'*' automatically generated by $PACKAGE configure '*'/ >$ac_need_target_h_file
2782echo /'*' on `date` '*'/ >>$ac_need_target_h_file2429echo /'*' on `date` '*'/ >>$ac_need_target_h_file
@@ -2850,7 +2497,7 @@
2850#2497#
2851#2498#
2852if $ac_need_target_h_file_new ; then2499if $ac_need_target_h_file_new ; then
2853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: creating $ac_need_target_h_file - canonical system defines" >&52500{ $as_echo "$as_me:$LINENO: result: creating $ac_need_target_h_file - canonical system defines" >&5
2854$as_echo "creating $ac_need_target_h_file - canonical system defines" >&6; }2501$as_echo "creating $ac_need_target_h_file - canonical system defines" >&6; }
2855echo /'*' automatically generated by $PACKAGE configure '*'/ >$ac_need_target_h_file2502echo /'*' automatically generated by $PACKAGE configure '*'/ >$ac_need_target_h_file
2856echo /'*' on `date` '*'/ >>$ac_need_target_h_file2503echo /'*' on `date` '*'/ >>$ac_need_target_h_file
@@ -2923,10 +2570,10 @@
2923# OS/2's system install, which has a completely different semantic2570# OS/2's system install, which has a completely different semantic
2924# ./install, which can be erroneously created by make from ./install.sh.2571# ./install, which can be erroneously created by make from ./install.sh.
2925# Reject install programs that cannot install multiple files.2572# Reject install programs that cannot install multiple files.
2926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&52573{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2927$as_echo_n "checking for a BSD-compatible install... " >&6; }2574$as_echo_n "checking for a BSD-compatible install... " >&6; }
2928if test -z "$INSTALL"; then2575if test -z "$INSTALL"; then
2929if test "${ac_cv_path_install+set}" = set; then :2576if test "${ac_cv_path_install+set}" = set; then
2930 $as_echo_n "(cached) " >&62577 $as_echo_n "(cached) " >&6
2931else2578else
2932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -2934,11 +2581,11 @@
2934do2581do
2935 IFS=$as_save_IFS2582 IFS=$as_save_IFS
2936 test -z "$as_dir" && as_dir=.2583 test -z "$as_dir" && as_dir=.
2937 # Account for people who put trailing slashes in PATH elements.2584 # Account for people who put trailing slashes in PATH elements.
2938case $as_dir/ in #((2585case $as_dir/ in
2939 ./ | .// | /[cC]/* | \2586 ./ | .// | /cC/* | \
2940 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \2587 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2941 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \2588 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2942 /usr/ucb/* ) ;;2589 /usr/ucb/* ) ;;
2943 *)2590 *)
2944 # OSF1 and SCO ODT 3.0 have their own names for install.2591 # OSF1 and SCO ODT 3.0 have their own names for install.
@@ -2975,7 +2622,7 @@
2975 ;;2622 ;;
2976esac2623esac
29772624
2978 done2625done
2979IFS=$as_save_IFS2626IFS=$as_save_IFS
29802627
2981rm -rf conftest.one conftest.two conftest.dir2628rm -rf conftest.one conftest.two conftest.dir
@@ -2991,7 +2638,7 @@
2991 INSTALL=$ac_install_sh2638 INSTALL=$ac_install_sh
2992 fi2639 fi
2993fi2640fi
2994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&52641{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2995$as_echo "$INSTALL" >&6; }2642$as_echo "$INSTALL" >&6; }
29962643
2997# Use test -z because SunOS4 sh mishandles braces in ${var-val}.2644# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -3002,7 +2649,7 @@
30022649
3003test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'2650test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
30042651
3005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&52652{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3006$as_echo_n "checking whether build environment is sane... " >&6; }2653$as_echo_n "checking whether build environment is sane... " >&6; }
3007# Just in case2654# Just in case
3008sleep 12655sleep 1
@@ -3013,11 +2660,15 @@
3013'2660'
3014case `pwd` in2661case `pwd` in
3015 *[\\\"\#\$\&\'\`$am_lf]*)2662 *[\\\"\#\$\&\'\`$am_lf]*)
3016 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;2663 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2664$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2665 { (exit 1); exit 1; }; };;
3017esac2666esac
3018case $srcdir in2667case $srcdir in
3019 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)2668 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3020 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;2669 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2670$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2671 { (exit 1); exit 1; }; };;
3021esac2672esac
30222673
3023# Do `set' in a subshell so we don't clobber the current shell's2674# Do `set' in a subshell so we don't clobber the current shell's
@@ -3039,8 +2690,11 @@
3039 # if, for instance, CONFIG_SHELL is bash and it inherits a2690 # if, for instance, CONFIG_SHELL is bash and it inherits a
3040 # broken ls alias from the environment. This has actually2691 # broken ls alias from the environment. This has actually
3041 # happened. Such a system could not be considered "sane".2692 # happened. Such a system could not be considered "sane".
3042 as_fn_error "ls -t appears to fail. Make sure there is not a broken2693 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3043alias in your environment" "$LINENO" 52694alias in your environment" >&5
2695$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2696alias in your environment" >&2;}
2697 { (exit 1); exit 1; }; }
3044 fi2698 fi
30452699
3046 test "$2" = conftest.file2700 test "$2" = conftest.file
@@ -3049,10 +2703,13 @@
3049 # Ok.2703 # Ok.
3050 :2704 :
3051else2705else
3052 as_fn_error "newly created file is older than distributed files!2706 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3053Check your system clock" "$LINENO" 52707Check your system clock" >&5
2708$as_echo "$as_me: error: newly created file is older than distributed files!
2709Check your system clock" >&2;}
2710 { (exit 1); exit 1; }; }
3054fi2711fi
3055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&52712{ $as_echo "$as_me:$LINENO: result: yes" >&5
3056$as_echo "yes" >&6; }2713$as_echo "yes" >&6; }
3057test "$program_prefix" != NONE &&2714test "$program_prefix" != NONE &&
3058 program_transform_name="s&^&$program_prefix&;$program_transform_name"2715 program_transform_name="s&^&$program_prefix&;$program_transform_name"
@@ -3080,7 +2737,7 @@
3080 am_missing_run="$MISSING --run "2737 am_missing_run="$MISSING --run "
3081else2738else
3082 am_missing_run=2739 am_missing_run=
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&52740 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3084$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}2741$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3085fi2742fi
30862743
@@ -3101,9 +2758,9 @@
3101 if test -n "$ac_tool_prefix"; then2758 if test -n "$ac_tool_prefix"; then
3102 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.2759 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3103set dummy ${ac_tool_prefix}strip; ac_word=$22760set dummy ${ac_tool_prefix}strip; ac_word=$2
3104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52761{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3105$as_echo_n "checking for $ac_word... " >&6; }2762$as_echo_n "checking for $ac_word... " >&6; }
3106if test "${ac_cv_prog_STRIP+set}" = set; then :2763if test "${ac_cv_prog_STRIP+set}" = set; then
3107 $as_echo_n "(cached) " >&62764 $as_echo_n "(cached) " >&6
3108else2765else
3109 if test -n "$STRIP"; then2766 if test -n "$STRIP"; then
@@ -3114,24 +2771,24 @@
3114do2771do
3115 IFS=$as_save_IFS2772 IFS=$as_save_IFS
3116 test -z "$as_dir" && as_dir=.2773 test -z "$as_dir" && as_dir=.
3117 for ac_exec_ext in '' $ac_executable_extensions; do2774 for ac_exec_ext in '' $ac_executable_extensions; do
3118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3119 ac_cv_prog_STRIP="${ac_tool_prefix}strip"2776 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52777 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3121 break 22778 break 2
3122 fi2779 fi
3123done2780done
3124 done2781done
3125IFS=$as_save_IFS2782IFS=$as_save_IFS
31262783
3127fi2784fi
3128fi2785fi
3129STRIP=$ac_cv_prog_STRIP2786STRIP=$ac_cv_prog_STRIP
3130if test -n "$STRIP"; then2787if test -n "$STRIP"; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&52788 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
3132$as_echo "$STRIP" >&6; }2789$as_echo "$STRIP" >&6; }
3133else2790else
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52791 { $as_echo "$as_me:$LINENO: result: no" >&5
3135$as_echo "no" >&6; }2792$as_echo "no" >&6; }
3136fi2793fi
31372794
@@ -3141,9 +2798,9 @@
3141 ac_ct_STRIP=$STRIP2798 ac_ct_STRIP=$STRIP
3142 # Extract the first word of "strip", so it can be a program name with args.2799 # Extract the first word of "strip", so it can be a program name with args.
3143set dummy strip; ac_word=$22800set dummy strip; ac_word=$2
3144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52801{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3145$as_echo_n "checking for $ac_word... " >&6; }2802$as_echo_n "checking for $ac_word... " >&6; }
3146if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :2803if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3147 $as_echo_n "(cached) " >&62804 $as_echo_n "(cached) " >&6
3148else2805else
3149 if test -n "$ac_ct_STRIP"; then2806 if test -n "$ac_ct_STRIP"; then
@@ -3154,24 +2811,24 @@
3154do2811do
3155 IFS=$as_save_IFS2812 IFS=$as_save_IFS
3156 test -z "$as_dir" && as_dir=.2813 test -z "$as_dir" && as_dir=.
3157 for ac_exec_ext in '' $ac_executable_extensions; do2814 for ac_exec_ext in '' $ac_executable_extensions; do
3158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3159 ac_cv_prog_ac_ct_STRIP="strip"2816 ac_cv_prog_ac_ct_STRIP="strip"
3160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52817 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3161 break 22818 break 2
3162 fi2819 fi
3163done2820done
3164 done2821done
3165IFS=$as_save_IFS2822IFS=$as_save_IFS
31662823
3167fi2824fi
3168fi2825fi
3169ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP2826ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3170if test -n "$ac_ct_STRIP"; then2827if test -n "$ac_ct_STRIP"; then
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&52828 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3172$as_echo "$ac_ct_STRIP" >&6; }2829$as_echo "$ac_ct_STRIP" >&6; }
3173else2830else
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52831 { $as_echo "$as_me:$LINENO: result: no" >&5
3175$as_echo "no" >&6; }2832$as_echo "no" >&6; }
3176fi2833fi
31772834
@@ -3180,7 +2837,7 @@
3180 else2837 else
3181 case $cross_compiling:$ac_tool_warned in2838 case $cross_compiling:$ac_tool_warned in
3182yes:)2839yes:)
3183{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&52840{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3184$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}2841$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3185ac_tool_warned=yes ;;2842ac_tool_warned=yes ;;
3186esac2843esac
@@ -3193,10 +2850,10 @@
3193fi2850fi
3194INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"2851INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
31952852
3196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&52853{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
3197$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }2854$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3198if test -z "$MKDIR_P"; then2855if test -z "$MKDIR_P"; then
3199 if test "${ac_cv_path_mkdir+set}" = set; then :2856 if test "${ac_cv_path_mkdir+set}" = set; then
3200 $as_echo_n "(cached) " >&62857 $as_echo_n "(cached) " >&6
3201else2858else
3202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR2859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -3204,7 +2861,7 @@
3204do2861do
3205 IFS=$as_save_IFS2862 IFS=$as_save_IFS
3206 test -z "$as_dir" && as_dir=.2863 test -z "$as_dir" && as_dir=.
3207 for ac_prog in mkdir gmkdir; do2864 for ac_prog in mkdir gmkdir; do
3208 for ac_exec_ext in '' $ac_executable_extensions; do2865 for ac_exec_ext in '' $ac_executable_extensions; do
3209 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue2866 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3210 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(2867 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
@@ -3216,12 +2873,11 @@
3216 esac2873 esac
3217 done2874 done
3218 done2875 done
3219 done2876done
3220IFS=$as_save_IFS2877IFS=$as_save_IFS
32212878
3222fi2879fi
32232880
3224 test -d ./--version && rmdir ./--version
3225 if test "${ac_cv_path_mkdir+set}" = set; then2881 if test "${ac_cv_path_mkdir+set}" = set; then
3226 MKDIR_P="$ac_cv_path_mkdir -p"2882 MKDIR_P="$ac_cv_path_mkdir -p"
3227 else2883 else
@@ -3229,10 +2885,11 @@
3229 # value for MKDIR_P within a source directory, because that will2885 # value for MKDIR_P within a source directory, because that will
3230 # break other packages using the cache if that directory is2886 # break other packages using the cache if that directory is
3231 # removed, or if the value is a relative name.2887 # removed, or if the value is a relative name.
2888 test -d ./--version && rmdir ./--version
3232 MKDIR_P="$ac_install_sh -d"2889 MKDIR_P="$ac_install_sh -d"
3233 fi2890 fi
3234fi2891fi
3235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&52892{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
3236$as_echo "$MKDIR_P" >&6; }2893$as_echo "$MKDIR_P" >&6; }
32372894
3238mkdir_p="$MKDIR_P"2895mkdir_p="$MKDIR_P"
@@ -3245,9 +2902,9 @@
3245do2902do
3246 # Extract the first word of "$ac_prog", so it can be a program name with args.2903 # Extract the first word of "$ac_prog", so it can be a program name with args.
3247set dummy $ac_prog; ac_word=$22904set dummy $ac_prog; ac_word=$2
3248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&52905{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3249$as_echo_n "checking for $ac_word... " >&6; }2906$as_echo_n "checking for $ac_word... " >&6; }
3250if test "${ac_cv_prog_AWK+set}" = set; then :2907if test "${ac_cv_prog_AWK+set}" = set; then
3251 $as_echo_n "(cached) " >&62908 $as_echo_n "(cached) " >&6
3252else2909else
3253 if test -n "$AWK"; then2910 if test -n "$AWK"; then
@@ -3258,24 +2915,24 @@
3258do2915do
3259 IFS=$as_save_IFS2916 IFS=$as_save_IFS
3260 test -z "$as_dir" && as_dir=.2917 test -z "$as_dir" && as_dir=.
3261 for ac_exec_ext in '' $ac_executable_extensions; do2918 for ac_exec_ext in '' $ac_executable_extensions; do
3262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then2919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3263 ac_cv_prog_AWK="$ac_prog"2920 ac_cv_prog_AWK="$ac_prog"
3264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&52921 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3265 break 22922 break 2
3266 fi2923 fi
3267done2924done
3268 done2925done
3269IFS=$as_save_IFS2926IFS=$as_save_IFS
32702927
3271fi2928fi
3272fi2929fi
3273AWK=$ac_cv_prog_AWK2930AWK=$ac_cv_prog_AWK
3274if test -n "$AWK"; then2931if test -n "$AWK"; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&52932 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
3276$as_echo "$AWK" >&6; }2933$as_echo "$AWK" >&6; }
3277else2934else
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52935 { $as_echo "$as_me:$LINENO: result: no" >&5
3279$as_echo "no" >&6; }2936$as_echo "no" >&6; }
3280fi2937fi
32812938
@@ -3283,11 +2940,11 @@
3283 test -n "$AWK" && break2940 test -n "$AWK" && break
3284done2941done
32852942
3286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&52943{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3287$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }2944$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3288set x ${MAKE-make}2945set x ${MAKE-make}
3289ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`2946ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3290if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :2947if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3291 $as_echo_n "(cached) " >&62948 $as_echo_n "(cached) " >&6
3292else2949else
3293 cat >conftest.make <<\_ACEOF2950 cat >conftest.make <<\_ACEOF
@@ -3305,11 +2962,11 @@
3305rm -f conftest.make2962rm -f conftest.make
3306fi2963fi
3307if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then2964if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&52965 { $as_echo "$as_me:$LINENO: result: yes" >&5
3309$as_echo "yes" >&6; }2966$as_echo "yes" >&6; }
3310 SET_MAKE=2967 SET_MAKE=
3311else2968else
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&52969 { $as_echo "$as_me:$LINENO: result: no" >&5
3313$as_echo "no" >&6; }2970$as_echo "no" >&6; }
3314 SET_MAKE="MAKE=${MAKE-make}"2971 SET_MAKE="MAKE=${MAKE-make}"
3315fi2972fi
@@ -3329,7 +2986,9 @@
3329 am__isrc=' -I$(srcdir)'2986 am__isrc=' -I$(srcdir)'
3330 # test to see if srcdir already configured2987 # test to see if srcdir already configured
3331 if test -f $srcdir/config.status; then2988 if test -f $srcdir/config.status; then
3332 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 52989 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2990$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2991 { (exit 1); exit 1; }; }
3333 fi2992 fi
3334fi2993fi
33352994
@@ -3345,7 +3004,7 @@
33453004
3346# Define the identity of the package.3005# Define the identity of the package.
3347 PACKAGE='clamav'3006 PACKAGE='clamav'
3348 VERSION='0.97.6'3007 VERSION='0.97.7'
33493008
33503009
3351# Some tools Automake needs.3010# Some tools Automake needs.
@@ -3371,7 +3030,7 @@
3371AMTAR=${AMTAR-"${am_missing_run}tar"}3030AMTAR=${AMTAR-"${am_missing_run}tar"}
33723031
33733032
3374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&53033{ $as_echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5
3375$as_echo_n "checking how to create a ustar tar archive... " >&6; }3034$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3376# Loop over all known methods to create a tar archive until one works.3035# Loop over all known methods to create a tar archive until one works.
3377_am_tools='gnutar plaintar pax cpio none'3036_am_tools='gnutar plaintar pax cpio none'
@@ -3444,13 +3103,13 @@
3444done3103done
3445rm -rf conftest.dir3104rm -rf conftest.dir
34463105
3447if test "${am_cv_prog_tar_ustar+set}" = set; then :3106if test "${am_cv_prog_tar_ustar+set}" = set; then
3448 $as_echo_n "(cached) " >&63107 $as_echo_n "(cached) " >&6
3449else3108else
3450 am_cv_prog_tar_ustar=$_am_tool3109 am_cv_prog_tar_ustar=$_am_tool
3451fi3110fi
34523111
3453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&53112{ $as_echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5
3454$as_echo "$am_cv_prog_tar_ustar" >&6; }3113$as_echo "$am_cv_prog_tar_ustar" >&6; }
34553114
34563115
@@ -3458,7 +3117,7 @@
34583117
34593118
3460# Check whether --enable-silent-rules was given.3119# Check whether --enable-silent-rules was given.
3461if test "${enable_silent_rules+set}" = set; then :3120if test "${enable_silent_rules+set}" = set; then
3462 enableval=$enable_silent_rules;3121 enableval=$enable_silent_rules;
3463fi3122fi
34643123
@@ -3471,13 +3130,15 @@
34713130
34723131
34733132
3474$as_echo "#define PACKAGE PACKAGE_NAME" >>confdefs.h3133cat >>confdefs.h <<\_ACEOF
34753134#define PACKAGE PACKAGE_NAME
34763135_ACEOF
3477VERSION="0.97.6"3136
3137
3138VERSION="0.97.7"
34783139
3479LC_CURRENT=73140LC_CURRENT=7
3480LC_REVISION=153141LC_REVISION=16
3481LC_AGE=13142LC_AGE=1
3482LIBCLAMAV_VERSION="$LC_CURRENT":"$LC_REVISION":"$LC_AGE"3143LIBCLAMAV_VERSION="$LC_CURRENT":"$LC_REVISION":"$LC_AGE"
34833144
@@ -3486,9 +3147,9 @@
3486do3147do
3487 # Extract the first word of "$ac_prog", so it can be a program name with args.3148 # Extract the first word of "$ac_prog", so it can be a program name with args.
3488set dummy $ac_prog; ac_word=$23149set dummy $ac_prog; ac_word=$2
3489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53150{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3490$as_echo_n "checking for $ac_word... " >&6; }3151$as_echo_n "checking for $ac_word... " >&6; }
3491if test "${ac_cv_prog_AWK+set}" = set; then :3152if test "${ac_cv_prog_AWK+set}" = set; then
3492 $as_echo_n "(cached) " >&63153 $as_echo_n "(cached) " >&6
3493else3154else
3494 if test -n "$AWK"; then3155 if test -n "$AWK"; then
@@ -3499,24 +3160,24 @@
3499do3160do
3500 IFS=$as_save_IFS3161 IFS=$as_save_IFS
3501 test -z "$as_dir" && as_dir=.3162 test -z "$as_dir" && as_dir=.
3502 for ac_exec_ext in '' $ac_executable_extensions; do3163 for ac_exec_ext in '' $ac_executable_extensions; do
3503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3504 ac_cv_prog_AWK="$ac_prog"3165 ac_cv_prog_AWK="$ac_prog"
3505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53166 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3506 break 23167 break 2
3507 fi3168 fi
3508done3169done
3509 done3170done
3510IFS=$as_save_IFS3171IFS=$as_save_IFS
35113172
3512fi3173fi
3513fi3174fi
3514AWK=$ac_cv_prog_AWK3175AWK=$ac_cv_prog_AWK
3515if test -n "$AWK"; then3176if test -n "$AWK"; then
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&53177 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
3517$as_echo "$AWK" >&6; }3178$as_echo "$AWK" >&6; }
3518else3179else
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53180 { $as_echo "$as_me:$LINENO: result: no" >&5
3520$as_echo "no" >&6; }3181$as_echo "no" >&6; }
3521fi3182fi
35223183
@@ -3524,23 +3185,115 @@
3524 test -n "$AWK" && break3185 test -n "$AWK" && break
3525done3186done
35263187
35273188# Find a good install program. We prefer a C program (faster),
3528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&53189# so one script is as good as another. But avoid the broken or
3190# incompatible versions:
3191# SysV /etc/install, /usr/sbin/install
3192# SunOS /usr/etc/install
3193# IRIX /sbin/install
3194# AIX /bin/install
3195# AmigaOS /C/install, which installs bootblocks on floppy discs
3196# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3197# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3198# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3199# OS/2's system install, which has a completely different semantic
3200# ./install, which can be erroneously created by make from ./install.sh.
3201# Reject install programs that cannot install multiple files.
3202{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3203$as_echo_n "checking for a BSD-compatible install... " >&6; }
3204if test -z "$INSTALL"; then
3205if test "${ac_cv_path_install+set}" = set; then
3206 $as_echo_n "(cached) " >&6
3207else
3208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3209for as_dir in $PATH
3210do
3211 IFS=$as_save_IFS
3212 test -z "$as_dir" && as_dir=.
3213 # Account for people who put trailing slashes in PATH elements.
3214case $as_dir/ in
3215 ./ | .// | /cC/* | \
3216 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3217 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3218 /usr/ucb/* ) ;;
3219 *)
3220 # OSF1 and SCO ODT 3.0 have their own names for install.
3221 # Don't use installbsd from OSF since it installs stuff as root
3222 # by default.
3223 for ac_prog in ginstall scoinst install; do
3224 for ac_exec_ext in '' $ac_executable_extensions; do
3225 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3226 if test $ac_prog = install &&
3227 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3228 # AIX install. It has an incompatible calling convention.
3229 :
3230 elif test $ac_prog = install &&
3231 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3232 # program-specific install script used by HP pwplus--don't use.
3233 :
3234 else
3235 rm -rf conftest.one conftest.two conftest.dir
3236 echo one > conftest.one
3237 echo two > conftest.two
3238 mkdir conftest.dir
3239 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3240 test -s conftest.one && test -s conftest.two &&
3241 test -s conftest.dir/conftest.one &&
3242 test -s conftest.dir/conftest.two
3243 then
3244 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3245 break 3
3246 fi
3247 fi
3248 fi
3249 done
3250 done
3251 ;;
3252esac
3253
3254done
3255IFS=$as_save_IFS
3256
3257rm -rf conftest.one conftest.two conftest.dir
3258
3259fi
3260 if test "${ac_cv_path_install+set}" = set; then
3261 INSTALL=$ac_cv_path_install
3262 else
3263 # As a last resort, use the slow shell script. Don't cache a
3264 # value for INSTALL within a source directory, because that will
3265 # break other packages using the cache if that directory is
3266 # removed, or if the value is a relative name.
3267 INSTALL=$ac_install_sh
3268 fi
3269fi
3270{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3271$as_echo "$INSTALL" >&6; }
3272
3273# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3274# It thinks the first close brace ends the variable substitution.
3275test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3276
3277test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3278
3279test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3280
3281{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3529$as_echo_n "checking whether ln -s works... " >&6; }3282$as_echo_n "checking whether ln -s works... " >&6; }
3530LN_S=$as_ln_s3283LN_S=$as_ln_s
3531if test "$LN_S" = "ln -s"; then3284if test "$LN_S" = "ln -s"; then
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&53285 { $as_echo "$as_me:$LINENO: result: yes" >&5
3533$as_echo "yes" >&6; }3286$as_echo "yes" >&6; }
3534else3287else
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&53288 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3536$as_echo "no, using $LN_S" >&6; }3289$as_echo "no, using $LN_S" >&6; }
3537fi3290fi
35383291
3539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&53292{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3540$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }3293$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3541set x ${MAKE-make}3294set x ${MAKE-make}
3542ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`3295ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3543if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :3296if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3544 $as_echo_n "(cached) " >&63297 $as_echo_n "(cached) " >&6
3545else3298else
3546 cat >conftest.make <<\_ACEOF3299 cat >conftest.make <<\_ACEOF
@@ -3558,11 +3311,11 @@
3558rm -f conftest.make3311rm -f conftest.make
3559fi3312fi
3560if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then3313if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&53314 { $as_echo "$as_me:$LINENO: result: yes" >&5
3562$as_echo "yes" >&6; }3315$as_echo "yes" >&6; }
3563 SET_MAKE=3316 SET_MAKE=
3564else3317else
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53318 { $as_echo "$as_me:$LINENO: result: no" >&5
3566$as_echo "no" >&6; }3319$as_echo "no" >&6; }
3567 SET_MAKE="MAKE=${MAKE-make}"3320 SET_MAKE="MAKE=${MAKE-make}"
3568fi3321fi
@@ -3578,7 +3331,7 @@
35783331
3579case `pwd` in3332case `pwd` in
3580 *\ * | *\ *)3333 *\ * | *\ *)
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&53334 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3582$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;3335$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3583esac3336esac
35843337
@@ -3613,7 +3366,7 @@
3613.PHONY: am__doit3366.PHONY: am__doit
3614END3367END
3615# If we don't find an include directive, just comment out the code.3368# If we don't find an include directive, just comment out the code.
3616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&53369{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3617$as_echo_n "checking for style of include used by $am_make... " >&6; }3370$as_echo_n "checking for style of include used by $am_make... " >&6; }
3618am__include="#"3371am__include="#"
3619am__quote=3372am__quote=
@@ -3641,12 +3394,12 @@
3641fi3394fi
36423395
36433396
3644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&53397{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3645$as_echo "$_am_result" >&6; }3398$as_echo "$_am_result" >&6; }
3646rm -f confinc confmf3399rm -f confinc confmf
36473400
3648# Check whether --enable-dependency-tracking was given.3401# Check whether --enable-dependency-tracking was given.
3649if test "${enable_dependency_tracking+set}" = set; then :3402if test "${enable_dependency_tracking+set}" = set; then
3650 enableval=$enable_dependency_tracking;3403 enableval=$enable_dependency_tracking;
3651fi3404fi
36523405
@@ -3671,9 +3424,9 @@
3671if test -n "$ac_tool_prefix"; then3424if test -n "$ac_tool_prefix"; then
3672 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.3425 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3673set dummy ${ac_tool_prefix}gcc; ac_word=$23426set dummy ${ac_tool_prefix}gcc; ac_word=$2
3674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53427{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3675$as_echo_n "checking for $ac_word... " >&6; }3428$as_echo_n "checking for $ac_word... " >&6; }
3676if test "${ac_cv_prog_CC+set}" = set; then :3429if test "${ac_cv_prog_CC+set}" = set; then
3677 $as_echo_n "(cached) " >&63430 $as_echo_n "(cached) " >&6
3678else3431else
3679 if test -n "$CC"; then3432 if test -n "$CC"; then
@@ -3684,24 +3437,24 @@
3684do3437do
3685 IFS=$as_save_IFS3438 IFS=$as_save_IFS
3686 test -z "$as_dir" && as_dir=.3439 test -z "$as_dir" && as_dir=.
3687 for ac_exec_ext in '' $ac_executable_extensions; do3440 for ac_exec_ext in '' $ac_executable_extensions; do
3688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3689 ac_cv_prog_CC="${ac_tool_prefix}gcc"3442 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53443 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3691 break 23444 break 2
3692 fi3445 fi
3693done3446done
3694 done3447done
3695IFS=$as_save_IFS3448IFS=$as_save_IFS
36963449
3697fi3450fi
3698fi3451fi
3699CC=$ac_cv_prog_CC3452CC=$ac_cv_prog_CC
3700if test -n "$CC"; then3453if test -n "$CC"; then
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&53454 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3702$as_echo "$CC" >&6; }3455$as_echo "$CC" >&6; }
3703else3456else
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53457 { $as_echo "$as_me:$LINENO: result: no" >&5
3705$as_echo "no" >&6; }3458$as_echo "no" >&6; }
3706fi3459fi
37073460
@@ -3711,9 +3464,9 @@
3711 ac_ct_CC=$CC3464 ac_ct_CC=$CC
3712 # Extract the first word of "gcc", so it can be a program name with args.3465 # Extract the first word of "gcc", so it can be a program name with args.
3713set dummy gcc; ac_word=$23466set dummy gcc; ac_word=$2
3714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53467{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3715$as_echo_n "checking for $ac_word... " >&6; }3468$as_echo_n "checking for $ac_word... " >&6; }
3716if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :3469if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3717 $as_echo_n "(cached) " >&63470 $as_echo_n "(cached) " >&6
3718else3471else
3719 if test -n "$ac_ct_CC"; then3472 if test -n "$ac_ct_CC"; then
@@ -3724,24 +3477,24 @@
3724do3477do
3725 IFS=$as_save_IFS3478 IFS=$as_save_IFS
3726 test -z "$as_dir" && as_dir=.3479 test -z "$as_dir" && as_dir=.
3727 for ac_exec_ext in '' $ac_executable_extensions; do3480 for ac_exec_ext in '' $ac_executable_extensions; do
3728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3729 ac_cv_prog_ac_ct_CC="gcc"3482 ac_cv_prog_ac_ct_CC="gcc"
3730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53483 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3731 break 23484 break 2
3732 fi3485 fi
3733done3486done
3734 done3487done
3735IFS=$as_save_IFS3488IFS=$as_save_IFS
37363489
3737fi3490fi
3738fi3491fi
3739ac_ct_CC=$ac_cv_prog_ac_ct_CC3492ac_ct_CC=$ac_cv_prog_ac_ct_CC
3740if test -n "$ac_ct_CC"; then3493if test -n "$ac_ct_CC"; then
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&53494 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3742$as_echo "$ac_ct_CC" >&6; }3495$as_echo "$ac_ct_CC" >&6; }
3743else3496else
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53497 { $as_echo "$as_me:$LINENO: result: no" >&5
3745$as_echo "no" >&6; }3498$as_echo "no" >&6; }
3746fi3499fi
37473500
@@ -3750,7 +3503,7 @@
3750 else3503 else
3751 case $cross_compiling:$ac_tool_warned in3504 case $cross_compiling:$ac_tool_warned in
3752yes:)3505yes:)
3753{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&53506{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3754$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}3507$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3755ac_tool_warned=yes ;;3508ac_tool_warned=yes ;;
3756esac3509esac
@@ -3764,9 +3517,9 @@
3764 if test -n "$ac_tool_prefix"; then3517 if test -n "$ac_tool_prefix"; then
3765 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.3518 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3766set dummy ${ac_tool_prefix}cc; ac_word=$23519set dummy ${ac_tool_prefix}cc; ac_word=$2
3767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53520{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3768$as_echo_n "checking for $ac_word... " >&6; }3521$as_echo_n "checking for $ac_word... " >&6; }
3769if test "${ac_cv_prog_CC+set}" = set; then :3522if test "${ac_cv_prog_CC+set}" = set; then
3770 $as_echo_n "(cached) " >&63523 $as_echo_n "(cached) " >&6
3771else3524else
3772 if test -n "$CC"; then3525 if test -n "$CC"; then
@@ -3777,24 +3530,24 @@
3777do3530do
3778 IFS=$as_save_IFS3531 IFS=$as_save_IFS
3779 test -z "$as_dir" && as_dir=.3532 test -z "$as_dir" && as_dir=.
3780 for ac_exec_ext in '' $ac_executable_extensions; do3533 for ac_exec_ext in '' $ac_executable_extensions; do
3781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3782 ac_cv_prog_CC="${ac_tool_prefix}cc"3535 ac_cv_prog_CC="${ac_tool_prefix}cc"
3783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53536 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3784 break 23537 break 2
3785 fi3538 fi
3786done3539done
3787 done3540done
3788IFS=$as_save_IFS3541IFS=$as_save_IFS
37893542
3790fi3543fi
3791fi3544fi
3792CC=$ac_cv_prog_CC3545CC=$ac_cv_prog_CC
3793if test -n "$CC"; then3546if test -n "$CC"; then
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&53547 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3795$as_echo "$CC" >&6; }3548$as_echo "$CC" >&6; }
3796else3549else
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53550 { $as_echo "$as_me:$LINENO: result: no" >&5
3798$as_echo "no" >&6; }3551$as_echo "no" >&6; }
3799fi3552fi
38003553
@@ -3804,9 +3557,9 @@
3804if test -z "$CC"; then3557if test -z "$CC"; then
3805 # Extract the first word of "cc", so it can be a program name with args.3558 # Extract the first word of "cc", so it can be a program name with args.
3806set dummy cc; ac_word=$23559set dummy cc; ac_word=$2
3807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53560{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3808$as_echo_n "checking for $ac_word... " >&6; }3561$as_echo_n "checking for $ac_word... " >&6; }
3809if test "${ac_cv_prog_CC+set}" = set; then :3562if test "${ac_cv_prog_CC+set}" = set; then
3810 $as_echo_n "(cached) " >&63563 $as_echo_n "(cached) " >&6
3811else3564else
3812 if test -n "$CC"; then3565 if test -n "$CC"; then
@@ -3818,18 +3571,18 @@
3818do3571do
3819 IFS=$as_save_IFS3572 IFS=$as_save_IFS
3820 test -z "$as_dir" && as_dir=.3573 test -z "$as_dir" && as_dir=.
3821 for ac_exec_ext in '' $ac_executable_extensions; do3574 for ac_exec_ext in '' $ac_executable_extensions; do
3822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3823 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then3576 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3824 ac_prog_rejected=yes3577 ac_prog_rejected=yes
3825 continue3578 continue
3826 fi3579 fi
3827 ac_cv_prog_CC="cc"3580 ac_cv_prog_CC="cc"
3828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53581 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3829 break 23582 break 2
3830 fi3583 fi
3831done3584done
3832 done3585done
3833IFS=$as_save_IFS3586IFS=$as_save_IFS
38343587
3835if test $ac_prog_rejected = yes; then3588if test $ac_prog_rejected = yes; then
@@ -3848,10 +3601,10 @@
3848fi3601fi
3849CC=$ac_cv_prog_CC3602CC=$ac_cv_prog_CC
3850if test -n "$CC"; then3603if test -n "$CC"; then
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&53604 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3852$as_echo "$CC" >&6; }3605$as_echo "$CC" >&6; }
3853else3606else
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53607 { $as_echo "$as_me:$LINENO: result: no" >&5
3855$as_echo "no" >&6; }3608$as_echo "no" >&6; }
3856fi3609fi
38573610
@@ -3863,9 +3616,9 @@
3863 do3616 do
3864 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.3617 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3865set dummy $ac_tool_prefix$ac_prog; ac_word=$23618set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53619{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3867$as_echo_n "checking for $ac_word... " >&6; }3620$as_echo_n "checking for $ac_word... " >&6; }
3868if test "${ac_cv_prog_CC+set}" = set; then :3621if test "${ac_cv_prog_CC+set}" = set; then
3869 $as_echo_n "(cached) " >&63622 $as_echo_n "(cached) " >&6
3870else3623else
3871 if test -n "$CC"; then3624 if test -n "$CC"; then
@@ -3876,24 +3629,24 @@
3876do3629do
3877 IFS=$as_save_IFS3630 IFS=$as_save_IFS
3878 test -z "$as_dir" && as_dir=.3631 test -z "$as_dir" && as_dir=.
3879 for ac_exec_ext in '' $ac_executable_extensions; do3632 for ac_exec_ext in '' $ac_executable_extensions; do
3880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3881 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"3634 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53635 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3883 break 23636 break 2
3884 fi3637 fi
3885done3638done
3886 done3639done
3887IFS=$as_save_IFS3640IFS=$as_save_IFS
38883641
3889fi3642fi
3890fi3643fi
3891CC=$ac_cv_prog_CC3644CC=$ac_cv_prog_CC
3892if test -n "$CC"; then3645if test -n "$CC"; then
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&53646 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3894$as_echo "$CC" >&6; }3647$as_echo "$CC" >&6; }
3895else3648else
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53649 { $as_echo "$as_me:$LINENO: result: no" >&5
3897$as_echo "no" >&6; }3650$as_echo "no" >&6; }
3898fi3651fi
38993652
@@ -3907,9 +3660,9 @@
3907do3660do
3908 # Extract the first word of "$ac_prog", so it can be a program name with args.3661 # Extract the first word of "$ac_prog", so it can be a program name with args.
3909set dummy $ac_prog; ac_word=$23662set dummy $ac_prog; ac_word=$2
3910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&53663{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3911$as_echo_n "checking for $ac_word... " >&6; }3664$as_echo_n "checking for $ac_word... " >&6; }
3912if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :3665if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3913 $as_echo_n "(cached) " >&63666 $as_echo_n "(cached) " >&6
3914else3667else
3915 if test -n "$ac_ct_CC"; then3668 if test -n "$ac_ct_CC"; then
@@ -3920,24 +3673,24 @@
3920do3673do
3921 IFS=$as_save_IFS3674 IFS=$as_save_IFS
3922 test -z "$as_dir" && as_dir=.3675 test -z "$as_dir" && as_dir=.
3923 for ac_exec_ext in '' $ac_executable_extensions; do3676 for ac_exec_ext in '' $ac_executable_extensions; do
3924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then3677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3925 ac_cv_prog_ac_ct_CC="$ac_prog"3678 ac_cv_prog_ac_ct_CC="$ac_prog"
3926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&53679 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3927 break 23680 break 2
3928 fi3681 fi
3929done3682done
3930 done3683done
3931IFS=$as_save_IFS3684IFS=$as_save_IFS
39323685
3933fi3686fi
3934fi3687fi
3935ac_ct_CC=$ac_cv_prog_ac_ct_CC3688ac_ct_CC=$ac_cv_prog_ac_ct_CC
3936if test -n "$ac_ct_CC"; then3689if test -n "$ac_ct_CC"; then
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&53690 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3938$as_echo "$ac_ct_CC" >&6; }3691$as_echo "$ac_ct_CC" >&6; }
3939else3692else
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&53693 { $as_echo "$as_me:$LINENO: result: no" >&5
3941$as_echo "no" >&6; }3694$as_echo "no" >&6; }
3942fi3695fi
39433696
@@ -3950,7 +3703,7 @@
3950 else3703 else
3951 case $cross_compiling:$ac_tool_warned in3704 case $cross_compiling:$ac_tool_warned in
3952yes:)3705yes:)
3953{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&53706{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3954$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}3707$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3955ac_tool_warned=yes ;;3708ac_tool_warned=yes ;;
3956esac3709esac
@@ -3961,37 +3714,57 @@
3961fi3714fi
39623715
39633716
3964test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53717test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3965$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3718$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3966as_fn_error "no acceptable C compiler found in \$PATH3719{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3967See \`config.log' for more details." "$LINENO" 5; }3720See \`config.log' for more details." >&5
3721$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3722See \`config.log' for more details." >&2;}
3723 { (exit 1); exit 1; }; }; }
39683724
3969# Provide some information about the compiler.3725# Provide some information about the compiler.
3970$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&53726$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3971set X $ac_compile3727set X $ac_compile
3972ac_compiler=$23728ac_compiler=$2
3973for ac_option in --version -v -V -qversion; do3729{ (ac_try="$ac_compiler --version >&5"
3974 { { ac_try="$ac_compiler $ac_option >&5"3730case "(($ac_try" in
3975case "(($ac_try" in3731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3732 *) ac_try_echo=$ac_try;;
3977 *) ac_try_echo=$ac_try;;3733esac
3978esac3734eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3979eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""3735$as_echo "$ac_try_echo") >&5
3980$as_echo "$ac_try_echo"; } >&53736 (eval "$ac_compiler --version >&5") 2>&5
3981 (eval "$ac_compiler $ac_option >&5") 2>conftest.err3737 ac_status=$?
3982 ac_status=$?3738 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 if test -s conftest.err; then3739 (exit $ac_status); }
3984 sed '10a\3740{ (ac_try="$ac_compiler -v >&5"
3985... rest of stderr output deleted ...3741case "(($ac_try" in
3986 10q' conftest.err >conftest.er13742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3987 cat conftest.er1 >&53743 *) ac_try_echo=$ac_try;;
3988 fi3744esac
3989 rm -f conftest.er1 conftest.err3745eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53746$as_echo "$ac_try_echo") >&5
3991 test $ac_status = 0; }3747 (eval "$ac_compiler -v >&5") 2>&5
3992done3748 ac_status=$?
3749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); }
3751{ (ac_try="$ac_compiler -V >&5"
3752case "(($ac_try" in
3753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3754 *) ac_try_echo=$ac_try;;
3755esac
3756eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3757$as_echo "$ac_try_echo") >&5
3758 (eval "$ac_compiler -V >&5") 2>&5
3759 ac_status=$?
3760 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761 (exit $ac_status); }
39933762
3994cat confdefs.h - <<_ACEOF >conftest.$ac_ext3763cat >conftest.$ac_ext <<_ACEOF
3764/* confdefs.h. */
3765_ACEOF
3766cat confdefs.h >>conftest.$ac_ext
3767cat >>conftest.$ac_ext <<_ACEOF
3995/* end confdefs.h. */3768/* end confdefs.h. */
39963769
3997int3770int
@@ -4007,8 +3780,8 @@
4007# Try to create an executable without -o first, disregard a.out.3780# Try to create an executable without -o first, disregard a.out.
4008# It will help us diagnose broken compilers, and finding out an intuition3781# It will help us diagnose broken compilers, and finding out an intuition
4009# of exeext.3782# of exeext.
4010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&53783{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4011$as_echo_n "checking whether the C compiler works... " >&6; }3784$as_echo_n "checking for C compiler default output file name... " >&6; }
4012ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`3785ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
40133786
4014# The possible output files:3787# The possible output files:
@@ -4024,17 +3797,17 @@
4024done3797done
4025rm -f $ac_rmfiles3798rm -f $ac_rmfiles
40263799
4027if { { ac_try="$ac_link_default"3800if { (ac_try="$ac_link_default"
4028case "(($ac_try" in3801case "(($ac_try" in
4029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4030 *) ac_try_echo=$ac_try;;3803 *) ac_try_echo=$ac_try;;
4031esac3804esac
4032eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""3805eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4033$as_echo "$ac_try_echo"; } >&53806$as_echo "$ac_try_echo") >&5
4034 (eval "$ac_link_default") 2>&53807 (eval "$ac_link_default") 2>&5
4035 ac_status=$?3808 ac_status=$?
4036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 test $ac_status = 0; }; then :3810 (exit $ac_status); }; then
4038 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.3811 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4039# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'3812# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4040# in a Makefile. We should not override ac_cv_exeext if it was cached,3813# in a Makefile. We should not override ac_cv_exeext if it was cached,
@@ -4051,7 +3824,7 @@
4051 # certainly right.3824 # certainly right.
4052 break;;3825 break;;
4053 *.* )3826 *.* )
4054 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;3827 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4055 then :; else3828 then :; else
4056 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`3829 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4057 fi3830 fi
@@ -4070,42 +3843,84 @@
4070else3843else
4071 ac_file=''3844 ac_file=''
4072fi3845fi
4073if test -z "$ac_file"; then :
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4075$as_echo "no" >&6; }
4076$as_echo "$as_me: failed program was:" >&5
4077sed 's/^/| /' conftest.$ac_ext >&5
40783846
4079{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53847{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
4080$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4081{ as_fn_set_status 77
4082as_fn_error "C compiler cannot create executables
4083See \`config.log' for more details." "$LINENO" 5; }; }
4084else
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4086$as_echo "yes" >&6; }
4087fi
4088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4089$as_echo_n "checking for C compiler default output file name... " >&6; }
4090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4091$as_echo "$ac_file" >&6; }3848$as_echo "$ac_file" >&6; }
3849if test -z "$ac_file"; then
3850 $as_echo "$as_me: failed program was:" >&5
3851sed 's/^/| /' conftest.$ac_ext >&5
3852
3853{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3854$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3855{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3856See \`config.log' for more details." >&5
3857$as_echo "$as_me: error: C compiler cannot create executables
3858See \`config.log' for more details." >&2;}
3859 { (exit 77); exit 77; }; }; }
3860fi
3861
4092ac_exeext=$ac_cv_exeext3862ac_exeext=$ac_cv_exeext
40933863
3864# Check that the compiler produces executables we can run. If not, either
3865# the compiler is broken, or we cross compile.
3866{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3867$as_echo_n "checking whether the C compiler works... " >&6; }
3868# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3869# If not cross compiling, check that we can run a simple program.
3870if test "$cross_compiling" != yes; then
3871 if { ac_try='./$ac_file'
3872 { (case "(($ac_try" in
3873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874 *) ac_try_echo=$ac_try;;
3875esac
3876eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3877$as_echo "$ac_try_echo") >&5
3878 (eval "$ac_try") 2>&5
3879 ac_status=$?
3880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); }; }; then
3882 cross_compiling=no
3883 else
3884 if test "$cross_compiling" = maybe; then
3885 cross_compiling=yes
3886 else
3887 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3888$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3889{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3890If you meant to cross compile, use \`--host'.
3891See \`config.log' for more details." >&5
3892$as_echo "$as_me: error: cannot run C compiled programs.
3893If you meant to cross compile, use \`--host'.
3894See \`config.log' for more details." >&2;}
3895 { (exit 1); exit 1; }; }; }
3896 fi
3897 fi
3898fi
3899{ $as_echo "$as_me:$LINENO: result: yes" >&5
3900$as_echo "yes" >&6; }
3901
4094rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out3902rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4095ac_clean_files=$ac_clean_files_save3903ac_clean_files=$ac_clean_files_save
4096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&53904# Check that the compiler produces executables we can run. If not, either
3905# the compiler is broken, or we cross compile.
3906{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3907$as_echo_n "checking whether we are cross compiling... " >&6; }
3908{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3909$as_echo "$cross_compiling" >&6; }
3910
3911{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
4097$as_echo_n "checking for suffix of executables... " >&6; }3912$as_echo_n "checking for suffix of executables... " >&6; }
4098if { { ac_try="$ac_link"3913if { (ac_try="$ac_link"
4099case "(($ac_try" in3914case "(($ac_try" in
4100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4101 *) ac_try_echo=$ac_try;;3916 *) ac_try_echo=$ac_try;;
4102esac3917esac
4103eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""3918eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4104$as_echo "$ac_try_echo"; } >&53919$as_echo "$ac_try_echo") >&5
4105 (eval "$ac_link") 2>&53920 (eval "$ac_link") 2>&5
4106 ac_status=$?3921 ac_status=$?
4107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108 test $ac_status = 0; }; then :3923 (exit $ac_status); }; then
4109 # If both `conftest.exe' and `conftest' are `present' (well, observable)3924 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4110# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will3925# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4111# work properly (i.e., refer to `conftest.exe'), while it won't with3926# work properly (i.e., refer to `conftest.exe'), while it won't with
@@ -4120,83 +3935,32 @@
4120 esac3935 esac
4121done3936done
4122else3937else
4123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53938 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4124$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3939$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4125as_fn_error "cannot compute suffix of executables: cannot compile and link3940{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4126See \`config.log' for more details." "$LINENO" 5; }3941See \`config.log' for more details." >&5
3942$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3943See \`config.log' for more details." >&2;}
3944 { (exit 1); exit 1; }; }; }
4127fi3945fi
4128rm -f conftest conftest$ac_cv_exeext3946
4129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&53947rm -f conftest$ac_cv_exeext
3948{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4130$as_echo "$ac_cv_exeext" >&6; }3949$as_echo "$ac_cv_exeext" >&6; }
41313950
4132rm -f conftest.$ac_ext3951rm -f conftest.$ac_ext
4133EXEEXT=$ac_cv_exeext3952EXEEXT=$ac_cv_exeext
4134ac_exeext=$EXEEXT3953ac_exeext=$EXEEXT
4135cat confdefs.h - <<_ACEOF >conftest.$ac_ext3954{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
4136/* end confdefs.h. */
4137#include <stdio.h>
4138int
4139main ()
4140{
4141FILE *f = fopen ("conftest.out", "w");
4142 return ferror (f) || fclose (f) != 0;
4143
4144 ;
4145 return 0;
4146}
4147_ACEOF
4148ac_clean_files="$ac_clean_files conftest.out"
4149# Check that the compiler produces executables we can run. If not, either
4150# the compiler is broken, or we cross compile.
4151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4152$as_echo_n "checking whether we are cross compiling... " >&6; }
4153if test "$cross_compiling" != yes; then
4154 { { ac_try="$ac_link"
4155case "(($ac_try" in
4156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4157 *) ac_try_echo=$ac_try;;
4158esac
4159eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4160$as_echo "$ac_try_echo"; } >&5
4161 (eval "$ac_link") 2>&5
4162 ac_status=$?
4163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4164 test $ac_status = 0; }
4165 if { ac_try='./conftest$ac_cv_exeext'
4166 { { case "(($ac_try" in
4167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4168 *) ac_try_echo=$ac_try;;
4169esac
4170eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4171$as_echo "$ac_try_echo"; } >&5
4172 (eval "$ac_try") 2>&5
4173 ac_status=$?
4174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4175 test $ac_status = 0; }; }; then
4176 cross_compiling=no
4177 else
4178 if test "$cross_compiling" = maybe; then
4179 cross_compiling=yes
4180 else
4181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4182$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4183as_fn_error "cannot run C compiled programs.
4184If you meant to cross compile, use \`--host'.
4185See \`config.log' for more details." "$LINENO" 5; }
4186 fi
4187 fi
4188fi
4189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4190$as_echo "$cross_compiling" >&6; }
4191
4192rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4193ac_clean_files=$ac_clean_files_save
4194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4195$as_echo_n "checking for suffix of object files... " >&6; }3955$as_echo_n "checking for suffix of object files... " >&6; }
4196if test "${ac_cv_objext+set}" = set; then :3956if test "${ac_cv_objext+set}" = set; then
4197 $as_echo_n "(cached) " >&63957 $as_echo_n "(cached) " >&6
4198else3958else
4199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext3959 cat >conftest.$ac_ext <<_ACEOF
3960/* confdefs.h. */
3961_ACEOF
3962cat confdefs.h >>conftest.$ac_ext
3963cat >>conftest.$ac_ext <<_ACEOF
4200/* end confdefs.h. */3964/* end confdefs.h. */
42013965
4202int3966int
@@ -4208,17 +3972,17 @@
4208}3972}
4209_ACEOF3973_ACEOF
4210rm -f conftest.o conftest.obj3974rm -f conftest.o conftest.obj
4211if { { ac_try="$ac_compile"3975if { (ac_try="$ac_compile"
4212case "(($ac_try" in3976case "(($ac_try" in
4213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;3977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4214 *) ac_try_echo=$ac_try;;3978 *) ac_try_echo=$ac_try;;
4215esac3979esac
4216eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""3980eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4217$as_echo "$ac_try_echo"; } >&53981$as_echo "$ac_try_echo") >&5
4218 (eval "$ac_compile") 2>&53982 (eval "$ac_compile") 2>&5
4219 ac_status=$?3983 ac_status=$?
4220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&53984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221 test $ac_status = 0; }; then :3985 (exit $ac_status); }; then
4222 for ac_file in conftest.o conftest.obj conftest.*; do3986 for ac_file in conftest.o conftest.obj conftest.*; do
4223 test -f "$ac_file" || continue;3987 test -f "$ac_file" || continue;
4224 case $ac_file in3988 case $ac_file in
@@ -4231,23 +3995,31 @@
4231 $as_echo "$as_me: failed program was:" >&53995 $as_echo "$as_me: failed program was:" >&5
4232sed 's/^/| /' conftest.$ac_ext >&53996sed 's/^/| /' conftest.$ac_ext >&5
42333997
4234{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&53998{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4235$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}3999$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4236as_fn_error "cannot compute suffix of object files: cannot compile4000{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
4237See \`config.log' for more details." "$LINENO" 5; }4001See \`config.log' for more details." >&5
4002$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
4003See \`config.log' for more details." >&2;}
4004 { (exit 1); exit 1; }; }; }
4238fi4005fi
4006
4239rm -f conftest.$ac_cv_objext conftest.$ac_ext4007rm -f conftest.$ac_cv_objext conftest.$ac_ext
4240fi4008fi
4241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&54009{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4242$as_echo "$ac_cv_objext" >&6; }4010$as_echo "$ac_cv_objext" >&6; }
4243OBJEXT=$ac_cv_objext4011OBJEXT=$ac_cv_objext
4244ac_objext=$OBJEXT4012ac_objext=$OBJEXT
4245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&54013{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4246$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }4014$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4247if test "${ac_cv_c_compiler_gnu+set}" = set; then :4015if test "${ac_cv_c_compiler_gnu+set}" = set; then
4248 $as_echo_n "(cached) " >&64016 $as_echo_n "(cached) " >&6
4249else4017else
4250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext4018 cat >conftest.$ac_ext <<_ACEOF
4019/* confdefs.h. */
4020_ACEOF
4021cat confdefs.h >>conftest.$ac_ext
4022cat >>conftest.$ac_ext <<_ACEOF
4251/* end confdefs.h. */4023/* end confdefs.h. */
42524024
4253int4025int
@@ -4261,16 +4033,37 @@
4261 return 0;4033 return 0;
4262}4034}
4263_ACEOF4035_ACEOF
4264if ac_fn_c_try_compile "$LINENO"; then :4036rm -f conftest.$ac_objext
4037if { (ac_try="$ac_compile"
4038case "(($ac_try" in
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4041esac
4042eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4043$as_echo "$ac_try_echo") >&5
4044 (eval "$ac_compile") 2>conftest.er1
4045 ac_status=$?
4046 grep -v '^ *+' conftest.er1 >conftest.err
4047 rm -f conftest.er1
4048 cat conftest.err >&5
4049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); } && {
4051 test -z "$ac_c_werror_flag" ||
4052 test ! -s conftest.err
4053 } && test -s conftest.$ac_objext; then
4265 ac_compiler_gnu=yes4054 ac_compiler_gnu=yes
4266else4055else
4267 ac_compiler_gnu=no4056 $as_echo "$as_me: failed program was:" >&5
4057sed 's/^/| /' conftest.$ac_ext >&5
4058
4059 ac_compiler_gnu=no
4268fi4060fi
4061
4269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4062rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4270ac_cv_c_compiler_gnu=$ac_compiler_gnu4063ac_cv_c_compiler_gnu=$ac_compiler_gnu
42714064
4272fi4065fi
4273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&54066{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4274$as_echo "$ac_cv_c_compiler_gnu" >&6; }4067$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4275if test $ac_compiler_gnu = yes; then4068if test $ac_compiler_gnu = yes; then
4276 GCC=yes4069 GCC=yes
@@ -4279,16 +4072,20 @@
4279fi4072fi
4280ac_test_CFLAGS=${CFLAGS+set}4073ac_test_CFLAGS=${CFLAGS+set}
4281ac_save_CFLAGS=$CFLAGS4074ac_save_CFLAGS=$CFLAGS
4282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&54075{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4283$as_echo_n "checking whether $CC accepts -g... " >&6; }4076$as_echo_n "checking whether $CC accepts -g... " >&6; }
4284if test "${ac_cv_prog_cc_g+set}" = set; then :4077if test "${ac_cv_prog_cc_g+set}" = set; then
4285 $as_echo_n "(cached) " >&64078 $as_echo_n "(cached) " >&6
4286else4079else
4287 ac_save_c_werror_flag=$ac_c_werror_flag4080 ac_save_c_werror_flag=$ac_c_werror_flag
4288 ac_c_werror_flag=yes4081 ac_c_werror_flag=yes
4289 ac_cv_prog_cc_g=no4082 ac_cv_prog_cc_g=no
4290 CFLAGS="-g"4083 CFLAGS="-g"
4291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext4084 cat >conftest.$ac_ext <<_ACEOF
4085/* confdefs.h. */
4086_ACEOF
4087cat confdefs.h >>conftest.$ac_ext
4088cat >>conftest.$ac_ext <<_ACEOF
4292/* end confdefs.h. */4089/* end confdefs.h. */
42934090
4294int4091int
@@ -4299,11 +4096,35 @@
4299 return 0;4096 return 0;
4300}4097}
4301_ACEOF4098_ACEOF
4302if ac_fn_c_try_compile "$LINENO"; then :4099rm -f conftest.$ac_objext
4100if { (ac_try="$ac_compile"
4101case "(($ac_try" in
4102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4104esac
4105eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4106$as_echo "$ac_try_echo") >&5
4107 (eval "$ac_compile") 2>conftest.er1
4108 ac_status=$?
4109 grep -v '^ *+' conftest.er1 >conftest.err
4110 rm -f conftest.er1
4111 cat conftest.err >&5
4112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4113 (exit $ac_status); } && {
4114 test -z "$ac_c_werror_flag" ||
4115 test ! -s conftest.err
4116 } && test -s conftest.$ac_objext; then
4303 ac_cv_prog_cc_g=yes4117 ac_cv_prog_cc_g=yes
4304else4118else
4305 CFLAGS=""4119 $as_echo "$as_me: failed program was:" >&5
4306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext4120sed 's/^/| /' conftest.$ac_ext >&5
4121
4122 CFLAGS=""
4123 cat >conftest.$ac_ext <<_ACEOF
4124/* confdefs.h. */
4125_ACEOF
4126cat confdefs.h >>conftest.$ac_ext
4127cat >>conftest.$ac_ext <<_ACEOF
4307/* end confdefs.h. */4128/* end confdefs.h. */
43084129
4309int4130int
@@ -4314,12 +4135,36 @@
4314 return 0;4135 return 0;
4315}4136}
4316_ACEOF4137_ACEOF
4317if ac_fn_c_try_compile "$LINENO"; then :4138rm -f conftest.$ac_objext
4139if { (ac_try="$ac_compile"
4140case "(($ac_try" in
4141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4142 *) ac_try_echo=$ac_try;;
4143esac
4144eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4145$as_echo "$ac_try_echo") >&5
4146 (eval "$ac_compile") 2>conftest.er1
4147 ac_status=$?
4148 grep -v '^ *+' conftest.er1 >conftest.err
4149 rm -f conftest.er1
4150 cat conftest.err >&5
4151 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4152 (exit $ac_status); } && {
4153 test -z "$ac_c_werror_flag" ||
4154 test ! -s conftest.err
4155 } && test -s conftest.$ac_objext; then
4156 :
4157else
4158 $as_echo "$as_me: failed program was:" >&5
4159sed 's/^/| /' conftest.$ac_ext >&5
43184160
4319else4161 ac_c_werror_flag=$ac_save_c_werror_flag
4320 ac_c_werror_flag=$ac_save_c_werror_flag
4321 CFLAGS="-g"4162 CFLAGS="-g"
4322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext4163 cat >conftest.$ac_ext <<_ACEOF
4164/* confdefs.h. */
4165_ACEOF
4166cat confdefs.h >>conftest.$ac_ext
4167cat >>conftest.$ac_ext <<_ACEOF
4323/* end confdefs.h. */4168/* end confdefs.h. */
43244169
4325int4170int
@@ -4330,17 +4175,42 @@
4330 return 0;4175 return 0;
4331}4176}
4332_ACEOF4177_ACEOF
4333if ac_fn_c_try_compile "$LINENO"; then :4178rm -f conftest.$ac_objext
4179if { (ac_try="$ac_compile"
4180case "(($ac_try" in
4181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4182 *) ac_try_echo=$ac_try;;
4183esac
4184eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4185$as_echo "$ac_try_echo") >&5
4186 (eval "$ac_compile") 2>conftest.er1
4187 ac_status=$?
4188 grep -v '^ *+' conftest.er1 >conftest.err
4189 rm -f conftest.er1
4190 cat conftest.err >&5
4191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); } && {
4193 test -z "$ac_c_werror_flag" ||
4194 test ! -s conftest.err
4195 } && test -s conftest.$ac_objext; then
4334 ac_cv_prog_cc_g=yes4196 ac_cv_prog_cc_g=yes
4335fi4197else
4336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4198 $as_echo "$as_me: failed program was:" >&5
4337fi4199sed 's/^/| /' conftest.$ac_ext >&5
4338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4200
4339fi4201
4202fi
4203
4204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4205fi
4206
4207rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208fi
4209
4340rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext4210rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4341 ac_c_werror_flag=$ac_save_c_werror_flag4211 ac_c_werror_flag=$ac_save_c_werror_flag
4342fi4212fi
4343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&54213{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4344$as_echo "$ac_cv_prog_cc_g" >&6; }4214$as_echo "$ac_cv_prog_cc_g" >&6; }
4345if test "$ac_test_CFLAGS" = set; then4215if test "$ac_test_CFLAGS" = set; then
4346 CFLAGS=$ac_save_CFLAGS4216 CFLAGS=$ac_save_CFLAGS
@@ -4357,14 +4227,18 @@
4357 CFLAGS=4227 CFLAGS=
4358 fi4228 fi
4359fi4229fi
4360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&54230{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4361$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }4231$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4362if test "${ac_cv_prog_cc_c89+set}" = set; then :4232if test "${ac_cv_prog_cc_c89+set}" = set; then
4363 $as_echo_n "(cached) " >&64233 $as_echo_n "(cached) " >&6
4364else4234else
4365 ac_cv_prog_cc_c89=no4235 ac_cv_prog_cc_c89=no
4366ac_save_CC=$CC4236ac_save_CC=$CC
4367cat confdefs.h - <<_ACEOF >conftest.$ac_ext4237cat >conftest.$ac_ext <<_ACEOF
4238/* confdefs.h. */
4239_ACEOF
4240cat confdefs.h >>conftest.$ac_ext
4241cat >>conftest.$ac_ext <<_ACEOF
4368/* end confdefs.h. */4242/* end confdefs.h. */
4369#include <stdarg.h>4243#include <stdarg.h>
4370#include <stdio.h>4244#include <stdio.h>
@@ -4421,9 +4295,32 @@
4421 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"4295 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4422do4296do
4423 CC="$ac_save_CC $ac_arg"4297 CC="$ac_save_CC $ac_arg"
4424 if ac_fn_c_try_compile "$LINENO"; then :4298 rm -f conftest.$ac_objext
4299if { (ac_try="$ac_compile"
4300case "(($ac_try" in
4301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4302 *) ac_try_echo=$ac_try;;
4303esac
4304eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4305$as_echo "$ac_try_echo") >&5
4306 (eval "$ac_compile") 2>conftest.er1
4307 ac_status=$?
4308 grep -v '^ *+' conftest.er1 >conftest.err
4309 rm -f conftest.er1
4310 cat conftest.err >&5
4311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); } && {
4313 test -z "$ac_c_werror_flag" ||
4314 test ! -s conftest.err
4315 } && test -s conftest.$ac_objext; then
4425 ac_cv_prog_cc_c89=$ac_arg4316 ac_cv_prog_cc_c89=$ac_arg
4317else
4318 $as_echo "$as_me: failed program was:" >&5
4319sed 's/^/| /' conftest.$ac_ext >&5
4320
4321
4426fi4322fi
4323
4427rm -f core conftest.err conftest.$ac_objext4324rm -f core conftest.err conftest.$ac_objext
4428 test "x$ac_cv_prog_cc_c89" != "xno" && break4325 test "x$ac_cv_prog_cc_c89" != "xno" && break
4429done4326done
@@ -4434,19 +4331,17 @@
4434# AC_CACHE_VAL4331# AC_CACHE_VAL
4435case "x$ac_cv_prog_cc_c89" in4332case "x$ac_cv_prog_cc_c89" in
4436 x)4333 x)
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&54334 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4438$as_echo "none needed" >&6; } ;;4335$as_echo "none needed" >&6; } ;;
4439 xno)4336 xno)
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&54337 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4441$as_echo "unsupported" >&6; } ;;4338$as_echo "unsupported" >&6; } ;;
4442 *)4339 *)
4443 CC="$CC $ac_cv_prog_cc_c89"4340 CC="$CC $ac_cv_prog_cc_c89"
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&54341 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4445$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;4342$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4446esac4343esac
4447if test "x$ac_cv_prog_cc_c89" != xno; then :
44484344
4449fi
44504345
4451ac_ext=c4346ac_ext=c
4452ac_cpp='$CPP $CPPFLAGS'4347ac_cpp='$CPP $CPPFLAGS'
@@ -4456,9 +4351,9 @@
44564351
4457depcc="$CC" am_compiler_list=4352depcc="$CC" am_compiler_list=
44584353
4459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&54354{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4460$as_echo_n "checking dependency style of $depcc... " >&6; }4355$as_echo_n "checking dependency style of $depcc... " >&6; }
4461if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :4356if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4462 $as_echo_n "(cached) " >&64357 $as_echo_n "(cached) " >&6
4463else4358else
4464 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then4359 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
@@ -4566,7 +4461,7 @@
4566fi4461fi
45674462
4568fi4463fi
4569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&54464{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4570$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }4465$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4571CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type4466CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
45724467
@@ -4581,9 +4476,9 @@
4581fi4476fi
45824477
45834478
4584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&54479{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4585$as_echo_n "checking for a sed that does not truncate output... " >&6; }4480$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4586if test "${ac_cv_path_SED+set}" = set; then :4481if test "${ac_cv_path_SED+set}" = set; then
4587 $as_echo_n "(cached) " >&64482 $as_echo_n "(cached) " >&6
4588else4483else
4589 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/4484 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
@@ -4591,7 +4486,7 @@
4591 ac_script="$ac_script$as_nl$ac_script"4486 ac_script="$ac_script$as_nl$ac_script"
4592 done4487 done
4593 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed4488 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4594 { ac_script=; unset ac_script;}4489 $as_unset ac_script || ac_script=
4595 if test -z "$SED"; then4490 if test -z "$SED"; then
4596 ac_path_SED_found=false4491 ac_path_SED_found=false
4597 # Loop through the user's path and test for each of PROGNAME-LIST4492 # Loop through the user's path and test for each of PROGNAME-LIST
@@ -4600,7 +4495,7 @@
4600do4495do
4601 IFS=$as_save_IFS4496 IFS=$as_save_IFS
4602 test -z "$as_dir" && as_dir=.4497 test -z "$as_dir" && as_dir=.
4603 for ac_prog in sed gsed; do4498 for ac_prog in sed gsed; do
4604 for ac_exec_ext in '' $ac_executable_extensions; do4499 for ac_exec_ext in '' $ac_executable_extensions; do
4605 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"4500 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4606 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue4501 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
@@ -4620,7 +4515,7 @@
4620 $as_echo '' >> "conftest.nl"4515 $as_echo '' >> "conftest.nl"
4621 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break4516 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4622 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break4517 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4623 as_fn_arith $ac_count + 1 && ac_count=$as_val4518 ac_count=`expr $ac_count + 1`
4624 if test $ac_count -gt ${ac_path_SED_max-0}; then4519 if test $ac_count -gt ${ac_path_SED_max-0}; then
4625 # Best one so far, save it but keep looking for a better one4520 # Best one so far, save it but keep looking for a better one
4626 ac_cv_path_SED="$ac_path_SED"4521 ac_cv_path_SED="$ac_path_SED"
@@ -4635,17 +4530,19 @@
4635 $ac_path_SED_found && break 34530 $ac_path_SED_found && break 3
4636 done4531 done
4637 done4532 done
4638 done4533done
4639IFS=$as_save_IFS4534IFS=$as_save_IFS
4640 if test -z "$ac_cv_path_SED"; then4535 if test -z "$ac_cv_path_SED"; then
4641 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 54536 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4537$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4538 { (exit 1); exit 1; }; }
4642 fi4539 fi
4643else4540else
4644 ac_cv_path_SED=$SED4541 ac_cv_path_SED=$SED
4645fi4542fi
46464543
4647fi4544fi
4648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&54545{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4649$as_echo "$ac_cv_path_SED" >&6; }4546$as_echo "$ac_cv_path_SED" >&6; }
4650 SED="$ac_cv_path_SED"4547 SED="$ac_cv_path_SED"
4651 rm -f conftest.sed4548 rm -f conftest.sed
@@ -4663,9 +4560,9 @@
46634560
46644561
46654562
4666{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&54563{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4667$as_echo_n "checking for grep that handles long lines and -e... " >&6; }4564$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4668if test "${ac_cv_path_GREP+set}" = set; then :4565if test "${ac_cv_path_GREP+set}" = set; then
4669 $as_echo_n "(cached) " >&64566 $as_echo_n "(cached) " >&6
4670else4567else
4671 if test -z "$GREP"; then4568 if test -z "$GREP"; then
@@ -4676,7 +4573,7 @@
4676do4573do
4677 IFS=$as_save_IFS4574 IFS=$as_save_IFS
4678 test -z "$as_dir" && as_dir=.4575 test -z "$as_dir" && as_dir=.
4679 for ac_prog in grep ggrep; do4576 for ac_prog in grep ggrep; do
4680 for ac_exec_ext in '' $ac_executable_extensions; do4577 for ac_exec_ext in '' $ac_executable_extensions; do
4681 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"4578 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4682 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue4579 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
@@ -4696,7 +4593,7 @@
4696 $as_echo 'GREP' >> "conftest.nl"4593 $as_echo 'GREP' >> "conftest.nl"
4697 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break4594 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4698 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break4595 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4699 as_fn_arith $ac_count + 1 && ac_count=$as_val4596 ac_count=`expr $ac_count + 1`
4700 if test $ac_count -gt ${ac_path_GREP_max-0}; then4597 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4701 # Best one so far, save it but keep looking for a better one4598 # Best one so far, save it but keep looking for a better one
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: