Merge lp:ubuntu/quantal-security/clamav into lp:ubuntu/quantal/clamav
- Quantal (12.10)
- quantal-security
- Merge into quantal
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 | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dmitry Shachnev | Disapprove | ||
Ubuntu branches | Pending | ||
Review via email: mp+156911@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
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
1 | === modified file 'ChangeLog' | |||
2 | --- ChangeLog 2012-10-08 12:29:39 +0000 | |||
3 | +++ ChangeLog 2013-04-03 16:48:24 +0000 | |||
4 | @@ -1,3 +1,8 @@ | |||
5 | 1 | Wed Feb 20 10:05:00 EDT 2012 (multiple) | ||
6 | 2 | --------------------------------- | ||
7 | 3 | * Bug reported by Felix Groebert, Mateusz Jurczyk and Gynvael Coldwind of the | ||
8 | 4 | Google Security Team. | ||
9 | 5 | |||
10 | 1 | Mon Sep 6 12:32:00 EDT 2012 (dar) | 6 | Mon Sep 6 12:32:00 EDT 2012 (dar) |
11 | 2 | --------------------------------- | 7 | --------------------------------- |
12 | 3 | * libclamav: bb#5751 - cl_scansis() may returan a file descriptor instead | 8 | * libclamav: bb#5751 - cl_scansis() may returan a file descriptor instead |
13 | 4 | 9 | ||
14 | === modified file 'Makefile.in' | |||
15 | --- Makefile.in 2012-06-19 21:39:28 +0000 | |||
16 | +++ Makefile.in 2013-04-03 16:48:24 +0000 | |||
17 | @@ -270,7 +270,6 @@ | |||
18 | 270 | PACKAGE_NAME = @PACKAGE_NAME@ | 270 | PACKAGE_NAME = @PACKAGE_NAME@ |
19 | 271 | PACKAGE_STRING = @PACKAGE_STRING@ | 271 | PACKAGE_STRING = @PACKAGE_STRING@ |
20 | 272 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | 272 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
21 | 273 | PACKAGE_URL = @PACKAGE_URL@ | ||
22 | 274 | PACKAGE_VERSION = @PACKAGE_VERSION@ | 273 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
23 | 275 | PATH_SEPARATOR = @PATH_SEPARATOR@ | 274 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
24 | 276 | RANLIB = @RANLIB@ | 275 | RANLIB = @RANLIB@ |
25 | 277 | 276 | ||
26 | === added file 'Makefile.in.orig' | |||
27 | --- Makefile.in.orig 1970-01-01 00:00:00 +0000 | |||
28 | +++ Makefile.in.orig 2013-04-03 16:48:24 +0000 | |||
29 | @@ -0,0 +1,968 @@ | |||
30 | 1 | # Makefile.in generated by automake 1.11.1 from Makefile.am. | ||
31 | 2 | # @configure_input@ | ||
32 | 3 | |||
33 | 4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | ||
34 | 5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | ||
35 | 6 | # Inc. | ||
36 | 7 | # This Makefile.in is free software; the Free Software Foundation | ||
37 | 8 | # gives unlimited permission to copy and/or distribute it, | ||
38 | 9 | # with or without modifications, as long as this notice is preserved. | ||
39 | 10 | |||
40 | 11 | # This program is distributed in the hope that it will be useful, | ||
41 | 12 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | ||
42 | 13 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | ||
43 | 14 | # PARTICULAR PURPOSE. | ||
44 | 15 | |||
45 | 16 | @SET_MAKE@ | ||
46 | 17 | |||
47 | 18 | # | ||
48 | 19 | # Copyright (C) 2002 - 2004 Tomasz Kojm <tkojm@clamav.net> | ||
49 | 20 | # | ||
50 | 21 | # This program is free software; you can redistribute it and/or modify | ||
51 | 22 | # it under the terms of the GNU General Public License as published by | ||
52 | 23 | # the Free Software Foundation; either version 2 of the License, or | ||
53 | 24 | # (at your option) any later version. | ||
54 | 25 | # | ||
55 | 26 | # This program is distributed in the hope that it will be useful, | ||
56 | 27 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
57 | 28 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
58 | 29 | # GNU General Public License for more details. | ||
59 | 30 | # | ||
60 | 31 | # You should have received a copy of the GNU General Public License | ||
61 | 32 | # along with this program; if not, write to the Free Software | ||
62 | 33 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, | ||
63 | 34 | # MA 02110-1301, USA. | ||
64 | 35 | |||
65 | 36 | |||
66 | 37 | VPATH = @srcdir@ | ||
67 | 38 | pkgdatadir = $(datadir)/@PACKAGE@ | ||
68 | 39 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
69 | 40 | pkglibdir = $(libdir)/@PACKAGE@ | ||
70 | 41 | pkglibexecdir = $(libexecdir)/@PACKAGE@ | ||
71 | 42 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | ||
72 | 43 | install_sh_DATA = $(install_sh) -c -m 644 | ||
73 | 44 | install_sh_PROGRAM = $(install_sh) -c | ||
74 | 45 | install_sh_SCRIPT = $(install_sh) -c | ||
75 | 46 | INSTALL_HEADER = $(INSTALL_DATA) | ||
76 | 47 | transform = $(program_transform_name) | ||
77 | 48 | NORMAL_INSTALL = : | ||
78 | 49 | PRE_INSTALL = : | ||
79 | 50 | POST_INSTALL = : | ||
80 | 51 | NORMAL_UNINSTALL = : | ||
81 | 52 | PRE_UNINSTALL = : | ||
82 | 53 | POST_UNINSTALL = : | ||
83 | 54 | build_triplet = @build@ | ||
84 | 55 | host_triplet = @host@ | ||
85 | 56 | target_triplet = @target@ | ||
86 | 57 | subdir = . | ||
87 | 58 | DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ | ||
88 | 59 | $(srcdir)/Makefile.in $(srcdir)/clamav-config.h.in \ | ||
89 | 60 | $(srcdir)/clamav-config.in $(srcdir)/libclamav.pc.in \ | ||
90 | 61 | $(srcdir)/platform.h.in $(top_srcdir)/configure \ | ||
91 | 62 | $(top_srcdir)/docs/man/clamav-milter.8.in \ | ||
92 | 63 | $(top_srcdir)/docs/man/clamav-milter.conf.5.in \ | ||
93 | 64 | $(top_srcdir)/docs/man/clambc.1.in \ | ||
94 | 65 | $(top_srcdir)/docs/man/clamconf.1.in \ | ||
95 | 66 | $(top_srcdir)/docs/man/clamd.8.in \ | ||
96 | 67 | $(top_srcdir)/docs/man/clamd.conf.5.in \ | ||
97 | 68 | $(top_srcdir)/docs/man/clamdscan.1.in \ | ||
98 | 69 | $(top_srcdir)/docs/man/clamdtop.1.in \ | ||
99 | 70 | $(top_srcdir)/docs/man/clamscan.1.in \ | ||
100 | 71 | $(top_srcdir)/docs/man/freshclam.1.in \ | ||
101 | 72 | $(top_srcdir)/docs/man/freshclam.conf.5.in \ | ||
102 | 73 | $(top_srcdir)/docs/man/sigtool.1.in AUTHORS COPYING ChangeLog \ | ||
103 | 74 | INSTALL NEWS config/config.guess config/config.rpath \ | ||
104 | 75 | config/config.sub config/depcomp config/install-sh \ | ||
105 | 76 | config/ltmain.sh config/missing | ||
106 | 77 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | ||
107 | 78 | am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \ | ||
108 | 79 | $(top_srcdir)/m4/argz.m4 \ | ||
109 | 80 | $(top_srcdir)/m4/ax_check_uname_syscall.m4 \ | ||
110 | 81 | $(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \ | ||
111 | 82 | $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ | ||
112 | 83 | $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \ | ||
113 | 84 | $(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \ | ||
114 | 85 | $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ | ||
115 | 86 | $(top_srcdir)/m4/lt~obsolete.m4 \ | ||
116 | 87 | $(top_srcdir)/m4/mmap_private.m4 $(top_srcdir)/m4/resolv.m4 \ | ||
117 | 88 | $(top_srcdir)/configure.in | ||
118 | 89 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ | ||
119 | 90 | $(ACLOCAL_M4) | ||
120 | 91 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ | ||
121 | 92 | configure.lineno config.status.lineno | ||
122 | 93 | mkinstalldirs = $(install_sh) -d | ||
123 | 94 | CONFIG_HEADER = clamav-config.h | ||
124 | 95 | CONFIG_CLEAN_FILES = clamav-config libclamav.pc platform.h \ | ||
125 | 96 | docs/man/clamav-milter.8 docs/man/clamav-milter.conf.5 \ | ||
126 | 97 | docs/man/clambc.1 docs/man/clamconf.1 docs/man/clamd.8 \ | ||
127 | 98 | docs/man/clamd.conf.5 docs/man/clamdscan.1 docs/man/clamscan.1 \ | ||
128 | 99 | docs/man/freshclam.1 docs/man/freshclam.conf.5 \ | ||
129 | 100 | docs/man/sigtool.1 docs/man/clamdtop.1 | ||
130 | 101 | CONFIG_CLEAN_VPATH_FILES = | ||
131 | 102 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; | ||
132 | 103 | am__vpath_adj = case $$p in \ | ||
133 | 104 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ | ||
134 | 105 | *) f=$$p;; \ | ||
135 | 106 | esac; | ||
136 | 107 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; | ||
137 | 108 | am__install_max = 40 | ||
138 | 109 | am__nobase_strip_setup = \ | ||
139 | 110 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` | ||
140 | 111 | am__nobase_strip = \ | ||
141 | 112 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" | ||
142 | 113 | am__nobase_list = $(am__nobase_strip_setup); \ | ||
143 | 114 | for p in $$list; do echo "$$p $$p"; done | \ | ||
144 | 115 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ | ||
145 | 116 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ | ||
146 | 117 | if (++n[$$2] == $(am__install_max)) \ | ||
147 | 118 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ | ||
148 | 119 | END { for (dir in files) print dir, files[dir] }' | ||
149 | 120 | am__base_list = \ | ||
150 | 121 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ | ||
151 | 122 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | ||
152 | 123 | am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)" | ||
153 | 124 | SCRIPTS = $(bin_SCRIPTS) | ||
154 | 125 | AM_V_GEN = $(am__v_GEN_$(V)) | ||
155 | 126 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) | ||
156 | 127 | am__v_GEN_0 = @echo " GEN " $@; | ||
157 | 128 | AM_V_at = $(am__v_at_$(V)) | ||
158 | 129 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) | ||
159 | 130 | am__v_at_0 = @ | ||
160 | 131 | SOURCES = | ||
161 | 132 | DIST_SOURCES = | ||
162 | 133 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | ||
163 | 134 | html-recursive info-recursive install-data-recursive \ | ||
164 | 135 | install-dvi-recursive install-exec-recursive \ | ||
165 | 136 | install-html-recursive install-info-recursive \ | ||
166 | 137 | install-pdf-recursive install-ps-recursive install-recursive \ | ||
167 | 138 | installcheck-recursive installdirs-recursive pdf-recursive \ | ||
168 | 139 | ps-recursive uninstall-recursive | ||
169 | 140 | DATA = $(pkgconfig_DATA) | ||
170 | 141 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ | ||
171 | 142 | distclean-recursive maintainer-clean-recursive | ||
172 | 143 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ | ||
173 | 144 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ | ||
174 | 145 | distdir dist dist-all distcheck | ||
175 | 146 | ETAGS = etags | ||
176 | 147 | CTAGS = ctags | ||
177 | 148 | DIST_SUBDIRS = $(SUBDIRS) | ||
178 | 149 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) | ||
179 | 150 | distdir = $(PACKAGE)-$(VERSION) | ||
180 | 151 | top_distdir = $(distdir) | ||
181 | 152 | am__remove_distdir = \ | ||
182 | 153 | { test ! -d "$(distdir)" \ | ||
183 | 154 | || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ | ||
184 | 155 | && rm -fr "$(distdir)"; }; } | ||
185 | 156 | am__relativize = \ | ||
186 | 157 | dir0=`pwd`; \ | ||
187 | 158 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | ||
188 | 159 | sed_rest='s,^[^/]*/*,,'; \ | ||
189 | 160 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ | ||
190 | 161 | sed_butlast='s,/*[^/]*$$,,'; \ | ||
191 | 162 | while test -n "$$dir1"; do \ | ||
192 | 163 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ | ||
193 | 164 | if test "$$first" != "."; then \ | ||
194 | 165 | if test "$$first" = ".."; then \ | ||
195 | 166 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ | ||
196 | 167 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ | ||
197 | 168 | else \ | ||
198 | 169 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ | ||
199 | 170 | if test "$$first2" = "$$first"; then \ | ||
200 | 171 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ | ||
201 | 172 | else \ | ||
202 | 173 | dir2="../$$dir2"; \ | ||
203 | 174 | fi; \ | ||
204 | 175 | dir0="$$dir0"/"$$first"; \ | ||
205 | 176 | fi; \ | ||
206 | 177 | fi; \ | ||
207 | 178 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ | ||
208 | 179 | done; \ | ||
209 | 180 | reldir="$$dir2" | ||
210 | 181 | DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 | ||
211 | 182 | GZIP_ENV = --best | ||
212 | 183 | distcleancheck_listfiles = find . -type f -print | ||
213 | 184 | ACLOCAL = @ACLOCAL@ | ||
214 | 185 | AMTAR = @AMTAR@ | ||
215 | 186 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ | ||
216 | 187 | AR = @AR@ | ||
217 | 188 | ARGZ_H = @ARGZ_H@ | ||
218 | 189 | AUTOCONF = @AUTOCONF@ | ||
219 | 190 | AUTOHEADER = @AUTOHEADER@ | ||
220 | 191 | AUTOMAKE = @AUTOMAKE@ | ||
221 | 192 | AWK = @AWK@ | ||
222 | 193 | BUILD_CONFIGURE_FLAGS = @BUILD_CONFIGURE_FLAGS@ | ||
223 | 194 | CC = @CC@ | ||
224 | 195 | CCDEPMODE = @CCDEPMODE@ | ||
225 | 196 | CFGDIR = @CFGDIR@ | ||
226 | 197 | CFLAGS = @CFLAGS@ | ||
227 | 198 | CHECK_CPPFLAGS = @CHECK_CPPFLAGS@ | ||
228 | 199 | CHECK_LIBS = @CHECK_LIBS@ | ||
229 | 200 | CLAMAVGROUP = @CLAMAVGROUP@ | ||
230 | 201 | CLAMAVUSER = @CLAMAVUSER@ | ||
231 | 202 | CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@ | ||
232 | 203 | CLAMDSCAN_LIBS = @CLAMDSCAN_LIBS@ | ||
233 | 204 | CLAMD_LIBS = @CLAMD_LIBS@ | ||
234 | 205 | CPP = @CPP@ | ||
235 | 206 | CPPFLAGS = @CPPFLAGS@ | ||
236 | 207 | CURSES_CPPFLAGS = @CURSES_CPPFLAGS@ | ||
237 | 208 | CURSES_LIBS = @CURSES_LIBS@ | ||
238 | 209 | CYGPATH_W = @CYGPATH_W@ | ||
239 | 210 | DBDIR = @DBDIR@ | ||
240 | 211 | DEFS = @DEFS@ | ||
241 | 212 | DEPDIR = @DEPDIR@ | ||
242 | 213 | DSYMUTIL = @DSYMUTIL@ | ||
243 | 214 | DUMPBIN = @DUMPBIN@ | ||
244 | 215 | ECHO_C = @ECHO_C@ | ||
245 | 216 | ECHO_N = @ECHO_N@ | ||
246 | 217 | ECHO_T = @ECHO_T@ | ||
247 | 218 | EGREP = @EGREP@ | ||
248 | 219 | EXEEXT = @EXEEXT@ | ||
249 | 220 | FGREP = @FGREP@ | ||
250 | 221 | FRESHCLAM_LIBS = @FRESHCLAM_LIBS@ | ||
251 | 222 | GCOV = @GCOV@ | ||
252 | 223 | GENHTML = @GENHTML@ | ||
253 | 224 | GETENT = @GETENT@ | ||
254 | 225 | GPERF = @GPERF@ | ||
255 | 226 | GREP = @GREP@ | ||
256 | 227 | INCLTDL = @INCLTDL@ | ||
257 | 228 | INSTALL = @INSTALL@ | ||
258 | 229 | INSTALL_DATA = @INSTALL_DATA@ | ||
259 | 230 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | ||
260 | 231 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | ||
261 | 232 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | ||
262 | 233 | LCOV = @LCOV@ | ||
263 | 234 | LD = @LD@ | ||
264 | 235 | LDFLAGS = @LDFLAGS@ | ||
265 | 236 | LIBADD_DL = @LIBADD_DL@ | ||
266 | 237 | LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ | ||
267 | 238 | LIBADD_DLOPEN = @LIBADD_DLOPEN@ | ||
268 | 239 | LIBADD_SHL_LOAD = @LIBADD_SHL_LOAD@ | ||
269 | 240 | LIBBZ2 = @LIBBZ2@ | ||
270 | 241 | LIBBZ2_PREFIX = @LIBBZ2_PREFIX@ | ||
271 | 242 | LIBCLAMAV_LIBS = @LIBCLAMAV_LIBS@ | ||
272 | 243 | LIBCLAMAV_VERSION = @LIBCLAMAV_VERSION@ | ||
273 | 244 | LIBLTDL = @LIBLTDL@ | ||
274 | 245 | LIBM = @LIBM@ | ||
275 | 246 | LIBOBJS = @LIBOBJS@ | ||
276 | 247 | LIBS = @LIBS@ | ||
277 | 248 | LIBTOOL = @LIBTOOL@ | ||
278 | 249 | LIPO = @LIPO@ | ||
279 | 250 | LN_S = @LN_S@ | ||
280 | 251 | LTDLDEPS = @LTDLDEPS@ | ||
281 | 252 | LTDLINCL = @LTDLINCL@ | ||
282 | 253 | LTDLOPEN = @LTDLOPEN@ | ||
283 | 254 | LTLIBBZ2 = @LTLIBBZ2@ | ||
284 | 255 | LTLIBOBJS = @LTLIBOBJS@ | ||
285 | 256 | LT_CONFIG_H = @LT_CONFIG_H@ | ||
286 | 257 | LT_DLLOADERS = @LT_DLLOADERS@ | ||
287 | 258 | LT_DLPREOPEN = @LT_DLPREOPEN@ | ||
288 | 259 | MAINT = @MAINT@ | ||
289 | 260 | MAKEINFO = @MAKEINFO@ | ||
290 | 261 | MKDIR_P = @MKDIR_P@ | ||
291 | 262 | NM = @NM@ | ||
292 | 263 | NMEDIT = @NMEDIT@ | ||
293 | 264 | OBJDUMP = @OBJDUMP@ | ||
294 | 265 | OBJEXT = @OBJEXT@ | ||
295 | 266 | OTOOL = @OTOOL@ | ||
296 | 267 | OTOOL64 = @OTOOL64@ | ||
297 | 268 | PACKAGE = @PACKAGE@ | ||
298 | 269 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ | ||
299 | 270 | PACKAGE_NAME = @PACKAGE_NAME@ | ||
300 | 271 | PACKAGE_STRING = @PACKAGE_STRING@ | ||
301 | 272 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | ||
302 | 273 | PACKAGE_VERSION = @PACKAGE_VERSION@ | ||
303 | 274 | PATH_SEPARATOR = @PATH_SEPARATOR@ | ||
304 | 275 | RANLIB = @RANLIB@ | ||
305 | 276 | SED = @SED@ | ||
306 | 277 | SET_MAKE = @SET_MAKE@ | ||
307 | 278 | SHELL = @SHELL@ | ||
308 | 279 | STRIP = @STRIP@ | ||
309 | 280 | THREAD_LIBS = @THREAD_LIBS@ | ||
310 | 281 | TH_SAFE = @TH_SAFE@ | ||
311 | 282 | VERSION = @VERSION@ | ||
312 | 283 | VERSIONSCRIPTFLAG = @VERSIONSCRIPTFLAG@ | ||
313 | 284 | abs_builddir = @abs_builddir@ | ||
314 | 285 | abs_srcdir = @abs_srcdir@ | ||
315 | 286 | abs_top_builddir = @abs_top_builddir@ | ||
316 | 287 | abs_top_srcdir = @abs_top_srcdir@ | ||
317 | 288 | ac_ct_CC = @ac_ct_CC@ | ||
318 | 289 | ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ | ||
319 | 290 | am__include = @am__include@ | ||
320 | 291 | am__leading_dot = @am__leading_dot@ | ||
321 | 292 | am__quote = @am__quote@ | ||
322 | 293 | am__tar = @am__tar@ | ||
323 | 294 | am__untar = @am__untar@ | ||
324 | 295 | bindir = @bindir@ | ||
325 | 296 | build = @build@ | ||
326 | 297 | build_alias = @build_alias@ | ||
327 | 298 | build_cpu = @build_cpu@ | ||
328 | 299 | build_os = @build_os@ | ||
329 | 300 | build_vendor = @build_vendor@ | ||
330 | 301 | builddir = @builddir@ | ||
331 | 302 | datadir = @datadir@ | ||
332 | 303 | datarootdir = @datarootdir@ | ||
333 | 304 | docdir = @docdir@ | ||
334 | 305 | dvidir = @dvidir@ | ||
335 | 306 | exec_prefix = @exec_prefix@ | ||
336 | 307 | host = @host@ | ||
337 | 308 | host_alias = @host_alias@ | ||
338 | 309 | host_cpu = @host_cpu@ | ||
339 | 310 | host_os = @host_os@ | ||
340 | 311 | host_vendor = @host_vendor@ | ||
341 | 312 | htmldir = @htmldir@ | ||
342 | 313 | includedir = @includedir@ | ||
343 | 314 | infodir = @infodir@ | ||
344 | 315 | install_sh = @install_sh@ | ||
345 | 316 | libdir = @libdir@ | ||
346 | 317 | libexecdir = @libexecdir@ | ||
347 | 318 | localedir = @localedir@ | ||
348 | 319 | localstatedir = @localstatedir@ | ||
349 | 320 | lt_ECHO = @lt_ECHO@ | ||
350 | 321 | ltdl_LIBOBJS = @ltdl_LIBOBJS@ | ||
351 | 322 | ltdl_LTLIBOBJS = @ltdl_LTLIBOBJS@ | ||
352 | 323 | mandir = @mandir@ | ||
353 | 324 | mkdir_p = @mkdir_p@ | ||
354 | 325 | oldincludedir = @oldincludedir@ | ||
355 | 326 | pdfdir = @pdfdir@ | ||
356 | 327 | prefix = @prefix@ | ||
357 | 328 | program_transform_name = @program_transform_name@ | ||
358 | 329 | psdir = @psdir@ | ||
359 | 330 | sbindir = @sbindir@ | ||
360 | 331 | sharedstatedir = @sharedstatedir@ | ||
361 | 332 | srcdir = @srcdir@ | ||
362 | 333 | subdirs = @subdirs@ | ||
363 | 334 | sys_symbol_underscore = @sys_symbol_underscore@ | ||
364 | 335 | sysconfdir = @sysconfdir@ | ||
365 | 336 | target = @target@ | ||
366 | 337 | target_alias = @target_alias@ | ||
367 | 338 | target_cpu = @target_cpu@ | ||
368 | 339 | target_os = @target_os@ | ||
369 | 340 | target_vendor = @target_vendor@ | ||
370 | 341 | top_build_prefix = @top_build_prefix@ | ||
371 | 342 | top_builddir = @top_builddir@ | ||
372 | 343 | top_srcdir = @top_srcdir@ | ||
373 | 344 | ACLOCAL_AMFLAGS = -I m4 | ||
374 | 345 | SUBDIRS = libltdl libclamav clamscan clamd clamdscan freshclam sigtool clamconf database docs etc clamav-milter test clamdtop clambc unit_tests | ||
375 | 346 | EXTRA_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 | ||
376 | 347 | bin_SCRIPTS = clamav-config | ||
377 | 348 | pkgconfigdir = $(libdir)/pkgconfig | ||
378 | 349 | pkgconfig_DATA = libclamav.pc | ||
379 | 350 | |||
380 | 351 | # don't complain that configuration files and databases are not removed, this is intended | ||
381 | 352 | distuninstallcheck_listfiles = find . -type f ! -name clamd.conf ! -name freshclam.conf ! -name daily.cvd ! -name main.cvd -print | ||
382 | 353 | DISTCLEANFILES = target.h | ||
383 | 354 | DISTCHECK_CONFIGURE_FLAGS = --enable-milter --disable-clamav --enable-all-jit-targets --enable-llvm=yes | ||
384 | 355 | all: clamav-config.h | ||
385 | 356 | $(MAKE) $(AM_MAKEFLAGS) all-recursive | ||
386 | 357 | |||
387 | 358 | .SUFFIXES: | ||
388 | 359 | am--refresh: | ||
389 | 360 | @: | ||
390 | 361 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) | ||
391 | 362 | @for dep in $?; do \ | ||
392 | 363 | case '$(am__configure_deps)' in \ | ||
393 | 364 | *$$dep*) \ | ||
394 | 365 | echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ | ||
395 | 366 | $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ | ||
396 | 367 | && exit 0; \ | ||
397 | 368 | exit 1;; \ | ||
398 | 369 | esac; \ | ||
399 | 370 | done; \ | ||
400 | 371 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ | ||
401 | 372 | $(am__cd) $(top_srcdir) && \ | ||
402 | 373 | $(AUTOMAKE) --foreign Makefile | ||
403 | 374 | .PRECIOUS: Makefile | ||
404 | 375 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
405 | 376 | @case '$?' in \ | ||
406 | 377 | *config.status*) \ | ||
407 | 378 | echo ' $(SHELL) ./config.status'; \ | ||
408 | 379 | $(SHELL) ./config.status;; \ | ||
409 | 380 | *) \ | ||
410 | 381 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ | ||
411 | 382 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ | ||
412 | 383 | esac; | ||
413 | 384 | |||
414 | 385 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) | ||
415 | 386 | $(SHELL) ./config.status --recheck | ||
416 | 387 | |||
417 | 388 | $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) | ||
418 | 389 | $(am__cd) $(srcdir) && $(AUTOCONF) | ||
419 | 390 | $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) | ||
420 | 391 | $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) | ||
421 | 392 | $(am__aclocal_m4_deps): | ||
422 | 393 | |||
423 | 394 | clamav-config.h: stamp-h1 | ||
424 | 395 | @if test ! -f $@; then \ | ||
425 | 396 | rm -f stamp-h1; \ | ||
426 | 397 | $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ | ||
427 | 398 | else :; fi | ||
428 | 399 | |||
429 | 400 | stamp-h1: $(srcdir)/clamav-config.h.in $(top_builddir)/config.status | ||
430 | 401 | @rm -f stamp-h1 | ||
431 | 402 | cd $(top_builddir) && $(SHELL) ./config.status clamav-config.h | ||
432 | 403 | $(srcdir)/clamav-config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) | ||
433 | 404 | ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) | ||
434 | 405 | rm -f stamp-h1 | ||
435 | 406 | touch $@ | ||
436 | 407 | |||
437 | 408 | distclean-hdr: | ||
438 | 409 | -rm -f clamav-config.h stamp-h1 | ||
439 | 410 | clamav-config: $(top_builddir)/config.status $(srcdir)/clamav-config.in | ||
440 | 411 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
441 | 412 | libclamav.pc: $(top_builddir)/config.status $(srcdir)/libclamav.pc.in | ||
442 | 413 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
443 | 414 | platform.h: $(top_builddir)/config.status $(srcdir)/platform.h.in | ||
444 | 415 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
445 | 416 | docs/man/clamav-milter.8: $(top_builddir)/config.status $(top_srcdir)/docs/man/clamav-milter.8.in | ||
446 | 417 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
447 | 418 | docs/man/clamav-milter.conf.5: $(top_builddir)/config.status $(top_srcdir)/docs/man/clamav-milter.conf.5.in | ||
448 | 419 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
449 | 420 | docs/man/clambc.1: $(top_builddir)/config.status $(top_srcdir)/docs/man/clambc.1.in | ||
450 | 421 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
451 | 422 | docs/man/clamconf.1: $(top_builddir)/config.status $(top_srcdir)/docs/man/clamconf.1.in | ||
452 | 423 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
453 | 424 | docs/man/clamd.8: $(top_builddir)/config.status $(top_srcdir)/docs/man/clamd.8.in | ||
454 | 425 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
455 | 426 | docs/man/clamd.conf.5: $(top_builddir)/config.status $(top_srcdir)/docs/man/clamd.conf.5.in | ||
456 | 427 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
457 | 428 | docs/man/clamdscan.1: $(top_builddir)/config.status $(top_srcdir)/docs/man/clamdscan.1.in | ||
458 | 429 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
459 | 430 | docs/man/clamscan.1: $(top_builddir)/config.status $(top_srcdir)/docs/man/clamscan.1.in | ||
460 | 431 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
461 | 432 | docs/man/freshclam.1: $(top_builddir)/config.status $(top_srcdir)/docs/man/freshclam.1.in | ||
462 | 433 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
463 | 434 | docs/man/freshclam.conf.5: $(top_builddir)/config.status $(top_srcdir)/docs/man/freshclam.conf.5.in | ||
464 | 435 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
465 | 436 | docs/man/sigtool.1: $(top_builddir)/config.status $(top_srcdir)/docs/man/sigtool.1.in | ||
466 | 437 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
467 | 438 | docs/man/clamdtop.1: $(top_builddir)/config.status $(top_srcdir)/docs/man/clamdtop.1.in | ||
468 | 439 | cd $(top_builddir) && $(SHELL) ./config.status $@ | ||
469 | 440 | install-binSCRIPTS: $(bin_SCRIPTS) | ||
470 | 441 | @$(NORMAL_INSTALL) | ||
471 | 442 | test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" | ||
472 | 443 | @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ | ||
473 | 444 | for p in $$list; do \ | ||
474 | 445 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
475 | 446 | if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ | ||
476 | 447 | done | \ | ||
477 | 448 | sed -e 'p;s,.*/,,;n' \ | ||
478 | 449 | -e 'h;s|.*|.|' \ | ||
479 | 450 | -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ | ||
480 | 451 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ | ||
481 | 452 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ | ||
482 | 453 | if ($$2 == $$4) { files[d] = files[d] " " $$1; \ | ||
483 | 454 | if (++n[d] == $(am__install_max)) { \ | ||
484 | 455 | print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ | ||
485 | 456 | else { print "f", d "/" $$4, $$1 } } \ | ||
486 | 457 | END { for (d in files) print "f", d, files[d] }' | \ | ||
487 | 458 | while read type dir files; do \ | ||
488 | 459 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ | ||
489 | 460 | test -z "$$files" || { \ | ||
490 | 461 | echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ | ||
491 | 462 | $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ | ||
492 | 463 | } \ | ||
493 | 464 | ; done | ||
494 | 465 | |||
495 | 466 | uninstall-binSCRIPTS: | ||
496 | 467 | @$(NORMAL_UNINSTALL) | ||
497 | 468 | @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ | ||
498 | 469 | files=`for p in $$list; do echo "$$p"; done | \ | ||
499 | 470 | sed -e 's,.*/,,;$(transform)'`; \ | ||
500 | 471 | test -n "$$list" || exit 0; \ | ||
501 | 472 | echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ | ||
502 | 473 | cd "$(DESTDIR)$(bindir)" && rm -f $$files | ||
503 | 474 | |||
504 | 475 | installcheck-binSCRIPTS: $(bin_SCRIPTS) | ||
505 | 476 | bad=0; pid=$$$$; list="$(bin_SCRIPTS)"; for p in $$list; do \ | ||
506 | 477 | case ' $(AM_INSTALLCHECK_STD_OPTIONS_EXEMPT) ' in \ | ||
507 | 478 | *" $$p "* | *" $(srcdir)/$$p "*) continue;; \ | ||
508 | 479 | esac; \ | ||
509 | 480 | f=`echo "$$p" | sed 's,^.*/,,;$(transform)'`; \ | ||
510 | 481 | for opt in --help --version; do \ | ||
511 | 482 | if "$(DESTDIR)$(bindir)/$$f" $$opt >c$${pid}_.out \ | ||
512 | 483 | 2>c$${pid}_.err </dev/null \ | ||
513 | 484 | && test -n "`cat c$${pid}_.out`" \ | ||
514 | 485 | && test -z "`cat c$${pid}_.err`"; then :; \ | ||
515 | 486 | else echo "$$f does not support $$opt" 1>&2; bad=1; fi; \ | ||
516 | 487 | done; \ | ||
517 | 488 | done; rm -f c$${pid}_.???; exit $$bad | ||
518 | 489 | |||
519 | 490 | mostlyclean-libtool: | ||
520 | 491 | -rm -f *.lo | ||
521 | 492 | |||
522 | 493 | clean-libtool: | ||
523 | 494 | -rm -rf .libs _libs | ||
524 | 495 | |||
525 | 496 | distclean-libtool: | ||
526 | 497 | -rm -f libtool config.lt | ||
527 | 498 | install-pkgconfigDATA: $(pkgconfig_DATA) | ||
528 | 499 | @$(NORMAL_INSTALL) | ||
529 | 500 | test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" | ||
530 | 501 | @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ | ||
531 | 502 | for p in $$list; do \ | ||
532 | 503 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | ||
533 | 504 | echo "$$d$$p"; \ | ||
534 | 505 | done | $(am__base_list) | \ | ||
535 | 506 | while read files; do \ | ||
536 | 507 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ | ||
537 | 508 | $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ | ||
538 | 509 | done | ||
539 | 510 | |||
540 | 511 | uninstall-pkgconfigDATA: | ||
541 | 512 | @$(NORMAL_UNINSTALL) | ||
542 | 513 | @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ | ||
543 | 514 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ | ||
544 | 515 | test -n "$$files" || exit 0; \ | ||
545 | 516 | echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \ | ||
546 | 517 | cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files | ||
547 | 518 | |||
548 | 519 | # This directory's subdirectories are mostly independent; you can cd | ||
549 | 520 | # into them and run `make' without going through this Makefile. | ||
550 | 521 | # To change the values of `make' variables: instead of editing Makefiles, | ||
551 | 522 | # (1) if the variable is set in `config.status', edit `config.status' | ||
552 | 523 | # (which will cause the Makefiles to be regenerated when you run `make'); | ||
553 | 524 | # (2) otherwise, pass the desired values on the `make' command line. | ||
554 | 525 | $(RECURSIVE_TARGETS): | ||
555 | 526 | @fail= failcom='exit 1'; \ | ||
556 | 527 | for f in x $$MAKEFLAGS; do \ | ||
557 | 528 | case $$f in \ | ||
558 | 529 | *=* | --[!k]*);; \ | ||
559 | 530 | *k*) failcom='fail=yes';; \ | ||
560 | 531 | esac; \ | ||
561 | 532 | done; \ | ||
562 | 533 | dot_seen=no; \ | ||
563 | 534 | target=`echo $@ | sed s/-recursive//`; \ | ||
564 | 535 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
565 | 536 | echo "Making $$target in $$subdir"; \ | ||
566 | 537 | if test "$$subdir" = "."; then \ | ||
567 | 538 | dot_seen=yes; \ | ||
568 | 539 | local_target="$$target-am"; \ | ||
569 | 540 | else \ | ||
570 | 541 | local_target="$$target"; \ | ||
571 | 542 | fi; \ | ||
572 | 543 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||
573 | 544 | || eval $$failcom; \ | ||
574 | 545 | done; \ | ||
575 | 546 | if test "$$dot_seen" = "no"; then \ | ||
576 | 547 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ | ||
577 | 548 | fi; test -z "$$fail" | ||
578 | 549 | |||
579 | 550 | $(RECURSIVE_CLEAN_TARGETS): | ||
580 | 551 | @fail= failcom='exit 1'; \ | ||
581 | 552 | for f in x $$MAKEFLAGS; do \ | ||
582 | 553 | case $$f in \ | ||
583 | 554 | *=* | --[!k]*);; \ | ||
584 | 555 | *k*) failcom='fail=yes';; \ | ||
585 | 556 | esac; \ | ||
586 | 557 | done; \ | ||
587 | 558 | dot_seen=no; \ | ||
588 | 559 | case "$@" in \ | ||
589 | 560 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ | ||
590 | 561 | *) list='$(SUBDIRS)' ;; \ | ||
591 | 562 | esac; \ | ||
592 | 563 | rev=''; for subdir in $$list; do \ | ||
593 | 564 | if test "$$subdir" = "."; then :; else \ | ||
594 | 565 | rev="$$subdir $$rev"; \ | ||
595 | 566 | fi; \ | ||
596 | 567 | done; \ | ||
597 | 568 | rev="$$rev ."; \ | ||
598 | 569 | target=`echo $@ | sed s/-recursive//`; \ | ||
599 | 570 | for subdir in $$rev; do \ | ||
600 | 571 | echo "Making $$target in $$subdir"; \ | ||
601 | 572 | if test "$$subdir" = "."; then \ | ||
602 | 573 | local_target="$$target-am"; \ | ||
603 | 574 | else \ | ||
604 | 575 | local_target="$$target"; \ | ||
605 | 576 | fi; \ | ||
606 | 577 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ | ||
607 | 578 | || eval $$failcom; \ | ||
608 | 579 | done && test -z "$$fail" | ||
609 | 580 | tags-recursive: | ||
610 | 581 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
611 | 582 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ | ||
612 | 583 | done | ||
613 | 584 | ctags-recursive: | ||
614 | 585 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
615 | 586 | test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ | ||
616 | 587 | done | ||
617 | 588 | |||
618 | 589 | ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) | ||
619 | 590 | list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ | ||
620 | 591 | unique=`for i in $$list; do \ | ||
621 | 592 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
622 | 593 | done | \ | ||
623 | 594 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
624 | 595 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
625 | 596 | mkid -fID $$unique | ||
626 | 597 | tags: TAGS | ||
627 | 598 | |||
628 | 599 | TAGS: tags-recursive $(HEADERS) $(SOURCES) clamav-config.h.in $(TAGS_DEPENDENCIES) \ | ||
629 | 600 | $(TAGS_FILES) $(LISP) | ||
630 | 601 | set x; \ | ||
631 | 602 | here=`pwd`; \ | ||
632 | 603 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ | ||
633 | 604 | include_option=--etags-include; \ | ||
634 | 605 | empty_fix=.; \ | ||
635 | 606 | else \ | ||
636 | 607 | include_option=--include; \ | ||
637 | 608 | empty_fix=; \ | ||
638 | 609 | fi; \ | ||
639 | 610 | list='$(SUBDIRS)'; for subdir in $$list; do \ | ||
640 | 611 | if test "$$subdir" = .; then :; else \ | ||
641 | 612 | test ! -f $$subdir/TAGS || \ | ||
642 | 613 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ | ||
643 | 614 | fi; \ | ||
644 | 615 | done; \ | ||
645 | 616 | list='$(SOURCES) $(HEADERS) clamav-config.h.in $(LISP) $(TAGS_FILES)'; \ | ||
646 | 617 | unique=`for i in $$list; do \ | ||
647 | 618 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
648 | 619 | done | \ | ||
649 | 620 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
650 | 621 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
651 | 622 | shift; \ | ||
652 | 623 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ | ||
653 | 624 | test -n "$$unique" || unique=$$empty_fix; \ | ||
654 | 625 | if test $$# -gt 0; then \ | ||
655 | 626 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
656 | 627 | "$$@" $$unique; \ | ||
657 | 628 | else \ | ||
658 | 629 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ | ||
659 | 630 | $$unique; \ | ||
660 | 631 | fi; \ | ||
661 | 632 | fi | ||
662 | 633 | ctags: CTAGS | ||
663 | 634 | CTAGS: ctags-recursive $(HEADERS) $(SOURCES) clamav-config.h.in $(TAGS_DEPENDENCIES) \ | ||
664 | 635 | $(TAGS_FILES) $(LISP) | ||
665 | 636 | list='$(SOURCES) $(HEADERS) clamav-config.h.in $(LISP) $(TAGS_FILES)'; \ | ||
666 | 637 | unique=`for i in $$list; do \ | ||
667 | 638 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ | ||
668 | 639 | done | \ | ||
669 | 640 | $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ | ||
670 | 641 | END { if (nonempty) { for (i in files) print i; }; }'`; \ | ||
671 | 642 | test -z "$(CTAGS_ARGS)$$unique" \ | ||
672 | 643 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ | ||
673 | 644 | $$unique | ||
674 | 645 | |||
675 | 646 | GTAGS: | ||
676 | 647 | here=`$(am__cd) $(top_builddir) && pwd` \ | ||
677 | 648 | && $(am__cd) $(top_srcdir) \ | ||
678 | 649 | && gtags -i $(GTAGS_ARGS) "$$here" | ||
679 | 650 | |||
680 | 651 | distclean-tags: | ||
681 | 652 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags | ||
682 | 653 | |||
683 | 654 | distdir: $(DISTFILES) | ||
684 | 655 | $(am__remove_distdir) | ||
685 | 656 | test -d "$(distdir)" || mkdir "$(distdir)" | ||
686 | 657 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
687 | 658 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ | ||
688 | 659 | list='$(DISTFILES)'; \ | ||
689 | 660 | dist_files=`for file in $$list; do echo $$file; done | \ | ||
690 | 661 | sed -e "s|^$$srcdirstrip/||;t" \ | ||
691 | 662 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ | ||
692 | 663 | case $$dist_files in \ | ||
693 | 664 | */*) $(MKDIR_P) `echo "$$dist_files" | \ | ||
694 | 665 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ | ||
695 | 666 | sort -u` ;; \ | ||
696 | 667 | esac; \ | ||
697 | 668 | for file in $$dist_files; do \ | ||
698 | 669 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | ||
699 | 670 | if test -d $$d/$$file; then \ | ||
700 | 671 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ | ||
701 | 672 | if test -d "$(distdir)/$$file"; then \ | ||
702 | 673 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
703 | 674 | fi; \ | ||
704 | 675 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ | ||
705 | 676 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ | ||
706 | 677 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ | ||
707 | 678 | fi; \ | ||
708 | 679 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ | ||
709 | 680 | else \ | ||
710 | 681 | test -f "$(distdir)/$$file" \ | ||
711 | 682 | || cp -p $$d/$$file "$(distdir)/$$file" \ | ||
712 | 683 | || exit 1; \ | ||
713 | 684 | fi; \ | ||
714 | 685 | done | ||
715 | 686 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | ||
716 | 687 | if test "$$subdir" = .; then :; else \ | ||
717 | 688 | test -d "$(distdir)/$$subdir" \ | ||
718 | 689 | || $(MKDIR_P) "$(distdir)/$$subdir" \ | ||
719 | 690 | || exit 1; \ | ||
720 | 691 | fi; \ | ||
721 | 692 | done | ||
722 | 693 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ | ||
723 | 694 | if test "$$subdir" = .; then :; else \ | ||
724 | 695 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ | ||
725 | 696 | $(am__relativize); \ | ||
726 | 697 | new_distdir=$$reldir; \ | ||
727 | 698 | dir1=$$subdir; dir2="$(top_distdir)"; \ | ||
728 | 699 | $(am__relativize); \ | ||
729 | 700 | new_top_distdir=$$reldir; \ | ||
730 | 701 | echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ | ||
731 | 702 | echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ | ||
732 | 703 | ($(am__cd) $$subdir && \ | ||
733 | 704 | $(MAKE) $(AM_MAKEFLAGS) \ | ||
734 | 705 | top_distdir="$$new_top_distdir" \ | ||
735 | 706 | distdir="$$new_distdir" \ | ||
736 | 707 | am__remove_distdir=: \ | ||
737 | 708 | am__skip_length_check=: \ | ||
738 | 709 | am__skip_mode_fix=: \ | ||
739 | 710 | distdir) \ | ||
740 | 711 | || exit 1; \ | ||
741 | 712 | fi; \ | ||
742 | 713 | done | ||
743 | 714 | $(MAKE) $(AM_MAKEFLAGS) \ | ||
744 | 715 | top_distdir="$(top_distdir)" distdir="$(distdir)" \ | ||
745 | 716 | dist-hook | ||
746 | 717 | -test -n "$(am__skip_mode_fix)" \ | ||
747 | 718 | || find "$(distdir)" -type d ! -perm -755 \ | ||
748 | 719 | -exec chmod u+rwx,go+rx {} \; -o \ | ||
749 | 720 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ | ||
750 | 721 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ | ||
751 | 722 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ | ||
752 | 723 | || chmod -R a+r "$(distdir)" | ||
753 | 724 | dist-gzip: distdir | ||
754 | 725 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | ||
755 | 726 | $(am__remove_distdir) | ||
756 | 727 | dist-bzip2: distdir | ||
757 | 728 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 | ||
758 | 729 | $(am__remove_distdir) | ||
759 | 730 | |||
760 | 731 | dist-lzma: distdir | ||
761 | 732 | tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma | ||
762 | 733 | $(am__remove_distdir) | ||
763 | 734 | |||
764 | 735 | dist-xz: distdir | ||
765 | 736 | tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz | ||
766 | 737 | $(am__remove_distdir) | ||
767 | 738 | |||
768 | 739 | dist-tarZ: distdir | ||
769 | 740 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z | ||
770 | 741 | $(am__remove_distdir) | ||
771 | 742 | |||
772 | 743 | dist-shar: distdir | ||
773 | 744 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz | ||
774 | 745 | $(am__remove_distdir) | ||
775 | 746 | |||
776 | 747 | dist-zip: distdir | ||
777 | 748 | -rm -f $(distdir).zip | ||
778 | 749 | zip -rq $(distdir).zip $(distdir) | ||
779 | 750 | $(am__remove_distdir) | ||
780 | 751 | |||
781 | 752 | dist dist-all: distdir | ||
782 | 753 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz | ||
783 | 754 | tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 | ||
784 | 755 | $(am__remove_distdir) | ||
785 | 756 | |||
786 | 757 | # This target untars the dist file and tries a VPATH configuration. Then | ||
787 | 758 | # it guarantees that the distribution is self-contained by making another | ||
788 | 759 | # tarfile. | ||
789 | 760 | distcheck: dist | ||
790 | 761 | case '$(DIST_ARCHIVES)' in \ | ||
791 | 762 | *.tar.gz*) \ | ||
792 | 763 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ | ||
793 | 764 | *.tar.bz2*) \ | ||
794 | 765 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ | ||
795 | 766 | *.tar.lzma*) \ | ||
796 | 767 | lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ | ||
797 | 768 | *.tar.xz*) \ | ||
798 | 769 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ | ||
799 | 770 | *.tar.Z*) \ | ||
800 | 771 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ | ||
801 | 772 | *.shar.gz*) \ | ||
802 | 773 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ | ||
803 | 774 | *.zip*) \ | ||
804 | 775 | unzip $(distdir).zip ;;\ | ||
805 | 776 | esac | ||
806 | 777 | chmod -R a-w $(distdir); chmod a+w $(distdir) | ||
807 | 778 | mkdir $(distdir)/_build | ||
808 | 779 | mkdir $(distdir)/_inst | ||
809 | 780 | chmod a-w $(distdir) | ||
810 | 781 | test -d $(distdir)/_build || exit 0; \ | ||
811 | 782 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ | ||
812 | 783 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ | ||
813 | 784 | && am__cwd=`pwd` \ | ||
814 | 785 | && $(am__cd) $(distdir)/_build \ | ||
815 | 786 | && ../configure --srcdir=.. --prefix="$$dc_install_base" \ | ||
816 | 787 | $(DISTCHECK_CONFIGURE_FLAGS) \ | ||
817 | 788 | && $(MAKE) $(AM_MAKEFLAGS) \ | ||
818 | 789 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ | ||
819 | 790 | && $(MAKE) $(AM_MAKEFLAGS) check \ | ||
820 | 791 | && $(MAKE) $(AM_MAKEFLAGS) install \ | ||
821 | 792 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ | ||
822 | 793 | && $(MAKE) $(AM_MAKEFLAGS) uninstall \ | ||
823 | 794 | && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ | ||
824 | 795 | distuninstallcheck \ | ||
825 | 796 | && chmod -R a-w "$$dc_install_base" \ | ||
826 | 797 | && ({ \ | ||
827 | 798 | (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ | ||
828 | 799 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ | ||
829 | 800 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ | ||
830 | 801 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ | ||
831 | 802 | distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ | ||
832 | 803 | } || { rm -rf "$$dc_destdir"; exit 1; }) \ | ||
833 | 804 | && rm -rf "$$dc_destdir" \ | ||
834 | 805 | && $(MAKE) $(AM_MAKEFLAGS) dist \ | ||
835 | 806 | && rm -rf $(DIST_ARCHIVES) \ | ||
836 | 807 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ | ||
837 | 808 | && cd "$$am__cwd" \ | ||
838 | 809 | || exit 1 | ||
839 | 810 | $(am__remove_distdir) | ||
840 | 811 | @(echo "$(distdir) archives ready for distribution: "; \ | ||
841 | 812 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ | ||
842 | 813 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' | ||
843 | 814 | distuninstallcheck: | ||
844 | 815 | @$(am__cd) '$(distuninstallcheck_dir)' \ | ||
845 | 816 | && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ | ||
846 | 817 | || { echo "ERROR: files left after uninstall:" ; \ | ||
847 | 818 | if test -n "$(DESTDIR)"; then \ | ||
848 | 819 | echo " (check DESTDIR support)"; \ | ||
849 | 820 | fi ; \ | ||
850 | 821 | $(distuninstallcheck_listfiles) ; \ | ||
851 | 822 | exit 1; } >&2 | ||
852 | 823 | distcleancheck: distclean | ||
853 | 824 | @if test '$(srcdir)' = . ; then \ | ||
854 | 825 | echo "ERROR: distcleancheck can only run from a VPATH build" ; \ | ||
855 | 826 | exit 1 ; \ | ||
856 | 827 | fi | ||
857 | 828 | @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ | ||
858 | 829 | || { echo "ERROR: files left in build directory after distclean:" ; \ | ||
859 | 830 | $(distcleancheck_listfiles) ; \ | ||
860 | 831 | exit 1; } >&2 | ||
861 | 832 | check-am: all-am | ||
862 | 833 | check: check-recursive | ||
863 | 834 | all-am: Makefile $(SCRIPTS) $(DATA) clamav-config.h | ||
864 | 835 | installdirs: installdirs-recursive | ||
865 | 836 | installdirs-am: | ||
866 | 837 | for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)"; do \ | ||
867 | 838 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ | ||
868 | 839 | done | ||
869 | 840 | install: install-recursive | ||
870 | 841 | install-exec: install-exec-recursive | ||
871 | 842 | install-data: install-data-recursive | ||
872 | 843 | uninstall: uninstall-recursive | ||
873 | 844 | |||
874 | 845 | install-am: all-am | ||
875 | 846 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | ||
876 | 847 | |||
877 | 848 | installcheck: installcheck-recursive | ||
878 | 849 | install-strip: | ||
879 | 850 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | ||
880 | 851 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ | ||
881 | 852 | `test -z '$(STRIP)' || \ | ||
882 | 853 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | ||
883 | 854 | mostlyclean-generic: | ||
884 | 855 | |||
885 | 856 | clean-generic: | ||
886 | 857 | |||
887 | 858 | distclean-generic: | ||
888 | 859 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) | ||
889 | 860 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) | ||
890 | 861 | -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) | ||
891 | 862 | |||
892 | 863 | maintainer-clean-generic: | ||
893 | 864 | @echo "This command is intended for maintainers to use" | ||
894 | 865 | @echo "it deletes files that may require special tools to rebuild." | ||
895 | 866 | clean: clean-recursive | ||
896 | 867 | |||
897 | 868 | clean-am: clean-generic clean-libtool mostlyclean-am | ||
898 | 869 | |||
899 | 870 | distclean: distclean-recursive | ||
900 | 871 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | ||
901 | 872 | -rm -f Makefile | ||
902 | 873 | distclean-am: clean-am distclean-generic distclean-hdr \ | ||
903 | 874 | distclean-libtool distclean-tags | ||
904 | 875 | |||
905 | 876 | dvi: dvi-recursive | ||
906 | 877 | |||
907 | 878 | dvi-am: | ||
908 | 879 | |||
909 | 880 | html: html-recursive | ||
910 | 881 | |||
911 | 882 | html-am: | ||
912 | 883 | |||
913 | 884 | info: info-recursive | ||
914 | 885 | |||
915 | 886 | info-am: | ||
916 | 887 | |||
917 | 888 | install-data-am: install-pkgconfigDATA | ||
918 | 889 | |||
919 | 890 | install-dvi: install-dvi-recursive | ||
920 | 891 | |||
921 | 892 | install-dvi-am: | ||
922 | 893 | |||
923 | 894 | install-exec-am: install-binSCRIPTS | ||
924 | 895 | |||
925 | 896 | install-html: install-html-recursive | ||
926 | 897 | |||
927 | 898 | install-html-am: | ||
928 | 899 | |||
929 | 900 | install-info: install-info-recursive | ||
930 | 901 | |||
931 | 902 | install-info-am: | ||
932 | 903 | |||
933 | 904 | install-man: | ||
934 | 905 | |||
935 | 906 | install-pdf: install-pdf-recursive | ||
936 | 907 | |||
937 | 908 | install-pdf-am: | ||
938 | 909 | |||
939 | 910 | install-ps: install-ps-recursive | ||
940 | 911 | |||
941 | 912 | install-ps-am: | ||
942 | 913 | |||
943 | 914 | installcheck-am: installcheck-binSCRIPTS | ||
944 | 915 | |||
945 | 916 | maintainer-clean: maintainer-clean-recursive | ||
946 | 917 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) | ||
947 | 918 | -rm -rf $(top_srcdir)/autom4te.cache | ||
948 | 919 | -rm -f Makefile | ||
949 | 920 | maintainer-clean-am: distclean-am maintainer-clean-generic | ||
950 | 921 | |||
951 | 922 | mostlyclean: mostlyclean-recursive | ||
952 | 923 | |||
953 | 924 | mostlyclean-am: mostlyclean-generic mostlyclean-libtool | ||
954 | 925 | |||
955 | 926 | pdf: pdf-recursive | ||
956 | 927 | |||
957 | 928 | pdf-am: | ||
958 | 929 | |||
959 | 930 | ps: ps-recursive | ||
960 | 931 | |||
961 | 932 | ps-am: | ||
962 | 933 | |||
963 | 934 | uninstall-am: uninstall-binSCRIPTS uninstall-pkgconfigDATA | ||
964 | 935 | |||
965 | 936 | .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \ | ||
966 | 937 | ctags-recursive install-am install-strip tags-recursive | ||
967 | 938 | |||
968 | 939 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ | ||
969 | 940 | all all-am am--refresh check check-am clean clean-generic \ | ||
970 | 941 | clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ | ||
971 | 942 | dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-xz \ | ||
972 | 943 | dist-zip distcheck distclean distclean-generic distclean-hdr \ | ||
973 | 944 | distclean-libtool distclean-tags distcleancheck distdir \ | ||
974 | 945 | distuninstallcheck dvi dvi-am html html-am info info-am \ | ||
975 | 946 | install install-am install-binSCRIPTS install-data \ | ||
976 | 947 | install-data-am install-dvi install-dvi-am install-exec \ | ||
977 | 948 | install-exec-am install-html install-html-am install-info \ | ||
978 | 949 | install-info-am install-man install-pdf install-pdf-am \ | ||
979 | 950 | install-pkgconfigDATA install-ps install-ps-am install-strip \ | ||
980 | 951 | installcheck installcheck-am installcheck-binSCRIPTS \ | ||
981 | 952 | installdirs installdirs-am maintainer-clean \ | ||
982 | 953 | maintainer-clean-generic mostlyclean mostlyclean-generic \ | ||
983 | 954 | mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ | ||
984 | 955 | uninstall uninstall-am uninstall-binSCRIPTS \ | ||
985 | 956 | uninstall-pkgconfigDATA | ||
986 | 957 | |||
987 | 958 | lcov: | ||
988 | 959 | ($(MAKE); cd unit_tests; $(MAKE) lcov) | ||
989 | 960 | quick-check: | ||
990 | 961 | ($(MAKE); cd unit_tests; $(MAKE) quick-check) | ||
991 | 962 | |||
992 | 963 | dist-hook: | ||
993 | 964 | rm -rf $(distdir)/win32/clamav-for-windows $(distdir)/win32/build | ||
994 | 965 | |||
995 | 966 | # Tell versions [3.59,3.63) of GNU make to not export all variables. | ||
996 | 967 | # Otherwise a system limit (for SysV at least) may be exceeded. | ||
997 | 968 | .NOEXPORT: | ||
998 | 0 | 969 | ||
999 | === modified file 'NEWS' | |||
1000 | --- NEWS 2012-10-08 12:29:39 +0000 | |||
1001 | +++ NEWS 2013-04-03 16:48:24 +0000 | |||
1002 | @@ -1,9 +1,8 @@ | |||
1004 | 1 | 0.97.6 | 1 | 0.97.7 |
1005 | 2 | ------ | 2 | ------ |
1010 | 3 | 3 | ClamAV 0.97.7 addresses several reported potential security bugs. Thanks to | |
1011 | 4 | ClamAV 0.97.6 corrects two major bugs. One is bb#5571, where an invalid return | 4 | Felix Groebert, Mateusz Jurczyk and Gynvael Coldwind of the Google Security |
1012 | 5 | code was issued. The other is 5252, where an error in processing certain data | 5 | Team for finding and reporting these issues. |
1009 | 6 | types occured. | ||
1013 | 7 | 6 | ||
1014 | 8 | -- | 7 | -- |
1015 | 9 | The ClamAV team (http://www.clamav.net/team) | 8 | The ClamAV team (http://www.clamav.net/team) |
1016 | 10 | 9 | ||
1017 | === modified file 'README' | |||
1018 | --- README 2012-10-08 12:29:39 +0000 | |||
1019 | +++ README 2013-04-03 16:48:24 +0000 | |||
1020 | @@ -1,6 +1,12 @@ | |||
1021 | 1 | Note: This README/NEWS file refers to the source tarball. Some things described | 1 | Note: This README/NEWS file refers to the source tarball. Some things described |
1022 | 2 | here may not be available in binary packages. | 2 | here may not be available in binary packages. |
1023 | 3 | -- | 3 | -- |
1024 | 4 | 0.97.7 | ||
1025 | 5 | ------ | ||
1026 | 6 | ClamAV 0.97.7 addresses several reported potential security bugs. Thanks to | ||
1027 | 7 | Felix Groebert, Mateusz Jurczyk and Gynvael Coldwind of the Google Security | ||
1028 | 8 | Team for finding and reporting these issues. | ||
1029 | 9 | |||
1030 | 4 | 0.97.6 | 10 | 0.97.6 |
1031 | 5 | ------ | 11 | ------ |
1032 | 6 | ClamAV 0.97.6 corrects bug 5252 "CL_EFORMAT: Bad format or broken data ERROR | 12 | ClamAV 0.97.6 corrects bug 5252 "CL_EFORMAT: Bad format or broken data ERROR |
1033 | 7 | 13 | ||
1034 | === modified file 'aclocal.m4' | |||
1035 | --- aclocal.m4 2012-06-19 21:39:28 +0000 | |||
1036 | +++ aclocal.m4 2013-04-03 16:48:24 +0000 | |||
1037 | @@ -13,8 +13,8 @@ | |||
1038 | 13 | 13 | ||
1039 | 14 | m4_ifndef([AC_AUTOCONF_VERSION], | 14 | m4_ifndef([AC_AUTOCONF_VERSION], |
1040 | 15 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl | 15 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
1043 | 16 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, | 16 | m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],, |
1044 | 17 | [m4_warning([this file was generated for autoconf 2.65. | 17 | [m4_warning([this file was generated for autoconf 2.63. |
1045 | 18 | You have another version of autoconf. It may work, but is not guaranteed to. | 18 | You have another version of autoconf. It may work, but is not guaranteed to. |
1046 | 19 | If you have problems, you may need to regenerate the build system entirely. | 19 | If you have problems, you may need to regenerate the build system entirely. |
1047 | 20 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) | 20 | To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
1048 | 21 | 21 | ||
1049 | === modified file 'clamav-config.h.in' | |||
1050 | --- clamav-config.h.in 2012-06-19 21:39:28 +0000 | |||
1051 | +++ clamav-config.h.in 2013-04-03 16:48:24 +0000 | |||
1052 | @@ -463,9 +463,6 @@ | |||
1053 | 463 | /* Define to the one symbol short name of this package. */ | 463 | /* Define to the one symbol short name of this package. */ |
1054 | 464 | #undef PACKAGE_TARNAME | 464 | #undef PACKAGE_TARNAME |
1055 | 465 | 465 | ||
1056 | 466 | /* Define to the home page for this package. */ | ||
1057 | 467 | #undef PACKAGE_URL | ||
1058 | 468 | |||
1059 | 469 | /* Define to the version of this package. */ | 466 | /* Define to the version of this package. */ |
1060 | 470 | #undef PACKAGE_VERSION | 467 | #undef PACKAGE_VERSION |
1061 | 471 | 468 | ||
1062 | @@ -554,14 +551,13 @@ | |||
1063 | 554 | nothing if this is not supported. Do not define if restrict is | 551 | nothing if this is not supported. Do not define if restrict is |
1064 | 555 | supported directly. */ | 552 | supported directly. */ |
1065 | 556 | #undef restrict | 553 | #undef restrict |
1071 | 557 | /* Work around a bug in Sun C++: it does not support _Restrict or | 554 | /* Work around a bug in Sun C++: it does not support _Restrict, even |
1072 | 558 | __restrict__, even though the corresponding Sun C compiler ends up with | 555 | though the corresponding Sun C compiler does, which causes |
1073 | 559 | "#define restrict _Restrict" or "#define restrict __restrict__" in the | 556 | "#define restrict _Restrict" in the previous line. Perhaps some future |
1074 | 560 | previous line. Perhaps some future version of Sun C++ will work with | 557 | version of Sun C++ will work with _Restrict; if so, it'll probably |
1075 | 561 | restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ | 558 | define __RESTRICT, just as Sun C does. */ |
1076 | 562 | #if defined __SUNPRO_CC && !defined __RESTRICT | 559 | #if defined __SUNPRO_CC && !defined __RESTRICT |
1077 | 563 | # define _Restrict | 560 | # define _Restrict |
1078 | 564 | # define __restrict__ | ||
1079 | 565 | #endif | 561 | #endif |
1080 | 566 | 562 | ||
1081 | 567 | /* Define to "int" if <sys/socket.h> does not define. */ | 563 | /* Define to "int" if <sys/socket.h> does not define. */ |
1082 | 568 | 564 | ||
1083 | === modified file 'clamav-milter/Makefile.in' | |||
1084 | --- clamav-milter/Makefile.in 2011-02-19 09:51:33 +0000 | |||
1085 | +++ clamav-milter/Makefile.in 2013-04-03 16:48:24 +0000 | |||
1086 | @@ -243,7 +243,6 @@ | |||
1087 | 243 | PACKAGE_NAME = @PACKAGE_NAME@ | 243 | PACKAGE_NAME = @PACKAGE_NAME@ |
1088 | 244 | PACKAGE_STRING = @PACKAGE_STRING@ | 244 | PACKAGE_STRING = @PACKAGE_STRING@ |
1089 | 245 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | 245 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
1090 | 246 | PACKAGE_URL = @PACKAGE_URL@ | ||
1091 | 247 | PACKAGE_VERSION = @PACKAGE_VERSION@ | 246 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
1092 | 248 | PATH_SEPARATOR = @PATH_SEPARATOR@ | 247 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
1093 | 249 | RANLIB = @RANLIB@ | 248 | RANLIB = @RANLIB@ |
1094 | 250 | 249 | ||
1095 | === modified file 'clambc/Makefile.in' | |||
1096 | --- clambc/Makefile.in 2011-02-19 09:51:33 +0000 | |||
1097 | +++ clambc/Makefile.in 2013-04-03 16:48:24 +0000 | |||
1098 | @@ -185,7 +185,6 @@ | |||
1099 | 185 | PACKAGE_NAME = @PACKAGE_NAME@ | 185 | PACKAGE_NAME = @PACKAGE_NAME@ |
1100 | 186 | PACKAGE_STRING = @PACKAGE_STRING@ | 186 | PACKAGE_STRING = @PACKAGE_STRING@ |
1101 | 187 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | 187 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
1102 | 188 | PACKAGE_URL = @PACKAGE_URL@ | ||
1103 | 189 | PACKAGE_VERSION = @PACKAGE_VERSION@ | 188 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
1104 | 190 | PATH_SEPARATOR = @PATH_SEPARATOR@ | 189 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
1105 | 191 | RANLIB = @RANLIB@ | 190 | RANLIB = @RANLIB@ |
1106 | 192 | 191 | ||
1107 | === modified file 'clamconf/Makefile.in' | |||
1108 | --- clamconf/Makefile.in 2011-02-19 09:51:33 +0000 | |||
1109 | +++ clamconf/Makefile.in 2013-04-03 16:48:24 +0000 | |||
1110 | @@ -203,7 +203,6 @@ | |||
1111 | 203 | PACKAGE_NAME = @PACKAGE_NAME@ | 203 | PACKAGE_NAME = @PACKAGE_NAME@ |
1112 | 204 | PACKAGE_STRING = @PACKAGE_STRING@ | 204 | PACKAGE_STRING = @PACKAGE_STRING@ |
1113 | 205 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | 205 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
1114 | 206 | PACKAGE_URL = @PACKAGE_URL@ | ||
1115 | 207 | PACKAGE_VERSION = @PACKAGE_VERSION@ | 206 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
1116 | 208 | PATH_SEPARATOR = @PATH_SEPARATOR@ | 207 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
1117 | 209 | RANLIB = @RANLIB@ | 208 | RANLIB = @RANLIB@ |
1118 | 210 | 209 | ||
1119 | === modified file 'clamd/Makefile.in' | |||
1120 | --- clamd/Makefile.in 2011-02-19 09:51:33 +0000 | |||
1121 | +++ clamd/Makefile.in 2013-04-03 16:48:24 +0000 | |||
1122 | @@ -221,7 +221,6 @@ | |||
1123 | 221 | PACKAGE_NAME = @PACKAGE_NAME@ | 221 | PACKAGE_NAME = @PACKAGE_NAME@ |
1124 | 222 | PACKAGE_STRING = @PACKAGE_STRING@ | 222 | PACKAGE_STRING = @PACKAGE_STRING@ |
1125 | 223 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | 223 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
1126 | 224 | PACKAGE_URL = @PACKAGE_URL@ | ||
1127 | 225 | PACKAGE_VERSION = @PACKAGE_VERSION@ | 224 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
1128 | 226 | PATH_SEPARATOR = @PATH_SEPARATOR@ | 225 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
1129 | 227 | RANLIB = @RANLIB@ | 226 | RANLIB = @RANLIB@ |
1130 | 228 | 227 | ||
1131 | === modified file 'clamd/scanner.c' | |||
1132 | --- clamd/scanner.c 2011-06-18 11:56:34 +0000 | |||
1133 | +++ clamd/scanner.c 2013-04-03 16:48:24 +0000 | |||
1134 | @@ -107,6 +107,7 @@ | |||
1135 | 107 | { | 107 | { |
1136 | 108 | struct scan_cb_data *scandata = data->data; | 108 | struct scan_cb_data *scandata = data->data; |
1137 | 109 | const char *virname; | 109 | const char *virname; |
1138 | 110 | const char **virpp = &virname; | ||
1139 | 110 | int ret; | 111 | int ret; |
1140 | 111 | int type = scandata->type; | 112 | int type = scandata->type; |
1141 | 112 | struct cb_context context; | 113 | struct cb_context context; |
1142 | @@ -228,11 +229,18 @@ | |||
1143 | 228 | type == TYPE_MULTISCAN ? "MULTISCANFILE" : NULL); | 229 | type == TYPE_MULTISCAN ? "MULTISCANFILE" : NULL); |
1144 | 229 | context.filename = filename; | 230 | context.filename = filename; |
1145 | 230 | context.virsize = 0; | 231 | context.virsize = 0; |
1147 | 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); |
1148 | 232 | thrmgr_setactivetask(NULL, NULL); | 233 | thrmgr_setactivetask(NULL, NULL); |
1149 | 233 | 234 | ||
1150 | 235 | if (scandata->options & CL_SCAN_ALLMATCHES) { | ||
1151 | 236 | virpp = (const char **)*virpp; /* temp hack for scanall mode until api augmentation */ | ||
1152 | 237 | virname = virpp[0]; | ||
1153 | 238 | } | ||
1154 | 239 | |||
1155 | 234 | if (thrmgr_group_need_terminate(scandata->conn->group)) { | 240 | if (thrmgr_group_need_terminate(scandata->conn->group)) { |
1156 | 235 | free(filename); | 241 | free(filename); |
1157 | 242 | if (ret == CL_VIRUS && scandata->options & CL_SCAN_ALLMATCHES) | ||
1158 | 243 | free((void *)virpp); | ||
1159 | 236 | logg("*Client disconnected while scanjob was active\n"); | 244 | logg("*Client disconnected while scanjob was active\n"); |
1160 | 237 | return ret == CL_ETIMEOUT ? ret : CL_BREAK; | 245 | return ret == CL_ETIMEOUT ? ret : CL_BREAK; |
1161 | 238 | } | 246 | } |
1162 | @@ -241,8 +249,19 @@ | |||
1163 | 241 | scandata->infected++; | 249 | scandata->infected++; |
1164 | 242 | if (conn_reply_virus(scandata->conn, filename, virname) == -1) { | 250 | if (conn_reply_virus(scandata->conn, filename, virname) == -1) { |
1165 | 243 | free(filename); | 251 | free(filename); |
1166 | 252 | if (scandata->options & CL_SCAN_ALLMATCHES) | ||
1167 | 253 | free((void *)virpp); | ||
1168 | 244 | return CL_ETIMEOUT; | 254 | return CL_ETIMEOUT; |
1169 | 245 | } | 255 | } |
1170 | 256 | if (scandata->options & CL_SCAN_ALLMATCHES && virpp[1] != NULL) { | ||
1171 | 257 | int i = 1; | ||
1172 | 258 | while (NULL != virpp[i]) | ||
1173 | 259 | if (conn_reply_virus(scandata->conn, filename, virpp[i++]) == -1) { | ||
1174 | 260 | free(filename); | ||
1175 | 261 | free((void *)virpp); | ||
1176 | 262 | return CL_ETIMEOUT; | ||
1177 | 263 | } | ||
1178 | 264 | } | ||
1179 | 246 | if(context.virsize) | 265 | if(context.virsize) |
1180 | 247 | detstats_add(virname, filename, context.virsize, context.virhash); | 266 | detstats_add(virname, filename, context.virsize, context.virhash); |
1181 | 248 | if(context.virsize && optget(scandata->opts, "ExtendedDetectionInfo")->enabled) | 267 | if(context.virsize && optget(scandata->opts, "ExtendedDetectionInfo")->enabled) |
1182 | @@ -250,6 +269,11 @@ | |||
1183 | 250 | else | 269 | else |
1184 | 251 | logg("~%s: %s FOUND\n", filename, virname); | 270 | logg("~%s: %s FOUND\n", filename, virname); |
1185 | 252 | virusaction(filename, virname, scandata->opts); | 271 | virusaction(filename, virname, scandata->opts); |
1186 | 272 | if (scandata->options & CL_SCAN_ALLMATCHES && virpp[1] != NULL) { | ||
1187 | 273 | int i = 1; | ||
1188 | 274 | while (NULL != virpp[i]) | ||
1189 | 275 | logg("~%s: %s FOUND\n", filename, virpp[i++]); | ||
1190 | 276 | } | ||
1191 | 253 | } else if (ret != CL_CLEAN) { | 277 | } else if (ret != CL_CLEAN) { |
1192 | 254 | scandata->errors++; | 278 | scandata->errors++; |
1193 | 255 | if (conn_reply(scandata->conn, filename, cl_strerror(ret), "ERROR") == -1) { | 279 | if (conn_reply(scandata->conn, filename, cl_strerror(ret), "ERROR") == -1) { |
1194 | @@ -262,6 +286,8 @@ | |||
1195 | 262 | } | 286 | } |
1196 | 263 | 287 | ||
1197 | 264 | free(filename); | 288 | free(filename); |
1198 | 289 | if (ret == CL_VIRUS && scandata->options & CL_SCAN_ALLMATCHES) | ||
1199 | 290 | free((void *)virpp); | ||
1200 | 265 | if(ret == CL_EMEM) /* stop scanning */ | 291 | if(ret == CL_EMEM) /* stop scanning */ |
1201 | 266 | return ret; | 292 | return ret; |
1202 | 267 | 293 | ||
1203 | 268 | 294 | ||
1204 | === modified file 'clamd/session.c' | |||
1205 | --- clamd/session.c 2011-06-18 11:56:34 +0000 | |||
1206 | +++ clamd/session.c 2013-04-03 16:48:24 +0000 | |||
1207 | @@ -94,7 +94,8 @@ | |||
1208 | 94 | {CMD16, sizeof(CMD16)-1, COMMAND_IDSESSION, 0, 0, 1}, | 94 | {CMD16, sizeof(CMD16)-1, COMMAND_IDSESSION, 0, 0, 1}, |
1209 | 95 | {CMD17, sizeof(CMD17)-1, COMMAND_INSTREAM, 0, 0, 1}, | 95 | {CMD17, sizeof(CMD17)-1, COMMAND_INSTREAM, 0, 0, 1}, |
1210 | 96 | {CMD19, sizeof(CMD19)-1, COMMAND_DETSTATSCLEAR, 0, 1, 1}, | 96 | {CMD19, sizeof(CMD19)-1, COMMAND_DETSTATSCLEAR, 0, 1, 1}, |
1212 | 97 | {CMD20, sizeof(CMD20)-1, COMMAND_DETSTATS, 0, 1, 1} | 97 | {CMD20, sizeof(CMD20)-1, COMMAND_DETSTATS, 0, 1, 1}, |
1213 | 98 | {CMD21, sizeof(CMD21)-1, COMMAND_ALLMATCHSCAN, 1, 0, 1} | ||
1214 | 98 | }; | 99 | }; |
1215 | 99 | 100 | ||
1216 | 100 | enum commands parse_command(const char *cmd, const char **argument, int oldstyle) | 101 | enum commands parse_command(const char *cmd, const char **argument, int oldstyle) |
1217 | @@ -346,7 +347,11 @@ | |||
1218 | 346 | conn->scanfd = -1; | 347 | conn->scanfd = -1; |
1219 | 347 | cli_unlink(conn->filename); | 348 | cli_unlink(conn->filename); |
1220 | 348 | return ret; | 349 | return ret; |
1222 | 349 | default: | 350 | case COMMAND_ALLMATCHSCAN: |
1223 | 351 | thrmgr_setactivetask(NULL, "ALLMATCHSCAN"); | ||
1224 | 352 | scandata.options |= CL_SCAN_ALLMATCHES; | ||
1225 | 353 | type = TYPE_SCAN; | ||
1226 | 354 | break;default: | ||
1227 | 350 | logg("!Invalid command distpached: %d\n", conn->cmdtype); | 355 | logg("!Invalid command distpached: %d\n", conn->cmdtype); |
1228 | 351 | return 1; | 356 | return 1; |
1229 | 352 | } | 357 | } |
1230 | @@ -420,6 +425,7 @@ | |||
1231 | 420 | case COMMAND_SCAN: | 425 | case COMMAND_SCAN: |
1232 | 421 | case COMMAND_CONTSCAN: | 426 | case COMMAND_CONTSCAN: |
1233 | 422 | case COMMAND_MULTISCAN: | 427 | case COMMAND_MULTISCAN: |
1234 | 428 | case COMMAND_ALLMATCHSCAN: | ||
1235 | 423 | dup_conn->filename = strdup(argument); | 429 | dup_conn->filename = strdup(argument); |
1236 | 424 | if (!dup_conn->filename) { | 430 | if (!dup_conn->filename) { |
1237 | 425 | logg("!Failed to allocate memory for filename\n"); | 431 | logg("!Failed to allocate memory for filename\n"); |
1238 | @@ -591,6 +597,7 @@ | |||
1239 | 591 | case COMMAND_FILDES: | 597 | case COMMAND_FILDES: |
1240 | 592 | case COMMAND_SCAN: | 598 | case COMMAND_SCAN: |
1241 | 593 | case COMMAND_INSTREAMSCAN: | 599 | case COMMAND_INSTREAMSCAN: |
1242 | 600 | case COMMAND_ALLMATCHSCAN: | ||
1243 | 594 | return dispatch_command(conn, cmd, argument); | 601 | return dispatch_command(conn, cmd, argument); |
1244 | 595 | case COMMAND_IDSESSION: | 602 | case COMMAND_IDSESSION: |
1245 | 596 | conn->group = thrmgr_group_new(); | 603 | conn->group = thrmgr_group_new(); |
1246 | 597 | 604 | ||
1247 | === modified file 'clamd/session.h' | |||
1248 | --- clamd/session.h 2011-02-19 09:51:33 +0000 | |||
1249 | +++ clamd/session.h 2013-04-03 16:48:24 +0000 | |||
1250 | @@ -43,6 +43,8 @@ | |||
1251 | 43 | #define CMD19 "DETSTATSCLEAR" | 43 | #define CMD19 "DETSTATSCLEAR" |
1252 | 44 | #define CMD20 "DETSTATS" | 44 | #define CMD20 "DETSTATS" |
1253 | 45 | 45 | ||
1254 | 46 | #define CMD21 "ALLMATCHSCAN" | ||
1255 | 47 | |||
1256 | 46 | #include "libclamav/clamav.h" | 48 | #include "libclamav/clamav.h" |
1257 | 47 | #include "shared/optparser.h" | 49 | #include "shared/optparser.h" |
1258 | 48 | #include "server.h" | 50 | #include "server.h" |
1259 | @@ -70,7 +72,8 @@ | |||
1260 | 70 | COMMAND_DETSTATS, | 72 | COMMAND_DETSTATS, |
1261 | 71 | /* internal commands */ | 73 | /* internal commands */ |
1262 | 72 | COMMAND_MULTISCANFILE, | 74 | COMMAND_MULTISCANFILE, |
1264 | 73 | COMMAND_INSTREAMSCAN | 75 | COMMAND_INSTREAMSCAN, |
1265 | 76 | COMMAND_ALLMATCHSCAN | ||
1266 | 74 | }; | 77 | }; |
1267 | 75 | 78 | ||
1268 | 76 | typedef struct client_conn_tag { | 79 | typedef struct client_conn_tag { |
1269 | 77 | 80 | ||
1270 | === modified file 'clamdscan/Makefile.in' | |||
1271 | --- clamdscan/Makefile.in 2011-02-19 09:51:33 +0000 | |||
1272 | +++ clamdscan/Makefile.in 2013-04-03 16:48:24 +0000 | |||
1273 | @@ -214,7 +214,6 @@ | |||
1274 | 214 | PACKAGE_NAME = @PACKAGE_NAME@ | 214 | PACKAGE_NAME = @PACKAGE_NAME@ |
1275 | 215 | PACKAGE_STRING = @PACKAGE_STRING@ | 215 | PACKAGE_STRING = @PACKAGE_STRING@ |
1276 | 216 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | 216 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
1277 | 217 | PACKAGE_URL = @PACKAGE_URL@ | ||
1278 | 218 | PACKAGE_VERSION = @PACKAGE_VERSION@ | 217 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
1279 | 219 | PATH_SEPARATOR = @PATH_SEPARATOR@ | 218 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
1280 | 220 | RANLIB = @RANLIB@ | 219 | RANLIB = @RANLIB@ |
1281 | 221 | 220 | ||
1282 | === modified file 'clamdscan/client.c' | |||
1283 | --- clamdscan/client.c 2011-06-18 11:56:34 +0000 | |||
1284 | +++ clamdscan/client.c 2013-04-03 16:48:24 +0000 | |||
1285 | @@ -232,7 +232,9 @@ | |||
1286 | 232 | if(remote || scandash) { | 232 | if(remote || scandash) { |
1287 | 233 | scantype = STREAM; | 233 | scantype = STREAM; |
1288 | 234 | session = optget(opts, "multiscan")->enabled; | 234 | session = optget(opts, "multiscan")->enabled; |
1290 | 235 | } else if(optget(opts, "multiscan")->enabled) scantype = MULTI; | 235 | } |
1291 | 236 | else if(optget(opts, "multiscan")->enabled) scantype = MULTI; | ||
1292 | 237 | else if(optget(opts, "allmatch")->enabled) scantype = ALLMATCH; | ||
1293 | 236 | else scantype = CONT; | 238 | else scantype = CONT; |
1294 | 237 | 239 | ||
1295 | 238 | maxrec = optget(clamdopts, "MaxDirectoryRecursion")->numarg; | 240 | maxrec = optget(clamdopts, "MaxDirectoryRecursion")->numarg; |
1296 | 239 | 241 | ||
1297 | === modified file 'clamdscan/client.h' | |||
1298 | --- clamdscan/client.h 2010-05-20 22:09:21 +0000 | |||
1299 | +++ clamdscan/client.h 2013-04-03 16:48:24 +0000 | |||
1300 | @@ -27,7 +27,9 @@ | |||
1301 | 27 | CONT, | 27 | CONT, |
1302 | 28 | MULTI, | 28 | MULTI, |
1303 | 29 | STREAM, | 29 | STREAM, |
1305 | 30 | FILDES | 30 | FILDES, |
1306 | 31 | ALLMATCH, | ||
1307 | 32 | MAX_SCANTYPE = ALLMATCH | ||
1308 | 31 | }; | 33 | }; |
1309 | 32 | 34 | ||
1310 | 33 | int client(const struct optstruct *opts, int *infected, int *err); | 35 | int client(const struct optstruct *opts, int *infected, int *err); |
1311 | 34 | 36 | ||
1312 | === modified file 'clamdscan/proto.c' | |||
1313 | --- clamdscan/proto.c 2011-06-18 11:56:34 +0000 | |||
1314 | +++ clamdscan/proto.c 2013-04-03 16:48:24 +0000 | |||
1315 | @@ -58,7 +58,7 @@ | |||
1316 | 58 | int printinfected; | 58 | int printinfected; |
1317 | 59 | extern struct optstruct *clamdopts; | 59 | extern struct optstruct *clamdopts; |
1318 | 60 | 60 | ||
1320 | 61 | static const char *scancmd[] = { "CONTSCAN", "MULTISCAN" }; | 61 | static const char *scancmd[] = { "CONTSCAN", "MULTISCAN", "INSTREAM", "FILDES", "ALLMATCHSCAN" }; |
1321 | 62 | 62 | ||
1322 | 63 | /* Connects to clamd | 63 | /* Connects to clamd |
1323 | 64 | * Returns a FD or -1 on error */ | 64 | * Returns a FD or -1 on error */ |
1324 | @@ -202,6 +202,11 @@ | |||
1325 | 202 | switch(scantype) { | 202 | switch(scantype) { |
1326 | 203 | case MULTI: | 203 | case MULTI: |
1327 | 204 | case CONT: | 204 | case CONT: |
1328 | 205 | case ALLMATCH: | ||
1329 | 206 | if (!filename) { | ||
1330 | 207 | logg("Filename cannot be NULL for MULTISCAN or CONTSCAN.\n"); | ||
1331 | 208 | return -1; | ||
1332 | 209 | } | ||
1333 | 205 | len = strlen(filename) + strlen(scancmd[scantype]) + 3; | 210 | len = strlen(filename) + strlen(scancmd[scantype]) + 3; |
1334 | 206 | if (!(bol = malloc(len))) { | 211 | if (!(bol = malloc(len))) { |
1335 | 207 | logg("!Cannot allocate a command buffer: %s\n", strerror(errno)); | 212 | logg("!Cannot allocate a command buffer: %s\n", strerror(errno)); |
1336 | @@ -247,7 +252,13 @@ | |||
1337 | 247 | colon = strrchr(bol, ':'); | 252 | colon = strrchr(bol, ':'); |
1338 | 248 | } | 253 | } |
1339 | 249 | if(!colon) { | 254 | if(!colon) { |
1341 | 250 | logg("Failed to parse reply\n"); | 255 | char * unkco = "UNKNOWN COMMAND"; |
1342 | 256 | if (!strncmp(bol, unkco, sizeof(unkco) - 1)) | ||
1343 | 257 | logg("clamd replied \"UNKNOWN COMMAND\". Command was %s\n", | ||
1344 | 258 | (scantype < 0 || scantype > MAX_SCANTYPE) ? "unidentified" : | ||
1345 | 259 | scancmd[scantype]); | ||
1346 | 260 | else | ||
1347 | 261 | logg("Failed to parse reply: \"%s\"\n", bol); | ||
1348 | 251 | return -1; | 262 | return -1; |
1349 | 252 | } else if(!memcmp(eol - 7, " FOUND", 6)) { | 263 | } else if(!memcmp(eol - 7, " FOUND", 6)) { |
1350 | 253 | *(eol - 7) = 0; | 264 | *(eol - 7) = 0; |
1351 | 254 | 265 | ||
1352 | === modified file 'clamdtop/Makefile.in' | |||
1353 | --- clamdtop/Makefile.in 2011-02-19 09:51:33 +0000 | |||
1354 | +++ clamdtop/Makefile.in 2013-04-03 16:48:24 +0000 | |||
1355 | @@ -214,7 +214,6 @@ | |||
1356 | 214 | PACKAGE_NAME = @PACKAGE_NAME@ | 214 | PACKAGE_NAME = @PACKAGE_NAME@ |
1357 | 215 | PACKAGE_STRING = @PACKAGE_STRING@ | 215 | PACKAGE_STRING = @PACKAGE_STRING@ |
1358 | 216 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | 216 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
1359 | 217 | PACKAGE_URL = @PACKAGE_URL@ | ||
1360 | 218 | PACKAGE_VERSION = @PACKAGE_VERSION@ | 217 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
1361 | 219 | PATH_SEPARATOR = @PATH_SEPARATOR@ | 218 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
1362 | 220 | RANLIB = @RANLIB@ | 219 | RANLIB = @RANLIB@ |
1363 | 221 | 220 | ||
1364 | === modified file 'clamscan/Makefile.in' | |||
1365 | --- clamscan/Makefile.in 2011-02-19 09:51:33 +0000 | |||
1366 | +++ clamscan/Makefile.in 2013-04-03 16:48:24 +0000 | |||
1367 | @@ -205,7 +205,6 @@ | |||
1368 | 205 | PACKAGE_NAME = @PACKAGE_NAME@ | 205 | PACKAGE_NAME = @PACKAGE_NAME@ |
1369 | 206 | PACKAGE_STRING = @PACKAGE_STRING@ | 206 | PACKAGE_STRING = @PACKAGE_STRING@ |
1370 | 207 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | 207 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
1371 | 208 | PACKAGE_URL = @PACKAGE_URL@ | ||
1372 | 209 | PACKAGE_VERSION = @PACKAGE_VERSION@ | 208 | PACKAGE_VERSION = @PACKAGE_VERSION@ |
1373 | 210 | PATH_SEPARATOR = @PATH_SEPARATOR@ | 209 | PATH_SEPARATOR = @PATH_SEPARATOR@ |
1374 | 211 | RANLIB = @RANLIB@ | 210 | RANLIB = @RANLIB@ |
1375 | 212 | 211 | ||
1376 | === modified file 'clamscan/manager.c' | |||
1377 | --- clamscan/manager.c 2011-06-18 11:56:34 +0000 | |||
1378 | +++ clamscan/manager.c 2013-04-03 16:48:24 +0000 | |||
1379 | @@ -125,6 +125,7 @@ | |||
1380 | 125 | int ret = 0, fd, included, printclean = 1; | 125 | int ret = 0, fd, included, printclean = 1; |
1381 | 126 | const struct optstruct *opt; | 126 | const struct optstruct *opt; |
1382 | 127 | const char *virname; | 127 | const char *virname; |
1383 | 128 | const char **virpp = &virname; | ||
1384 | 128 | struct stat sb; | 129 | struct stat sb; |
1385 | 129 | 130 | ||
1386 | 130 | if((opt = optget(opts, "exclude"))->enabled) { | 131 | if((opt = optget(opts, "exclude"))->enabled) { |
1387 | @@ -190,7 +191,16 @@ | |||
1388 | 190 | } | 191 | } |
1389 | 191 | 192 | ||
1390 | 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) { |
1392 | 193 | logg("~%s: %s FOUND\n", filename, virname); | 194 | if (options & CL_SCAN_ALLMATCHES) { |
1393 | 195 | int i = 0; | ||
1394 | 196 | virpp = (const char **)*virpp; /* temp hack for allscan until API enhancement */ | ||
1395 | 197 | virname = virpp[0]; | ||
1396 | 198 | while (virpp[i]) | ||
1397 | 199 | logg("~%s: %s FOUND\n", filename, virpp[i++]); | ||
1398 | 200 | free((void *)virpp); | ||
1399 | 201 | } | ||
1400 | 202 | else | ||
1401 | 203 | logg("~%s: %s FOUND\n", filename, virname); | ||
1402 | 194 | info.files++; | 204 | info.files++; |
1403 | 195 | info.ifiles++; | 205 | info.ifiles++; |
1404 | 196 | 206 | ||
1405 | @@ -319,6 +329,8 @@ | |||
1406 | 319 | int ret; | 329 | int ret; |
1407 | 320 | unsigned int fsize = 0; | 330 | unsigned int fsize = 0; |
1408 | 321 | const char *virname, *tmpdir; | 331 | const char *virname, *tmpdir; |
1409 | 332 | const char **virpp = &virname; | ||
1410 | 333 | |||
1411 | 322 | char *file, buff[FILEBUFF]; | 334 | char *file, buff[FILEBUFF]; |
1412 | 323 | size_t bread; | 335 | size_t bread; |
1413 | 324 | FILE *fs; | 336 | FILE *fs; |
1414 | @@ -358,7 +370,17 @@ | |||
1415 | 358 | info.rblocks += fsize / CL_COUNT_PRECISION; | 370 | info.rblocks += fsize / CL_COUNT_PRECISION; |
1416 | 359 | 371 | ||
1417 | 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) { |
1419 | 361 | logg("stdin: %s FOUND\n", virname); | 373 | if (options & CL_SCAN_ALLMATCHES) { |
1420 | 374 | int i = 0; | ||
1421 | 375 | virpp = (const char **)*virpp; /* temp hack for scanall mode until api augmentation */ | ||
1422 | 376 | virname = virpp[0]; | ||
1423 | 377 | while (virpp[i]) | ||
1424 | 378 | logg("stdin: %s FOUND\n", virpp[i++]); | ||
1425 | 379 | free((void *)virpp); | ||
1426 | 380 | } | ||
1427 | 381 | else | ||
1428 | 382 | logg("stdin: %s FOUND\n", virname); | ||
1429 | 383 | |||
1430 | 362 | info.ifiles++; | 384 | info.ifiles++; |
1431 | 363 | 385 | ||
1432 | 364 | if(bell) | 386 | if(bell) |
1433 | @@ -587,6 +609,9 @@ | |||
1434 | 587 | } | 609 | } |
1435 | 588 | 610 | ||
1436 | 589 | /* set scan options */ | 611 | /* set scan options */ |
1437 | 612 | if(optget(opts, "allmatch")->enabled) | ||
1438 | 613 | options |= CL_SCAN_ALLMATCHES; | ||
1439 | 614 | |||
1440 | 590 | if(optget(opts,"phishing-ssl")->enabled) | 615 | if(optget(opts,"phishing-ssl")->enabled) |
1441 | 591 | options |= CL_SCAN_PHISHING_BLOCKSSL; | 616 | options |= CL_SCAN_PHISHING_BLOCKSSL; |
1442 | 592 | 617 | ||
1443 | 593 | 618 | ||
1444 | === modified file 'configure' | |||
1445 | --- configure 2012-10-08 12:29:39 +0000 | |||
1446 | +++ configure 2013-04-03 16:48:24 +0000 | |||
1447 | @@ -1,24 +1,20 @@ | |||
1448 | 1 | #! /bin/sh | 1 | #! /bin/sh |
1449 | 2 | # Guess values for system-dependent variables and create Makefiles. | 2 | # Guess values for system-dependent variables and create Makefiles. |
1451 | 3 | # Generated by GNU Autoconf 2.65 for ClamAV 0.97.6. | 3 | # Generated by GNU Autoconf 2.63 for ClamAV 0.97.7. |
1452 | 4 | # | 4 | # |
1453 | 5 | # Report bugs to <http://bugs.clamav.net/>. | 5 | # Report bugs to <http://bugs.clamav.net/>. |
1454 | 6 | # | 6 | # |
1455 | 7 | # | ||
1456 | 8 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 7 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
1461 | 9 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, | 8 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
1458 | 10 | # Inc. | ||
1459 | 11 | # | ||
1460 | 12 | # | ||
1462 | 13 | # This configure script is free software; the Free Software Foundation | 9 | # This configure script is free software; the Free Software Foundation |
1463 | 14 | # gives unlimited permission to copy, distribute and modify it. | 10 | # gives unlimited permission to copy, distribute and modify it. |
1467 | 15 | ## -------------------- ## | 11 | ## --------------------- ## |
1468 | 16 | ## M4sh Initialization. ## | 12 | ## M4sh Initialization. ## |
1469 | 17 | ## -------------------- ## | 13 | ## --------------------- ## |
1470 | 18 | 14 | ||
1471 | 19 | # Be more Bourne compatible | 15 | # Be more Bourne compatible |
1472 | 20 | DUALCASE=1; export DUALCASE # for MKS sh | 16 | DUALCASE=1; export DUALCASE # for MKS sh |
1474 | 21 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 17 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
1475 | 22 | emulate sh | 18 | emulate sh |
1476 | 23 | NULLCMD=: | 19 | NULLCMD=: |
1477 | 24 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 20 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
1478 | @@ -26,15 +22,23 @@ | |||
1479 | 26 | alias -g '${1+"$@"}'='"$@"' | 22 | alias -g '${1+"$@"}'='"$@"' |
1480 | 27 | setopt NO_GLOB_SUBST | 23 | setopt NO_GLOB_SUBST |
1481 | 28 | else | 24 | else |
1487 | 29 | case `(set -o) 2>/dev/null` in #( | 25 | case `(set -o) 2>/dev/null` in |
1488 | 30 | *posix*) : | 26 | *posix*) set -o posix ;; |
1484 | 31 | set -o posix ;; #( | ||
1485 | 32 | *) : | ||
1486 | 33 | ;; | ||
1489 | 34 | esac | 27 | esac |
1490 | 28 | |||
1491 | 35 | fi | 29 | fi |
1492 | 36 | 30 | ||
1493 | 37 | 31 | ||
1494 | 32 | |||
1495 | 33 | |||
1496 | 34 | # PATH needs CR | ||
1497 | 35 | # Avoid depending upon Character Ranges. | ||
1498 | 36 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
1499 | 37 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
1500 | 38 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
1501 | 39 | as_cr_digits='0123456789' | ||
1502 | 40 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
1503 | 41 | |||
1504 | 38 | as_nl=' | 42 | as_nl=' |
1505 | 39 | ' | 43 | ' |
1506 | 40 | export as_nl | 44 | export as_nl |
1507 | @@ -42,13 +46,7 @@ | |||
1508 | 42 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 46 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
1509 | 43 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 47 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
1510 | 44 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 48 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
1518 | 45 | # Prefer a ksh shell builtin over an external printf program on Solaris, | 49 | if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
1512 | 46 | # but without wasting forks for bash or zsh. | ||
1513 | 47 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | ||
1514 | 48 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
1515 | 49 | as_echo='print -r --' | ||
1516 | 50 | as_echo_n='print -rn --' | ||
1517 | 51 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | ||
1519 | 52 | as_echo='printf %s\n' | 50 | as_echo='printf %s\n' |
1520 | 53 | as_echo_n='printf %s' | 51 | as_echo_n='printf %s' |
1521 | 54 | else | 52 | else |
1522 | @@ -59,7 +57,7 @@ | |||
1523 | 59 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
1524 | 60 | as_echo_n_body='eval | 58 | as_echo_n_body='eval |
1525 | 61 | arg=$1; | 59 | arg=$1; |
1527 | 62 | case $arg in #( | 60 | case $arg in |
1528 | 63 | *"$as_nl"*) | 61 | *"$as_nl"*) |
1529 | 64 | expr "X$arg" : "X\\(.*\\)$as_nl"; | 62 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
1530 | 65 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
1531 | @@ -82,6 +80,13 @@ | |||
1532 | 82 | } | 80 | } |
1533 | 83 | fi | 81 | fi |
1534 | 84 | 82 | ||
1535 | 83 | # Support unset when possible. | ||
1536 | 84 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | ||
1537 | 85 | as_unset=unset | ||
1538 | 86 | else | ||
1539 | 87 | as_unset=false | ||
1540 | 88 | fi | ||
1541 | 89 | |||
1542 | 85 | 90 | ||
1543 | 86 | # IFS | 91 | # IFS |
1544 | 87 | # We need space, tab and new line, in precisely that order. Quoting is | 92 | # We need space, tab and new line, in precisely that order. Quoting is |
1545 | @@ -91,15 +96,15 @@ | |||
1546 | 91 | IFS=" "" $as_nl" | 96 | IFS=" "" $as_nl" |
1547 | 92 | 97 | ||
1548 | 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. |
1550 | 94 | case $0 in #(( | 99 | case $0 in |
1551 | 95 | *[\\/]* ) as_myself=$0 ;; | 100 | *[\\/]* ) as_myself=$0 ;; |
1552 | 96 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 101 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1553 | 97 | for as_dir in $PATH | 102 | for as_dir in $PATH |
1554 | 98 | do | 103 | do |
1555 | 99 | IFS=$as_save_IFS | 104 | IFS=$as_save_IFS |
1556 | 100 | test -z "$as_dir" && as_dir=. | 105 | test -z "$as_dir" && as_dir=. |
1559 | 101 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 106 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
1560 | 102 | done | 107 | done |
1561 | 103 | IFS=$as_save_IFS | 108 | IFS=$as_save_IFS |
1562 | 104 | 109 | ||
1563 | 105 | ;; | 110 | ;; |
1564 | @@ -111,16 +116,12 @@ | |||
1565 | 111 | fi | 116 | fi |
1566 | 112 | if test ! -f "$as_myself"; then | 117 | if test ! -f "$as_myself"; then |
1567 | 113 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 118 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
1569 | 114 | exit 1 | 119 | { (exit 1); exit 1; } |
1570 | 115 | fi | 120 | fi |
1571 | 116 | 121 | ||
1579 | 117 | # Unset variables that we do not need and which cause bugs (e.g. in | 122 | # Work around bugs in pre-3.0 UWIN ksh. |
1580 | 118 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 123 | for as_var in ENV MAIL MAILPATH |
1581 | 119 | # suppresses any "Segmentation fault" message there. '((' could | 124 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var |
1575 | 120 | # trigger a bug in pdksh 5.2.14. | ||
1576 | 121 | for as_var in BASH_ENV ENV MAIL MAILPATH | ||
1577 | 122 | do eval test x\${$as_var+set} = xset \ | ||
1578 | 123 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | ||
1582 | 124 | done | 125 | done |
1583 | 125 | PS1='$ ' | 126 | PS1='$ ' |
1584 | 126 | PS2='> ' | 127 | PS2='> ' |
1585 | @@ -132,300 +133,330 @@ | |||
1586 | 132 | LANGUAGE=C | 133 | LANGUAGE=C |
1587 | 133 | export LANGUAGE | 134 | export LANGUAGE |
1588 | 134 | 135 | ||
1589 | 136 | # Required to use basename. | ||
1590 | 137 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
1591 | 138 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
1592 | 139 | as_expr=expr | ||
1593 | 140 | else | ||
1594 | 141 | as_expr=false | ||
1595 | 142 | fi | ||
1596 | 143 | |||
1597 | 144 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
1598 | 145 | as_basename=basename | ||
1599 | 146 | else | ||
1600 | 147 | as_basename=false | ||
1601 | 148 | fi | ||
1602 | 149 | |||
1603 | 150 | |||
1604 | 151 | # Name of the executable. | ||
1605 | 152 | as_me=`$as_basename -- "$0" || | ||
1606 | 153 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
1607 | 154 | X"$0" : 'X\(//\)$' \| \ | ||
1608 | 155 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
1609 | 156 | $as_echo X/"$0" | | ||
1610 | 157 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
1611 | 158 | s//\1/ | ||
1612 | 159 | q | ||
1613 | 160 | } | ||
1614 | 161 | /^X\/\(\/\/\)$/{ | ||
1615 | 162 | s//\1/ | ||
1616 | 163 | q | ||
1617 | 164 | } | ||
1618 | 165 | /^X\/\(\/\).*/{ | ||
1619 | 166 | s//\1/ | ||
1620 | 167 | q | ||
1621 | 168 | } | ||
1622 | 169 | s/.*/./; q'` | ||
1623 | 170 | |||
1624 | 135 | # CDPATH. | 171 | # CDPATH. |
1626 | 136 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 172 | $as_unset CDPATH |
1627 | 173 | |||
1628 | 137 | 174 | ||
1629 | 138 | if test "x$CONFIG_SHELL" = x; then | 175 | if test "x$CONFIG_SHELL" = x; then |
1669 | 139 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | 176 | if (eval ":") 2>/dev/null; then |
1631 | 140 | emulate sh | ||
1632 | 141 | NULLCMD=: | ||
1633 | 142 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | ||
1634 | 143 | # is contrary to our usage. Disable this feature. | ||
1635 | 144 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | ||
1636 | 145 | setopt NO_GLOB_SUBST | ||
1637 | 146 | else | ||
1638 | 147 | case \`(set -o) 2>/dev/null\` in #( | ||
1639 | 148 | *posix*) : | ||
1640 | 149 | set -o posix ;; #( | ||
1641 | 150 | *) : | ||
1642 | 151 | ;; | ||
1643 | 152 | esac | ||
1644 | 153 | fi | ||
1645 | 154 | " | ||
1646 | 155 | as_required="as_fn_return () { (exit \$1); } | ||
1647 | 156 | as_fn_success () { as_fn_return 0; } | ||
1648 | 157 | as_fn_failure () { as_fn_return 1; } | ||
1649 | 158 | as_fn_ret_success () { return 0; } | ||
1650 | 159 | as_fn_ret_failure () { return 1; } | ||
1651 | 160 | |||
1652 | 161 | exitcode=0 | ||
1653 | 162 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } | ||
1654 | 163 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | ||
1655 | 164 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | ||
1656 | 165 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | ||
1657 | 166 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | ||
1658 | 167 | |||
1659 | 168 | else | ||
1660 | 169 | exitcode=1; echo positional parameters were not saved. | ||
1661 | 170 | fi | ||
1662 | 171 | test x\$exitcode = x0 || exit 1" | ||
1663 | 172 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | ||
1664 | 173 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | ||
1665 | 174 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | ||
1666 | 175 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | ||
1667 | 176 | test \$(( 1 + 1 )) = 2 || exit 1" | ||
1668 | 177 | if (eval "$as_required") 2>/dev/null; then : | ||
1670 | 178 | as_have_required=yes | 177 | as_have_required=yes |
1671 | 179 | else | 178 | else |
1672 | 180 | as_have_required=no | 179 | as_have_required=no |
1673 | 181 | fi | 180 | fi |
1679 | 182 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | 181 | |
1680 | 183 | 182 | if test $as_have_required = yes && (eval ": | |
1681 | 184 | else | 183 | (as_func_return () { |
1682 | 185 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 184 | (exit \$1) |
1683 | 186 | as_found=false | 185 | } |
1684 | 186 | as_func_success () { | ||
1685 | 187 | as_func_return 0 | ||
1686 | 188 | } | ||
1687 | 189 | as_func_failure () { | ||
1688 | 190 | as_func_return 1 | ||
1689 | 191 | } | ||
1690 | 192 | as_func_ret_success () { | ||
1691 | 193 | return 0 | ||
1692 | 194 | } | ||
1693 | 195 | as_func_ret_failure () { | ||
1694 | 196 | return 1 | ||
1695 | 197 | } | ||
1696 | 198 | |||
1697 | 199 | exitcode=0 | ||
1698 | 200 | if as_func_success; then | ||
1699 | 201 | : | ||
1700 | 202 | else | ||
1701 | 203 | exitcode=1 | ||
1702 | 204 | echo as_func_success failed. | ||
1703 | 205 | fi | ||
1704 | 206 | |||
1705 | 207 | if as_func_failure; then | ||
1706 | 208 | exitcode=1 | ||
1707 | 209 | echo as_func_failure succeeded. | ||
1708 | 210 | fi | ||
1709 | 211 | |||
1710 | 212 | if as_func_ret_success; then | ||
1711 | 213 | : | ||
1712 | 214 | else | ||
1713 | 215 | exitcode=1 | ||
1714 | 216 | echo as_func_ret_success failed. | ||
1715 | 217 | fi | ||
1716 | 218 | |||
1717 | 219 | if as_func_ret_failure; then | ||
1718 | 220 | exitcode=1 | ||
1719 | 221 | echo as_func_ret_failure succeeded. | ||
1720 | 222 | fi | ||
1721 | 223 | |||
1722 | 224 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then | ||
1723 | 225 | : | ||
1724 | 226 | else | ||
1725 | 227 | exitcode=1 | ||
1726 | 228 | echo positional parameters were not saved. | ||
1727 | 229 | fi | ||
1728 | 230 | |||
1729 | 231 | test \$exitcode = 0) || { (exit 1); exit 1; } | ||
1730 | 232 | |||
1731 | 233 | ( | ||
1732 | 234 | as_lineno_1=\$LINENO | ||
1733 | 235 | as_lineno_2=\$LINENO | ||
1734 | 236 | test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && | ||
1735 | 237 | test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } | ||
1736 | 238 | ") 2> /dev/null; then | ||
1737 | 239 | : | ||
1738 | 240 | else | ||
1739 | 241 | as_candidate_shells= | ||
1740 | 242 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
1741 | 187 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 243 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
1742 | 188 | do | 244 | do |
1743 | 189 | IFS=$as_save_IFS | 245 | IFS=$as_save_IFS |
1744 | 190 | test -z "$as_dir" && as_dir=. | 246 | test -z "$as_dir" && as_dir=. |
1747 | 191 | as_found=: | 247 | case $as_dir in |
1746 | 192 | case $as_dir in #( | ||
1748 | 193 | /*) | 248 | /*) |
1749 | 194 | for as_base in sh bash ksh sh5; do | 249 | for as_base in sh bash ksh sh5; do |
1759 | 195 | # Try only shells that exist, to save several forks. | 250 | as_candidate_shells="$as_candidate_shells $as_dir/$as_base" |
1751 | 196 | as_shell=$as_dir/$as_base | ||
1752 | 197 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | ||
1753 | 198 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
1754 | 199 | CONFIG_SHELL=$as_shell as_have_required=yes | ||
1755 | 200 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | ||
1756 | 201 | break 2 | ||
1757 | 202 | fi | ||
1758 | 203 | fi | ||
1760 | 204 | done;; | 251 | done;; |
1761 | 205 | esac | 252 | esac |
1762 | 206 | as_found=false | ||
1763 | 207 | done | 253 | done |
1764 | 208 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | ||
1765 | 209 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | ||
1766 | 210 | CONFIG_SHELL=$SHELL as_have_required=yes | ||
1767 | 211 | fi; } | ||
1768 | 212 | IFS=$as_save_IFS | 254 | IFS=$as_save_IFS |
1769 | 213 | 255 | ||
1770 | 214 | 256 | ||
1778 | 215 | if test "x$CONFIG_SHELL" != x; then : | 257 | for as_shell in $as_candidate_shells $SHELL; do |
1779 | 216 | # We cannot yet assume a decent shell, so we have to provide a | 258 | # Try only shells that exist, to save several forks. |
1780 | 217 | # neutralization value for shells without unset; and this also | 259 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
1781 | 218 | # works around shells that cannot unset nonexistent variables. | 260 | { ("$as_shell") 2> /dev/null <<\_ASEOF |
1782 | 219 | BASH_ENV=/dev/null | 261 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
1783 | 220 | ENV=/dev/null | 262 | emulate sh |
1784 | 221 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | 263 | NULLCMD=: |
1785 | 264 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
1786 | 265 | # is contrary to our usage. Disable this feature. | ||
1787 | 266 | alias -g '${1+"$@"}'='"$@"' | ||
1788 | 267 | setopt NO_GLOB_SUBST | ||
1789 | 268 | else | ||
1790 | 269 | case `(set -o) 2>/dev/null` in | ||
1791 | 270 | *posix*) set -o posix ;; | ||
1792 | 271 | esac | ||
1793 | 272 | |||
1794 | 273 | fi | ||
1795 | 274 | |||
1796 | 275 | |||
1797 | 276 | : | ||
1798 | 277 | _ASEOF | ||
1799 | 278 | }; then | ||
1800 | 279 | CONFIG_SHELL=$as_shell | ||
1801 | 280 | as_have_required=yes | ||
1802 | 281 | if { "$as_shell" 2> /dev/null <<\_ASEOF | ||
1803 | 282 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | ||
1804 | 283 | emulate sh | ||
1805 | 284 | NULLCMD=: | ||
1806 | 285 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | ||
1807 | 286 | # is contrary to our usage. Disable this feature. | ||
1808 | 287 | alias -g '${1+"$@"}'='"$@"' | ||
1809 | 288 | setopt NO_GLOB_SUBST | ||
1810 | 289 | else | ||
1811 | 290 | case `(set -o) 2>/dev/null` in | ||
1812 | 291 | *posix*) set -o posix ;; | ||
1813 | 292 | esac | ||
1814 | 293 | |||
1815 | 294 | fi | ||
1816 | 295 | |||
1817 | 296 | |||
1818 | 297 | : | ||
1819 | 298 | (as_func_return () { | ||
1820 | 299 | (exit $1) | ||
1821 | 300 | } | ||
1822 | 301 | as_func_success () { | ||
1823 | 302 | as_func_return 0 | ||
1824 | 303 | } | ||
1825 | 304 | as_func_failure () { | ||
1826 | 305 | as_func_return 1 | ||
1827 | 306 | } | ||
1828 | 307 | as_func_ret_success () { | ||
1829 | 308 | return 0 | ||
1830 | 309 | } | ||
1831 | 310 | as_func_ret_failure () { | ||
1832 | 311 | return 1 | ||
1833 | 312 | } | ||
1834 | 313 | |||
1835 | 314 | exitcode=0 | ||
1836 | 315 | if as_func_success; then | ||
1837 | 316 | : | ||
1838 | 317 | else | ||
1839 | 318 | exitcode=1 | ||
1840 | 319 | echo as_func_success failed. | ||
1841 | 320 | fi | ||
1842 | 321 | |||
1843 | 322 | if as_func_failure; then | ||
1844 | 323 | exitcode=1 | ||
1845 | 324 | echo as_func_failure succeeded. | ||
1846 | 325 | fi | ||
1847 | 326 | |||
1848 | 327 | if as_func_ret_success; then | ||
1849 | 328 | : | ||
1850 | 329 | else | ||
1851 | 330 | exitcode=1 | ||
1852 | 331 | echo as_func_ret_success failed. | ||
1853 | 332 | fi | ||
1854 | 333 | |||
1855 | 334 | if as_func_ret_failure; then | ||
1856 | 335 | exitcode=1 | ||
1857 | 336 | echo as_func_ret_failure succeeded. | ||
1858 | 337 | fi | ||
1859 | 338 | |||
1860 | 339 | if ( set x; as_func_ret_success y && test x = "$1" ); then | ||
1861 | 340 | : | ||
1862 | 341 | else | ||
1863 | 342 | exitcode=1 | ||
1864 | 343 | echo positional parameters were not saved. | ||
1865 | 344 | fi | ||
1866 | 345 | |||
1867 | 346 | test $exitcode = 0) || { (exit 1); exit 1; } | ||
1868 | 347 | |||
1869 | 348 | ( | ||
1870 | 349 | as_lineno_1=$LINENO | ||
1871 | 350 | as_lineno_2=$LINENO | ||
1872 | 351 | test "x$as_lineno_1" != "x$as_lineno_2" && | ||
1873 | 352 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } | ||
1874 | 353 | |||
1875 | 354 | _ASEOF | ||
1876 | 355 | }; then | ||
1877 | 356 | break | ||
1878 | 357 | fi | ||
1879 | 358 | |||
1880 | 359 | fi | ||
1881 | 360 | |||
1882 | 361 | done | ||
1883 | 362 | |||
1884 | 363 | if test "x$CONFIG_SHELL" != x; then | ||
1885 | 364 | for as_var in BASH_ENV ENV | ||
1886 | 365 | do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var | ||
1887 | 366 | done | ||
1888 | 222 | export CONFIG_SHELL | 367 | export CONFIG_SHELL |
1889 | 223 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} | 368 | exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} |
1890 | 224 | fi | 369 | fi |
1891 | 225 | 370 | ||
2095 | 226 | if test x$as_have_required = xno; then : | 371 | |
2096 | 227 | $as_echo "$0: This script requires a shell more modern than all" | 372 | if test $as_have_required = no; then |
2097 | 228 | $as_echo "$0: the shells that I found on your system." | 373 | echo This script requires a shell more modern than all the |
2098 | 229 | if test x${ZSH_VERSION+set} = xset ; then | 374 | echo shells that I found on your system. Please install a |
2099 | 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 |
2100 | 231 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | 376 | echo shell if you do have one. |
2101 | 232 | else | 377 | { (exit 1); exit 1; } |
2102 | 233 | $as_echo "$0: Please tell bug-autoconf@gnu.org and | 378 | fi |
2103 | 234 | $0: http://bugs.clamav.net/ about your system, including | 379 | |
2104 | 235 | $0: any error possibly output before this message. Then | 380 | |
2105 | 236 | $0: install a modern shell, or manually run the script | 381 | fi |
2106 | 237 | $0: under such a shell if you do have one." | 382 | |
2107 | 238 | fi | 383 | fi |
2108 | 239 | exit 1 | 384 | |
2109 | 240 | fi | 385 | |
2110 | 241 | fi | 386 | |
2111 | 242 | fi | 387 | (eval "as_func_return () { |
2112 | 243 | SHELL=${CONFIG_SHELL-/bin/sh} | 388 | (exit \$1) |
2113 | 244 | export SHELL | 389 | } |
2114 | 245 | # Unset more variables known to interfere with behavior of common tools. | 390 | as_func_success () { |
2115 | 246 | CLICOLOR_FORCE= GREP_OPTIONS= | 391 | as_func_return 0 |
2116 | 247 | unset CLICOLOR_FORCE GREP_OPTIONS | 392 | } |
2117 | 248 | 393 | as_func_failure () { | |
2118 | 249 | ## --------------------- ## | 394 | as_func_return 1 |
2119 | 250 | ## M4sh Shell Functions. ## | 395 | } |
2120 | 251 | ## --------------------- ## | 396 | as_func_ret_success () { |
2121 | 252 | # as_fn_unset VAR | 397 | return 0 |
2122 | 253 | # --------------- | 398 | } |
2123 | 254 | # Portably unset VAR. | 399 | as_func_ret_failure () { |
2124 | 255 | as_fn_unset () | 400 | return 1 |
2125 | 256 | { | 401 | } |
2126 | 257 | { eval $1=; unset $1;} | 402 | |
2127 | 258 | } | 403 | exitcode=0 |
2128 | 259 | as_unset=as_fn_unset | 404 | if as_func_success; then |
2129 | 260 | 405 | : | |
2130 | 261 | # as_fn_set_status STATUS | 406 | else |
2131 | 262 | # ----------------------- | 407 | exitcode=1 |
2132 | 263 | # Set $? to STATUS, without forking. | 408 | echo as_func_success failed. |
2133 | 264 | as_fn_set_status () | 409 | fi |
2134 | 265 | { | 410 | |
2135 | 266 | return $1 | 411 | if as_func_failure; then |
2136 | 267 | } # as_fn_set_status | 412 | exitcode=1 |
2137 | 268 | 413 | echo as_func_failure succeeded. | |
2138 | 269 | # as_fn_exit STATUS | 414 | fi |
2139 | 270 | # ----------------- | 415 | |
2140 | 271 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | 416 | if as_func_ret_success; then |
2141 | 272 | as_fn_exit () | 417 | : |
2142 | 273 | { | 418 | else |
2143 | 274 | set +e | 419 | exitcode=1 |
2144 | 275 | as_fn_set_status $1 | 420 | echo as_func_ret_success failed. |
2145 | 276 | exit $1 | 421 | fi |
2146 | 277 | } # as_fn_exit | 422 | |
2147 | 278 | 423 | if as_func_ret_failure; then | |
2148 | 279 | # as_fn_mkdir_p | 424 | exitcode=1 |
2149 | 280 | # ------------- | 425 | echo as_func_ret_failure succeeded. |
2150 | 281 | # Create "$as_dir" as a directory, including parents if necessary. | 426 | fi |
2151 | 282 | as_fn_mkdir_p () | 427 | |
2152 | 283 | { | 428 | if ( set x; as_func_ret_success y && test x = \"\$1\" ); then |
2153 | 284 | 429 | : | |
2154 | 285 | case $as_dir in #( | 430 | else |
2155 | 286 | -*) as_dir=./$as_dir;; | 431 | exitcode=1 |
2156 | 287 | esac | 432 | echo positional parameters were not saved. |
2157 | 288 | test -d "$as_dir" || eval $as_mkdir_p || { | 433 | fi |
2158 | 289 | as_dirs= | 434 | |
2159 | 290 | while :; do | 435 | test \$exitcode = 0") || { |
2160 | 291 | case $as_dir in #( | 436 | echo No shell found that supports shell functions. |
2161 | 292 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | 437 | echo Please tell bug-autoconf@gnu.org about your system, |
2162 | 293 | *) as_qdir=$as_dir;; | 438 | echo including any error possibly output before this message. |
2163 | 294 | esac | 439 | echo This can help us improve future autoconf versions. |
2164 | 295 | as_dirs="'$as_qdir' $as_dirs" | 440 | echo Configuration will now proceed without shell functions. |
2165 | 296 | as_dir=`$as_dirname -- "$as_dir" || | 441 | } |
2166 | 297 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 442 | |
2167 | 298 | X"$as_dir" : 'X\(//\)[^/]' \| \ | 443 | |
2168 | 299 | X"$as_dir" : 'X\(//\)$' \| \ | 444 | |
2169 | 300 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | 445 | as_lineno_1=$LINENO |
2170 | 301 | $as_echo X"$as_dir" | | 446 | as_lineno_2=$LINENO |
2171 | 302 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 447 | test "x$as_lineno_1" != "x$as_lineno_2" && |
2172 | 303 | s//\1/ | 448 | test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { |
2173 | 304 | q | 449 | |
2174 | 305 | } | 450 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
2175 | 306 | /^X\(\/\/\)[^/].*/{ | 451 | # uniformly replaced by the line number. The first 'sed' inserts a |
2176 | 307 | s//\1/ | 452 | # line-number line after each line using $LINENO; the second 'sed' |
2177 | 308 | q | 453 | # does the real work. The second script uses 'N' to pair each |
2178 | 309 | } | 454 | # line-number line with the line containing $LINENO, and appends |
2179 | 310 | /^X\(\/\/\)$/{ | 455 | # trailing '-' during substitution so that $LINENO is not a special |
2180 | 311 | s//\1/ | 456 | # case at line end. |
2181 | 312 | q | 457 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
2182 | 313 | } | 458 | # scripts with optimization help from Paolo Bonzini. Blame Lee |
2183 | 314 | /^X\(\/\).*/{ | 459 | # E. McMahon (1931-1989) for sed's syntax. :-) |
1981 | 315 | s//\1/ | ||
1982 | 316 | q | ||
1983 | 317 | } | ||
1984 | 318 | s/.*/./; q'` | ||
1985 | 319 | test -d "$as_dir" && break | ||
1986 | 320 | done | ||
1987 | 321 | test -z "$as_dirs" || eval "mkdir $as_dirs" | ||
1988 | 322 | } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" | ||
1989 | 323 | |||
1990 | 324 | |||
1991 | 325 | } # as_fn_mkdir_p | ||
1992 | 326 | # as_fn_append VAR VALUE | ||
1993 | 327 | # ---------------------- | ||
1994 | 328 | # Append the text in VALUE to the end of the definition contained in VAR. Take | ||
1995 | 329 | # advantage of any shell optimizations that allow amortized linear growth over | ||
1996 | 330 | # repeated appends, instead of the typical quadratic growth present in naive | ||
1997 | 331 | # implementations. | ||
1998 | 332 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | ||
1999 | 333 | eval 'as_fn_append () | ||
2000 | 334 | { | ||
2001 | 335 | eval $1+=\$2 | ||
2002 | 336 | }' | ||
2003 | 337 | else | ||
2004 | 338 | as_fn_append () | ||
2005 | 339 | { | ||
2006 | 340 | eval $1=\$$1\$2 | ||
2007 | 341 | } | ||
2008 | 342 | fi # as_fn_append | ||
2009 | 343 | |||
2010 | 344 | # as_fn_arith ARG... | ||
2011 | 345 | # ------------------ | ||
2012 | 346 | # Perform arithmetic evaluation on the ARGs, and store the result in the | ||
2013 | 347 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | ||
2014 | 348 | # must be portable across $(()) and expr. | ||
2015 | 349 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | ||
2016 | 350 | eval 'as_fn_arith () | ||
2017 | 351 | { | ||
2018 | 352 | as_val=$(( $* )) | ||
2019 | 353 | }' | ||
2020 | 354 | else | ||
2021 | 355 | as_fn_arith () | ||
2022 | 356 | { | ||
2023 | 357 | as_val=`expr "$@" || test $? -eq 1` | ||
2024 | 358 | } | ||
2025 | 359 | fi # as_fn_arith | ||
2026 | 360 | |||
2027 | 361 | |||
2028 | 362 | # as_fn_error ERROR [LINENO LOG_FD] | ||
2029 | 363 | # --------------------------------- | ||
2030 | 364 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | ||
2031 | 365 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | ||
2032 | 366 | # script with status $?, using 1 if that was 0. | ||
2033 | 367 | as_fn_error () | ||
2034 | 368 | { | ||
2035 | 369 | as_status=$?; test $as_status -eq 0 && as_status=1 | ||
2036 | 370 | if test "$3"; then | ||
2037 | 371 | as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2038 | 372 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 | ||
2039 | 373 | fi | ||
2040 | 374 | $as_echo "$as_me: error: $1" >&2 | ||
2041 | 375 | as_fn_exit $as_status | ||
2042 | 376 | } # as_fn_error | ||
2043 | 377 | |||
2044 | 378 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
2045 | 379 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
2046 | 380 | as_expr=expr | ||
2047 | 381 | else | ||
2048 | 382 | as_expr=false | ||
2049 | 383 | fi | ||
2050 | 384 | |||
2051 | 385 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | ||
2052 | 386 | as_basename=basename | ||
2053 | 387 | else | ||
2054 | 388 | as_basename=false | ||
2055 | 389 | fi | ||
2056 | 390 | |||
2057 | 391 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
2058 | 392 | as_dirname=dirname | ||
2059 | 393 | else | ||
2060 | 394 | as_dirname=false | ||
2061 | 395 | fi | ||
2062 | 396 | |||
2063 | 397 | as_me=`$as_basename -- "$0" || | ||
2064 | 398 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | ||
2065 | 399 | X"$0" : 'X\(//\)$' \| \ | ||
2066 | 400 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | ||
2067 | 401 | $as_echo X/"$0" | | ||
2068 | 402 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | ||
2069 | 403 | s//\1/ | ||
2070 | 404 | q | ||
2071 | 405 | } | ||
2072 | 406 | /^X\/\(\/\/\)$/{ | ||
2073 | 407 | s//\1/ | ||
2074 | 408 | q | ||
2075 | 409 | } | ||
2076 | 410 | /^X\/\(\/\).*/{ | ||
2077 | 411 | s//\1/ | ||
2078 | 412 | q | ||
2079 | 413 | } | ||
2080 | 414 | s/.*/./; q'` | ||
2081 | 415 | |||
2082 | 416 | # Avoid depending upon Character Ranges. | ||
2083 | 417 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | ||
2084 | 418 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
2085 | 419 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | ||
2086 | 420 | as_cr_digits='0123456789' | ||
2087 | 421 | as_cr_alnum=$as_cr_Letters$as_cr_digits | ||
2088 | 422 | |||
2089 | 423 | |||
2090 | 424 | as_lineno_1=$LINENO as_lineno_1a=$LINENO | ||
2091 | 425 | as_lineno_2=$LINENO as_lineno_2a=$LINENO | ||
2092 | 426 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | ||
2093 | 427 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | ||
2094 | 428 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | ||
2184 | 429 | sed -n ' | 460 | sed -n ' |
2185 | 430 | p | 461 | p |
2186 | 431 | /[$]LINENO/= | 462 | /[$]LINENO/= |
2187 | @@ -442,7 +473,8 @@ | |||
2188 | 442 | s/-\n.*// | 473 | s/-\n.*// |
2189 | 443 | ' >$as_me.lineno && | 474 | ' >$as_me.lineno && |
2190 | 444 | chmod +x "$as_me.lineno" || | 475 | chmod +x "$as_me.lineno" || |
2192 | 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 |
2193 | 477 | { (exit 1); exit 1; }; } | ||
2194 | 446 | 478 | ||
2195 | 447 | # Don't try to exec as it changes $[0], causing all sort of problems | 479 | # Don't try to exec as it changes $[0], causing all sort of problems |
2196 | 448 | # (the dirname of $[0] is not the place where we might find the | 480 | # (the dirname of $[0] is not the place where we might find the |
2197 | @@ -452,18 +484,29 @@ | |||
2198 | 452 | exit | 484 | exit |
2199 | 453 | } | 485 | } |
2200 | 454 | 486 | ||
2201 | 487 | |||
2202 | 488 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | ||
2203 | 489 | as_dirname=dirname | ||
2204 | 490 | else | ||
2205 | 491 | as_dirname=false | ||
2206 | 492 | fi | ||
2207 | 493 | |||
2208 | 455 | ECHO_C= ECHO_N= ECHO_T= | 494 | ECHO_C= ECHO_N= ECHO_T= |
2210 | 456 | case `echo -n x` in #((((( | 495 | case `echo -n x` in |
2211 | 457 | -n*) | 496 | -n*) |
2213 | 458 | case `echo 'xy\c'` in | 497 | case `echo 'x\c'` in |
2214 | 459 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 498 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
2218 | 460 | xy) ECHO_C='\c';; | 499 | *) ECHO_C='\c';; |
2216 | 461 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | ||
2217 | 462 | ECHO_T=' ';; | ||
2219 | 463 | esac;; | 500 | esac;; |
2220 | 464 | *) | 501 | *) |
2221 | 465 | ECHO_N='-n';; | 502 | ECHO_N='-n';; |
2222 | 466 | esac | 503 | esac |
2223 | 504 | if expr a : '\(a\)' >/dev/null 2>&1 && | ||
2224 | 505 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | ||
2225 | 506 | as_expr=expr | ||
2226 | 507 | else | ||
2227 | 508 | as_expr=false | ||
2228 | 509 | fi | ||
2229 | 467 | 510 | ||
2230 | 468 | rm -f conf$$ conf$$.exe conf$$.file | 511 | rm -f conf$$ conf$$.exe conf$$.file |
2231 | 469 | if test -d conf$$.dir; then | 512 | if test -d conf$$.dir; then |
2232 | @@ -493,7 +536,7 @@ | |||
2233 | 493 | rmdir conf$$.dir 2>/dev/null | 536 | rmdir conf$$.dir 2>/dev/null |
2234 | 494 | 537 | ||
2235 | 495 | if mkdir -p . 2>/dev/null; then | 538 | if mkdir -p . 2>/dev/null; then |
2237 | 496 | as_mkdir_p='mkdir -p "$as_dir"' | 539 | as_mkdir_p=: |
2238 | 497 | else | 540 | else |
2239 | 498 | test -d ./-p && rmdir ./-p | 541 | test -d ./-p && rmdir ./-p |
2240 | 499 | as_mkdir_p=false | 542 | as_mkdir_p=false |
2241 | @@ -512,10 +555,10 @@ | |||
2242 | 512 | if test -d "$1"; then | 555 | if test -d "$1"; then |
2243 | 513 | test -d "$1/."; | 556 | test -d "$1/."; |
2244 | 514 | else | 557 | else |
2246 | 515 | case $1 in #( | 558 | case $1 in |
2247 | 516 | -*)set "./$1";; | 559 | -*)set "./$1";; |
2248 | 517 | esac; | 560 | esac; |
2250 | 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 |
2251 | 519 | ???[sx]*):;;*)false;;esac;fi | 562 | ???[sx]*):;;*)false;;esac;fi |
2252 | 520 | '\'' sh | 563 | '\'' sh |
2253 | 521 | ' | 564 | ' |
2254 | @@ -529,6 +572,7 @@ | |||
2255 | 529 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 572 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
2256 | 530 | 573 | ||
2257 | 531 | 574 | ||
2258 | 575 | |||
2259 | 532 | lt_ltdl_dir='libltdl' | 576 | lt_ltdl_dir='libltdl' |
2260 | 533 | 577 | ||
2261 | 534 | 578 | ||
2262 | @@ -680,8 +724,7 @@ | |||
2263 | 680 | 724 | ||
2264 | 681 | 725 | ||
2265 | 682 | 726 | ||
2268 | 683 | test -n "$DJDIR" || exec 7<&0 </dev/null | 727 | exec 7<&0 </dev/null 6>&1 |
2267 | 684 | exec 6>&1 | ||
2269 | 685 | 728 | ||
2270 | 686 | # Name of the host. | 729 | # Name of the host. |
2271 | 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, |
2272 | @@ -699,14 +742,14 @@ | |||
2273 | 699 | subdirs= | 742 | subdirs= |
2274 | 700 | MFLAGS= | 743 | MFLAGS= |
2275 | 701 | MAKEFLAGS= | 744 | MAKEFLAGS= |
2276 | 745 | SHELL=${CONFIG_SHELL-/bin/sh} | ||
2277 | 702 | 746 | ||
2278 | 703 | # Identity of this package. | 747 | # Identity of this package. |
2279 | 704 | PACKAGE_NAME='ClamAV' | 748 | PACKAGE_NAME='ClamAV' |
2280 | 705 | PACKAGE_TARNAME='clamav' | 749 | PACKAGE_TARNAME='clamav' |
2283 | 706 | PACKAGE_VERSION='0.97.6' | 750 | PACKAGE_VERSION='0.97.7' |
2284 | 707 | PACKAGE_STRING='ClamAV 0.97.6' | 751 | PACKAGE_STRING='ClamAV 0.97.7' |
2285 | 708 | PACKAGE_BUGREPORT='http://bugs.clamav.net/' | 752 | PACKAGE_BUGREPORT='http://bugs.clamav.net/' |
2286 | 709 | PACKAGE_URL='http://www.clamav.net/' | ||
2287 | 710 | 753 | ||
2288 | 711 | ac_unique_file="clamscan/clamscan.c" | 754 | ac_unique_file="clamscan/clamscan.c" |
2289 | 712 | # Factoring default headers for most tests. | 755 | # Factoring default headers for most tests. |
2290 | @@ -922,7 +965,6 @@ | |||
2291 | 922 | program_transform_name | 965 | program_transform_name |
2292 | 923 | prefix | 966 | prefix |
2293 | 924 | exec_prefix | 967 | exec_prefix |
2294 | 925 | PACKAGE_URL | ||
2295 | 926 | PACKAGE_BUGREPORT | 968 | PACKAGE_BUGREPORT |
2296 | 927 | PACKAGE_STRING | 969 | PACKAGE_STRING |
2297 | 928 | PACKAGE_VERSION | 970 | PACKAGE_VERSION |
2298 | @@ -1106,7 +1148,8 @@ | |||
2299 | 1106 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 1148 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
2300 | 1107 | # Reject names that are not valid shell variable names. | 1149 | # Reject names that are not valid shell variable names. |
2301 | 1108 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1150 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
2303 | 1109 | as_fn_error "invalid feature name: $ac_useropt" | 1151 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
2304 | 1152 | { (exit 1); exit 1; }; } | ||
2305 | 1110 | ac_useropt_orig=$ac_useropt | 1153 | ac_useropt_orig=$ac_useropt |
2306 | 1111 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1154 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
2307 | 1112 | case $ac_user_opts in | 1155 | case $ac_user_opts in |
2308 | @@ -1132,7 +1175,8 @@ | |||
2309 | 1132 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 1175 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
2310 | 1133 | # Reject names that are not valid shell variable names. | 1176 | # Reject names that are not valid shell variable names. |
2311 | 1134 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1177 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
2313 | 1135 | as_fn_error "invalid feature name: $ac_useropt" | 1178 | { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 |
2314 | 1179 | { (exit 1); exit 1; }; } | ||
2315 | 1136 | ac_useropt_orig=$ac_useropt | 1180 | ac_useropt_orig=$ac_useropt |
2316 | 1137 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1181 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
2317 | 1138 | case $ac_user_opts in | 1182 | case $ac_user_opts in |
2318 | @@ -1336,7 +1380,8 @@ | |||
2319 | 1336 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1380 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
2320 | 1337 | # Reject names that are not valid shell variable names. | 1381 | # Reject names that are not valid shell variable names. |
2321 | 1338 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1382 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
2323 | 1339 | as_fn_error "invalid package name: $ac_useropt" | 1383 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
2324 | 1384 | { (exit 1); exit 1; }; } | ||
2325 | 1340 | ac_useropt_orig=$ac_useropt | 1385 | ac_useropt_orig=$ac_useropt |
2326 | 1341 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1386 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
2327 | 1342 | case $ac_user_opts in | 1387 | case $ac_user_opts in |
2328 | @@ -1352,7 +1397,8 @@ | |||
2329 | 1352 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1397 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
2330 | 1353 | # Reject names that are not valid shell variable names. | 1398 | # Reject names that are not valid shell variable names. |
2331 | 1354 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1399 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
2333 | 1355 | as_fn_error "invalid package name: $ac_useropt" | 1400 | { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 |
2334 | 1401 | { (exit 1); exit 1; }; } | ||
2335 | 1356 | ac_useropt_orig=$ac_useropt | 1402 | ac_useropt_orig=$ac_useropt |
2336 | 1357 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1403 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
2337 | 1358 | case $ac_user_opts in | 1404 | case $ac_user_opts in |
2338 | @@ -1382,17 +1428,17 @@ | |||
2339 | 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=*) |
2340 | 1383 | x_libraries=$ac_optarg ;; | 1429 | x_libraries=$ac_optarg ;; |
2341 | 1384 | 1430 | ||
2344 | 1385 | -*) as_fn_error "unrecognized option: \`$ac_option' | 1431 | -*) { $as_echo "$as_me: error: unrecognized option: $ac_option |
2345 | 1386 | Try \`$0 --help' for more information." | 1432 | Try \`$0 --help' for more information." >&2 |
2346 | 1433 | { (exit 1); exit 1; }; } | ||
2347 | 1387 | ;; | 1434 | ;; |
2348 | 1388 | 1435 | ||
2349 | 1389 | *=*) | 1436 | *=*) |
2350 | 1390 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1437 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
2351 | 1391 | # Reject names that are not valid shell variable names. | 1438 | # Reject names that are not valid shell variable names. |
2356 | 1392 | case $ac_envvar in #( | 1439 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
2357 | 1393 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1440 | { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
2358 | 1394 | as_fn_error "invalid variable name: \`$ac_envvar'" ;; | 1441 | { (exit 1); exit 1; }; } |
2355 | 1395 | esac | ||
2359 | 1396 | eval $ac_envvar=\$ac_optarg | 1442 | eval $ac_envvar=\$ac_optarg |
2360 | 1397 | export $ac_envvar ;; | 1443 | export $ac_envvar ;; |
2361 | 1398 | 1444 | ||
2362 | @@ -1409,13 +1455,15 @@ | |||
2363 | 1409 | 1455 | ||
2364 | 1410 | if test -n "$ac_prev"; then | 1456 | if test -n "$ac_prev"; then |
2365 | 1411 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1457 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
2367 | 1412 | as_fn_error "missing argument to $ac_option" | 1458 | { $as_echo "$as_me: error: missing argument to $ac_option" >&2 |
2368 | 1459 | { (exit 1); exit 1; }; } | ||
2369 | 1413 | fi | 1460 | fi |
2370 | 1414 | 1461 | ||
2371 | 1415 | if test -n "$ac_unrecognized_opts"; then | 1462 | if test -n "$ac_unrecognized_opts"; then |
2372 | 1416 | case $enable_option_checking in | 1463 | case $enable_option_checking in |
2373 | 1417 | no) ;; | 1464 | no) ;; |
2375 | 1418 | fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; | 1465 | fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 |
2376 | 1466 | { (exit 1); exit 1; }; } ;; | ||
2377 | 1419 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1467 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
2378 | 1420 | esac | 1468 | esac |
2379 | 1421 | fi | 1469 | fi |
2380 | @@ -1438,7 +1486,8 @@ | |||
2381 | 1438 | [\\/$]* | ?:[\\/]* ) continue;; | 1486 | [\\/$]* | ?:[\\/]* ) continue;; |
2382 | 1439 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1487 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
2383 | 1440 | esac | 1488 | esac |
2385 | 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 |
2386 | 1490 | { (exit 1); exit 1; }; } | ||
2387 | 1442 | done | 1491 | done |
2388 | 1443 | 1492 | ||
2389 | 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' |
2390 | @@ -1468,9 +1517,11 @@ | |||
2391 | 1468 | ac_pwd=`pwd` && test -n "$ac_pwd" && | 1517 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
2392 | 1469 | ac_ls_di=`ls -di .` && | 1518 | ac_ls_di=`ls -di .` && |
2393 | 1470 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1519 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
2395 | 1471 | as_fn_error "working directory cannot be determined" | 1520 | { $as_echo "$as_me: error: working directory cannot be determined" >&2 |
2396 | 1521 | { (exit 1); exit 1; }; } | ||
2397 | 1472 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1522 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
2399 | 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 |
2400 | 1524 | { (exit 1); exit 1; }; } | ||
2401 | 1474 | 1525 | ||
2402 | 1475 | 1526 | ||
2403 | 1476 | # Find the source files, if location was not specified. | 1527 | # Find the source files, if location was not specified. |
2404 | @@ -1509,11 +1560,13 @@ | |||
2405 | 1509 | fi | 1560 | fi |
2406 | 1510 | if test ! -r "$srcdir/$ac_unique_file"; then | 1561 | if test ! -r "$srcdir/$ac_unique_file"; then |
2407 | 1511 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1562 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
2409 | 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 |
2410 | 1564 | { (exit 1); exit 1; }; } | ||
2411 | 1513 | fi | 1565 | fi |
2412 | 1514 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1566 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
2413 | 1515 | ac_abs_confdir=`( | 1567 | ac_abs_confdir=`( |
2415 | 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 |
2416 | 1569 | { (exit 1); exit 1; }; } | ||
2417 | 1517 | pwd)` | 1570 | pwd)` |
2418 | 1518 | # When building in place, set srcdir=. | 1571 | # When building in place, set srcdir=. |
2419 | 1519 | if test "$ac_abs_confdir" = "$ac_pwd"; then | 1572 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
2420 | @@ -1539,7 +1592,7 @@ | |||
2421 | 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. |
2422 | 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. |
2423 | 1541 | cat <<_ACEOF | 1594 | cat <<_ACEOF |
2425 | 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. |
2426 | 1543 | 1596 | ||
2427 | 1544 | Usage: $0 [OPTION]... [VAR=VALUE]... | 1597 | Usage: $0 [OPTION]... [VAR=VALUE]... |
2428 | 1545 | 1598 | ||
2429 | @@ -1610,7 +1663,7 @@ | |||
2430 | 1610 | 1663 | ||
2431 | 1611 | if test -n "$ac_init_help"; then | 1664 | if test -n "$ac_init_help"; then |
2432 | 1612 | case $ac_init_help in | 1665 | case $ac_init_help in |
2434 | 1613 | short | recursive ) echo "Configuration of ClamAV 0.97.6:";; | 1666 | short | recursive ) echo "Configuration of ClamAV 0.97.7:";; |
2435 | 1614 | esac | 1667 | esac |
2436 | 1615 | cat <<\_ACEOF | 1668 | cat <<\_ACEOF |
2437 | 1616 | 1669 | ||
2438 | @@ -1696,7 +1749,7 @@ | |||
2439 | 1696 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1749 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
2440 | 1697 | nonstandard directory <lib dir> | 1750 | nonstandard directory <lib dir> |
2441 | 1698 | LIBS libraries to pass to the linker, e.g. -l<library> | 1751 | LIBS libraries to pass to the linker, e.g. -l<library> |
2443 | 1699 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 1752 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
2444 | 1700 | you have headers in a nonstandard directory <include dir> | 1753 | you have headers in a nonstandard directory <include dir> |
2445 | 1701 | CPP C preprocessor | 1754 | CPP C preprocessor |
2446 | 1702 | 1755 | ||
2447 | @@ -1704,7 +1757,6 @@ | |||
2448 | 1704 | it to find libraries and programs with nonstandard names/locations. | 1757 | it to find libraries and programs with nonstandard names/locations. |
2449 | 1705 | 1758 | ||
2450 | 1706 | Report bugs to <http://bugs.clamav.net/>. | 1759 | Report bugs to <http://bugs.clamav.net/>. |
2451 | 1707 | ClamAV home page: <http://www.clamav.net/>. | ||
2452 | 1708 | _ACEOF | 1760 | _ACEOF |
2453 | 1709 | ac_status=$? | 1761 | ac_status=$? |
2454 | 1710 | fi | 1762 | fi |
2455 | @@ -1767,472 +1819,22 @@ | |||
2456 | 1767 | test -n "$ac_init_help" && exit $ac_status | 1819 | test -n "$ac_init_help" && exit $ac_status |
2457 | 1768 | if $ac_init_version; then | 1820 | if $ac_init_version; then |
2458 | 1769 | cat <<\_ACEOF | 1821 | cat <<\_ACEOF |
2461 | 1770 | ClamAV configure 0.97.6 | 1822 | ClamAV configure 0.97.7 |
2462 | 1771 | generated by GNU Autoconf 2.65 | 1823 | generated by GNU Autoconf 2.63 |
2463 | 1772 | 1824 | ||
2465 | 1773 | Copyright (C) 2009 Free Software Foundation, Inc. | 1825 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
2466 | 1826 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | ||
2467 | 1774 | This configure script is free software; the Free Software Foundation | 1827 | This configure script is free software; the Free Software Foundation |
2468 | 1775 | gives unlimited permission to copy, distribute and modify it. | 1828 | gives unlimited permission to copy, distribute and modify it. |
2469 | 1776 | _ACEOF | 1829 | _ACEOF |
2470 | 1777 | exit | 1830 | exit |
2471 | 1778 | fi | 1831 | fi |
2472 | 1779 | |||
2473 | 1780 | ## ------------------------ ## | ||
2474 | 1781 | ## Autoconf initialization. ## | ||
2475 | 1782 | ## ------------------------ ## | ||
2476 | 1783 | |||
2477 | 1784 | # ac_fn_c_try_compile LINENO | ||
2478 | 1785 | # -------------------------- | ||
2479 | 1786 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | ||
2480 | 1787 | ac_fn_c_try_compile () | ||
2481 | 1788 | { | ||
2482 | 1789 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2483 | 1790 | rm -f conftest.$ac_objext | ||
2484 | 1791 | if { { ac_try="$ac_compile" | ||
2485 | 1792 | case "(($ac_try" in | ||
2486 | 1793 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2487 | 1794 | *) ac_try_echo=$ac_try;; | ||
2488 | 1795 | esac | ||
2489 | 1796 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2490 | 1797 | $as_echo "$ac_try_echo"; } >&5 | ||
2491 | 1798 | (eval "$ac_compile") 2>conftest.err | ||
2492 | 1799 | ac_status=$? | ||
2493 | 1800 | if test -s conftest.err; then | ||
2494 | 1801 | grep -v '^ *+' conftest.err >conftest.er1 | ||
2495 | 1802 | cat conftest.er1 >&5 | ||
2496 | 1803 | mv -f conftest.er1 conftest.err | ||
2497 | 1804 | fi | ||
2498 | 1805 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2499 | 1806 | test $ac_status = 0; } && { | ||
2500 | 1807 | test -z "$ac_c_werror_flag" || | ||
2501 | 1808 | test ! -s conftest.err | ||
2502 | 1809 | } && test -s conftest.$ac_objext; then : | ||
2503 | 1810 | ac_retval=0 | ||
2504 | 1811 | else | ||
2505 | 1812 | $as_echo "$as_me: failed program was:" >&5 | ||
2506 | 1813 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2507 | 1814 | |||
2508 | 1815 | ac_retval=1 | ||
2509 | 1816 | fi | ||
2510 | 1817 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2511 | 1818 | as_fn_set_status $ac_retval | ||
2512 | 1819 | |||
2513 | 1820 | } # ac_fn_c_try_compile | ||
2514 | 1821 | |||
2515 | 1822 | # ac_fn_c_try_link LINENO | ||
2516 | 1823 | # ----------------------- | ||
2517 | 1824 | # Try to link conftest.$ac_ext, and return whether this succeeded. | ||
2518 | 1825 | ac_fn_c_try_link () | ||
2519 | 1826 | { | ||
2520 | 1827 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2521 | 1828 | rm -f conftest.$ac_objext conftest$ac_exeext | ||
2522 | 1829 | if { { ac_try="$ac_link" | ||
2523 | 1830 | case "(($ac_try" in | ||
2524 | 1831 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2525 | 1832 | *) ac_try_echo=$ac_try;; | ||
2526 | 1833 | esac | ||
2527 | 1834 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2528 | 1835 | $as_echo "$ac_try_echo"; } >&5 | ||
2529 | 1836 | (eval "$ac_link") 2>conftest.err | ||
2530 | 1837 | ac_status=$? | ||
2531 | 1838 | if test -s conftest.err; then | ||
2532 | 1839 | grep -v '^ *+' conftest.err >conftest.er1 | ||
2533 | 1840 | cat conftest.er1 >&5 | ||
2534 | 1841 | mv -f conftest.er1 conftest.err | ||
2535 | 1842 | fi | ||
2536 | 1843 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2537 | 1844 | test $ac_status = 0; } && { | ||
2538 | 1845 | test -z "$ac_c_werror_flag" || | ||
2539 | 1846 | test ! -s conftest.err | ||
2540 | 1847 | } && test -s conftest$ac_exeext && { | ||
2541 | 1848 | test "$cross_compiling" = yes || | ||
2542 | 1849 | $as_test_x conftest$ac_exeext | ||
2543 | 1850 | }; then : | ||
2544 | 1851 | ac_retval=0 | ||
2545 | 1852 | else | ||
2546 | 1853 | $as_echo "$as_me: failed program was:" >&5 | ||
2547 | 1854 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2548 | 1855 | |||
2549 | 1856 | ac_retval=1 | ||
2550 | 1857 | fi | ||
2551 | 1858 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | ||
2552 | 1859 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | ||
2553 | 1860 | # interfere with the next link command; also delete a directory that is | ||
2554 | 1861 | # left behind by Apple's compiler. We do this before executing the actions. | ||
2555 | 1862 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
2556 | 1863 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2557 | 1864 | as_fn_set_status $ac_retval | ||
2558 | 1865 | |||
2559 | 1866 | } # ac_fn_c_try_link | ||
2560 | 1867 | |||
2561 | 1868 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | ||
2562 | 1869 | # ------------------------------------------------------- | ||
2563 | 1870 | # Tests whether HEADER exists and can be compiled using the include files in | ||
2564 | 1871 | # INCLUDES, setting the cache variable VAR accordingly. | ||
2565 | 1872 | ac_fn_c_check_header_compile () | ||
2566 | 1873 | { | ||
2567 | 1874 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2568 | 1875 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
2569 | 1876 | $as_echo_n "checking for $2... " >&6; } | ||
2570 | 1877 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
2571 | 1878 | $as_echo_n "(cached) " >&6 | ||
2572 | 1879 | else | ||
2573 | 1880 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2574 | 1881 | /* end confdefs.h. */ | ||
2575 | 1882 | $4 | ||
2576 | 1883 | #include <$2> | ||
2577 | 1884 | _ACEOF | ||
2578 | 1885 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2579 | 1886 | eval "$3=yes" | ||
2580 | 1887 | else | ||
2581 | 1888 | eval "$3=no" | ||
2582 | 1889 | fi | ||
2583 | 1890 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2584 | 1891 | fi | ||
2585 | 1892 | eval ac_res=\$$3 | ||
2586 | 1893 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
2587 | 1894 | $as_echo "$ac_res" >&6; } | ||
2588 | 1895 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2589 | 1896 | |||
2590 | 1897 | } # ac_fn_c_check_header_compile | ||
2591 | 1898 | |||
2592 | 1899 | # ac_fn_c_try_cpp LINENO | ||
2593 | 1900 | # ---------------------- | ||
2594 | 1901 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | ||
2595 | 1902 | ac_fn_c_try_cpp () | ||
2596 | 1903 | { | ||
2597 | 1904 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2598 | 1905 | if { { ac_try="$ac_cpp conftest.$ac_ext" | ||
2599 | 1906 | case "(($ac_try" in | ||
2600 | 1907 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2601 | 1908 | *) ac_try_echo=$ac_try;; | ||
2602 | 1909 | esac | ||
2603 | 1910 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2604 | 1911 | $as_echo "$ac_try_echo"; } >&5 | ||
2605 | 1912 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | ||
2606 | 1913 | ac_status=$? | ||
2607 | 1914 | if test -s conftest.err; then | ||
2608 | 1915 | grep -v '^ *+' conftest.err >conftest.er1 | ||
2609 | 1916 | cat conftest.er1 >&5 | ||
2610 | 1917 | mv -f conftest.er1 conftest.err | ||
2611 | 1918 | fi | ||
2612 | 1919 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2613 | 1920 | test $ac_status = 0; } >/dev/null && { | ||
2614 | 1921 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | ||
2615 | 1922 | test ! -s conftest.err | ||
2616 | 1923 | }; then : | ||
2617 | 1924 | ac_retval=0 | ||
2618 | 1925 | else | ||
2619 | 1926 | $as_echo "$as_me: failed program was:" >&5 | ||
2620 | 1927 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2621 | 1928 | |||
2622 | 1929 | ac_retval=1 | ||
2623 | 1930 | fi | ||
2624 | 1931 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2625 | 1932 | as_fn_set_status $ac_retval | ||
2626 | 1933 | |||
2627 | 1934 | } # ac_fn_c_try_cpp | ||
2628 | 1935 | |||
2629 | 1936 | # ac_fn_c_try_run LINENO | ||
2630 | 1937 | # ---------------------- | ||
2631 | 1938 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | ||
2632 | 1939 | # that executables *can* be run. | ||
2633 | 1940 | ac_fn_c_try_run () | ||
2634 | 1941 | { | ||
2635 | 1942 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2636 | 1943 | if { { ac_try="$ac_link" | ||
2637 | 1944 | case "(($ac_try" in | ||
2638 | 1945 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2639 | 1946 | *) ac_try_echo=$ac_try;; | ||
2640 | 1947 | esac | ||
2641 | 1948 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2642 | 1949 | $as_echo "$ac_try_echo"; } >&5 | ||
2643 | 1950 | (eval "$ac_link") 2>&5 | ||
2644 | 1951 | ac_status=$? | ||
2645 | 1952 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2646 | 1953 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | ||
2647 | 1954 | { { case "(($ac_try" in | ||
2648 | 1955 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
2649 | 1956 | *) ac_try_echo=$ac_try;; | ||
2650 | 1957 | esac | ||
2651 | 1958 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
2652 | 1959 | $as_echo "$ac_try_echo"; } >&5 | ||
2653 | 1960 | (eval "$ac_try") 2>&5 | ||
2654 | 1961 | ac_status=$? | ||
2655 | 1962 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
2656 | 1963 | test $ac_status = 0; }; }; then : | ||
2657 | 1964 | ac_retval=0 | ||
2658 | 1965 | else | ||
2659 | 1966 | $as_echo "$as_me: program exited with status $ac_status" >&5 | ||
2660 | 1967 | $as_echo "$as_me: failed program was:" >&5 | ||
2661 | 1968 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
2662 | 1969 | |||
2663 | 1970 | ac_retval=$ac_status | ||
2664 | 1971 | fi | ||
2665 | 1972 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | ||
2666 | 1973 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2667 | 1974 | as_fn_set_status $ac_retval | ||
2668 | 1975 | |||
2669 | 1976 | } # ac_fn_c_try_run | ||
2670 | 1977 | |||
2671 | 1978 | # ac_fn_c_check_func LINENO FUNC VAR | ||
2672 | 1979 | # ---------------------------------- | ||
2673 | 1980 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | ||
2674 | 1981 | ac_fn_c_check_func () | ||
2675 | 1982 | { | ||
2676 | 1983 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2677 | 1984 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
2678 | 1985 | $as_echo_n "checking for $2... " >&6; } | ||
2679 | 1986 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
2680 | 1987 | $as_echo_n "(cached) " >&6 | ||
2681 | 1988 | else | ||
2682 | 1989 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2683 | 1990 | /* end confdefs.h. */ | ||
2684 | 1991 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | ||
2685 | 1992 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | ||
2686 | 1993 | #define $2 innocuous_$2 | ||
2687 | 1994 | |||
2688 | 1995 | /* System header to define __stub macros and hopefully few prototypes, | ||
2689 | 1996 | which can conflict with char $2 (); below. | ||
2690 | 1997 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | ||
2691 | 1998 | <limits.h> exists even on freestanding compilers. */ | ||
2692 | 1999 | |||
2693 | 2000 | #ifdef __STDC__ | ||
2694 | 2001 | # include <limits.h> | ||
2695 | 2002 | #else | ||
2696 | 2003 | # include <assert.h> | ||
2697 | 2004 | #endif | ||
2698 | 2005 | |||
2699 | 2006 | #undef $2 | ||
2700 | 2007 | |||
2701 | 2008 | /* Override any GCC internal prototype to avoid an error. | ||
2702 | 2009 | Use char because int might match the return type of a GCC | ||
2703 | 2010 | builtin and then its argument prototype would still apply. */ | ||
2704 | 2011 | #ifdef __cplusplus | ||
2705 | 2012 | extern "C" | ||
2706 | 2013 | #endif | ||
2707 | 2014 | char $2 (); | ||
2708 | 2015 | /* The GNU C library defines this for functions which it implements | ||
2709 | 2016 | to always fail with ENOSYS. Some functions are actually named | ||
2710 | 2017 | something starting with __ and the normal name is an alias. */ | ||
2711 | 2018 | #if defined __stub_$2 || defined __stub___$2 | ||
2712 | 2019 | choke me | ||
2713 | 2020 | #endif | ||
2714 | 2021 | |||
2715 | 2022 | int | ||
2716 | 2023 | main () | ||
2717 | 2024 | { | ||
2718 | 2025 | return $2 (); | ||
2719 | 2026 | ; | ||
2720 | 2027 | return 0; | ||
2721 | 2028 | } | ||
2722 | 2029 | _ACEOF | ||
2723 | 2030 | if ac_fn_c_try_link "$LINENO"; then : | ||
2724 | 2031 | eval "$3=yes" | ||
2725 | 2032 | else | ||
2726 | 2033 | eval "$3=no" | ||
2727 | 2034 | fi | ||
2728 | 2035 | rm -f core conftest.err conftest.$ac_objext \ | ||
2729 | 2036 | conftest$ac_exeext conftest.$ac_ext | ||
2730 | 2037 | fi | ||
2731 | 2038 | eval ac_res=\$$3 | ||
2732 | 2039 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
2733 | 2040 | $as_echo "$ac_res" >&6; } | ||
2734 | 2041 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2735 | 2042 | |||
2736 | 2043 | } # ac_fn_c_check_func | ||
2737 | 2044 | |||
2738 | 2045 | # ac_fn_c_check_decl LINENO SYMBOL VAR | ||
2739 | 2046 | # ------------------------------------ | ||
2740 | 2047 | # Tests whether SYMBOL is declared, setting cache variable VAR accordingly. | ||
2741 | 2048 | ac_fn_c_check_decl () | ||
2742 | 2049 | { | ||
2743 | 2050 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2744 | 2051 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 | ||
2745 | 2052 | $as_echo_n "checking whether $2 is declared... " >&6; } | ||
2746 | 2053 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
2747 | 2054 | $as_echo_n "(cached) " >&6 | ||
2748 | 2055 | else | ||
2749 | 2056 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2750 | 2057 | /* end confdefs.h. */ | ||
2751 | 2058 | $4 | ||
2752 | 2059 | int | ||
2753 | 2060 | main () | ||
2754 | 2061 | { | ||
2755 | 2062 | #ifndef $2 | ||
2756 | 2063 | (void) $2; | ||
2757 | 2064 | #endif | ||
2758 | 2065 | |||
2759 | 2066 | ; | ||
2760 | 2067 | return 0; | ||
2761 | 2068 | } | ||
2762 | 2069 | _ACEOF | ||
2763 | 2070 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2764 | 2071 | eval "$3=yes" | ||
2765 | 2072 | else | ||
2766 | 2073 | eval "$3=no" | ||
2767 | 2074 | fi | ||
2768 | 2075 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2769 | 2076 | fi | ||
2770 | 2077 | eval ac_res=\$$3 | ||
2771 | 2078 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
2772 | 2079 | $as_echo "$ac_res" >&6; } | ||
2773 | 2080 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2774 | 2081 | |||
2775 | 2082 | } # ac_fn_c_check_decl | ||
2776 | 2083 | |||
2777 | 2084 | # ac_fn_c_check_type LINENO TYPE VAR INCLUDES | ||
2778 | 2085 | # ------------------------------------------- | ||
2779 | 2086 | # Tests whether TYPE exists after having included INCLUDES, setting cache | ||
2780 | 2087 | # variable VAR accordingly. | ||
2781 | 2088 | ac_fn_c_check_type () | ||
2782 | 2089 | { | ||
2783 | 2090 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2784 | 2091 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
2785 | 2092 | $as_echo_n "checking for $2... " >&6; } | ||
2786 | 2093 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
2787 | 2094 | $as_echo_n "(cached) " >&6 | ||
2788 | 2095 | else | ||
2789 | 2096 | eval "$3=no" | ||
2790 | 2097 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2791 | 2098 | /* end confdefs.h. */ | ||
2792 | 2099 | $4 | ||
2793 | 2100 | int | ||
2794 | 2101 | main () | ||
2795 | 2102 | { | ||
2796 | 2103 | if (sizeof ($2)) | ||
2797 | 2104 | return 0; | ||
2798 | 2105 | ; | ||
2799 | 2106 | return 0; | ||
2800 | 2107 | } | ||
2801 | 2108 | _ACEOF | ||
2802 | 2109 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2803 | 2110 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2804 | 2111 | /* end confdefs.h. */ | ||
2805 | 2112 | $4 | ||
2806 | 2113 | int | ||
2807 | 2114 | main () | ||
2808 | 2115 | { | ||
2809 | 2116 | if (sizeof (($2))) | ||
2810 | 2117 | return 0; | ||
2811 | 2118 | ; | ||
2812 | 2119 | return 0; | ||
2813 | 2120 | } | ||
2814 | 2121 | _ACEOF | ||
2815 | 2122 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2816 | 2123 | |||
2817 | 2124 | else | ||
2818 | 2125 | eval "$3=yes" | ||
2819 | 2126 | fi | ||
2820 | 2127 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2821 | 2128 | fi | ||
2822 | 2129 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2823 | 2130 | fi | ||
2824 | 2131 | eval ac_res=\$$3 | ||
2825 | 2132 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
2826 | 2133 | $as_echo "$ac_res" >&6; } | ||
2827 | 2134 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2828 | 2135 | |||
2829 | 2136 | } # ac_fn_c_check_type | ||
2830 | 2137 | |||
2831 | 2138 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | ||
2832 | 2139 | # ------------------------------------------------------- | ||
2833 | 2140 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | ||
2834 | 2141 | # the include files in INCLUDES and setting the cache variable VAR | ||
2835 | 2142 | # accordingly. | ||
2836 | 2143 | ac_fn_c_check_header_mongrel () | ||
2837 | 2144 | { | ||
2838 | 2145 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | ||
2839 | 2146 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
2840 | 2147 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
2841 | 2148 | $as_echo_n "checking for $2... " >&6; } | ||
2842 | 2149 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
2843 | 2150 | $as_echo_n "(cached) " >&6 | ||
2844 | 2151 | fi | ||
2845 | 2152 | eval ac_res=\$$3 | ||
2846 | 2153 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
2847 | 2154 | $as_echo "$ac_res" >&6; } | ||
2848 | 2155 | else | ||
2849 | 2156 | # Is the header compilable? | ||
2850 | 2157 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | ||
2851 | 2158 | $as_echo_n "checking $2 usability... " >&6; } | ||
2852 | 2159 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2853 | 2160 | /* end confdefs.h. */ | ||
2854 | 2161 | $4 | ||
2855 | 2162 | #include <$2> | ||
2856 | 2163 | _ACEOF | ||
2857 | 2164 | if ac_fn_c_try_compile "$LINENO"; then : | ||
2858 | 2165 | ac_header_compiler=yes | ||
2859 | 2166 | else | ||
2860 | 2167 | ac_header_compiler=no | ||
2861 | 2168 | fi | ||
2862 | 2169 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
2863 | 2170 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | ||
2864 | 2171 | $as_echo "$ac_header_compiler" >&6; } | ||
2865 | 2172 | |||
2866 | 2173 | # Is the header present? | ||
2867 | 2174 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | ||
2868 | 2175 | $as_echo_n "checking $2 presence... " >&6; } | ||
2869 | 2176 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
2870 | 2177 | /* end confdefs.h. */ | ||
2871 | 2178 | #include <$2> | ||
2872 | 2179 | _ACEOF | ||
2873 | 2180 | if ac_fn_c_try_cpp "$LINENO"; then : | ||
2874 | 2181 | ac_header_preproc=yes | ||
2875 | 2182 | else | ||
2876 | 2183 | ac_header_preproc=no | ||
2877 | 2184 | fi | ||
2878 | 2185 | rm -f conftest.err conftest.$ac_ext | ||
2879 | 2186 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | ||
2880 | 2187 | $as_echo "$ac_header_preproc" >&6; } | ||
2881 | 2188 | |||
2882 | 2189 | # So? What about this header? | ||
2883 | 2190 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | ||
2884 | 2191 | yes:no: ) | ||
2885 | 2192 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | ||
2886 | 2193 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | ||
2887 | 2194 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
2888 | 2195 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
2889 | 2196 | ;; | ||
2890 | 2197 | no:yes:* ) | ||
2891 | 2198 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | ||
2892 | 2199 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | ||
2893 | 2200 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | ||
2894 | 2201 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | ||
2895 | 2202 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | ||
2896 | 2203 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | ||
2897 | 2204 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | ||
2898 | 2205 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | ||
2899 | 2206 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | ||
2900 | 2207 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | ||
2901 | 2208 | ( cat <<\_ASBOX | ||
2902 | 2209 | ## -------------------------------------- ## | ||
2903 | 2210 | ## Report this to http://bugs.clamav.net/ ## | ||
2904 | 2211 | ## -------------------------------------- ## | ||
2905 | 2212 | _ASBOX | ||
2906 | 2213 | ) | sed "s/^/$as_me: WARNING: /" >&2 | ||
2907 | 2214 | ;; | ||
2908 | 2215 | esac | ||
2909 | 2216 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | ||
2910 | 2217 | $as_echo_n "checking for $2... " >&6; } | ||
2911 | 2218 | if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : | ||
2912 | 2219 | $as_echo_n "(cached) " >&6 | ||
2913 | 2220 | else | ||
2914 | 2221 | eval "$3=\$ac_header_compiler" | ||
2915 | 2222 | fi | ||
2916 | 2223 | eval ac_res=\$$3 | ||
2917 | 2224 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | ||
2918 | 2225 | $as_echo "$ac_res" >&6; } | ||
2919 | 2226 | fi | ||
2920 | 2227 | eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} | ||
2921 | 2228 | |||
2922 | 2229 | } # ac_fn_c_check_header_mongrel | ||
2923 | 2230 | cat >config.log <<_ACEOF | 1832 | cat >config.log <<_ACEOF |
2924 | 2231 | This file contains any messages produced by compilers while | 1833 | This file contains any messages produced by compilers while |
2925 | 2232 | running configure, to aid debugging if configure makes a mistake. | 1834 | running configure, to aid debugging if configure makes a mistake. |
2926 | 2233 | 1835 | ||
2929 | 2234 | It was created by ClamAV $as_me 0.97.6, which was | 1836 | It was created by ClamAV $as_me 0.97.7, which was |
2930 | 2235 | generated by GNU Autoconf 2.65. Invocation command line was | 1837 | generated by GNU Autoconf 2.63. Invocation command line was |
2931 | 2236 | 1838 | ||
2932 | 2237 | $ $0 $@ | 1839 | $ $0 $@ |
2933 | 2238 | 1840 | ||
2934 | @@ -2268,8 +1870,8 @@ | |||
2935 | 2268 | do | 1870 | do |
2936 | 2269 | IFS=$as_save_IFS | 1871 | IFS=$as_save_IFS |
2937 | 2270 | test -z "$as_dir" && as_dir=. | 1872 | test -z "$as_dir" && as_dir=. |
2940 | 2271 | $as_echo "PATH: $as_dir" | 1873 | $as_echo "PATH: $as_dir" |
2941 | 2272 | done | 1874 | done |
2942 | 2273 | IFS=$as_save_IFS | 1875 | IFS=$as_save_IFS |
2943 | 2274 | 1876 | ||
2944 | 2275 | } >&5 | 1877 | } >&5 |
2945 | @@ -2306,9 +1908,9 @@ | |||
2946 | 2306 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1908 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
2947 | 2307 | esac | 1909 | esac |
2948 | 2308 | case $ac_pass in | 1910 | case $ac_pass in |
2950 | 2309 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | 1911 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; |
2951 | 2310 | 2) | 1912 | 2) |
2953 | 2311 | as_fn_append ac_configure_args1 " '$ac_arg'" | 1913 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" |
2954 | 2312 | if test $ac_must_keep_next = true; then | 1914 | if test $ac_must_keep_next = true; then |
2955 | 2313 | ac_must_keep_next=false # Got value, back to normal. | 1915 | ac_must_keep_next=false # Got value, back to normal. |
2956 | 2314 | else | 1916 | else |
2957 | @@ -2324,13 +1926,13 @@ | |||
2958 | 2324 | -* ) ac_must_keep_next=true ;; | 1926 | -* ) ac_must_keep_next=true ;; |
2959 | 2325 | esac | 1927 | esac |
2960 | 2326 | fi | 1928 | fi |
2962 | 2327 | as_fn_append ac_configure_args " '$ac_arg'" | 1929 | ac_configure_args="$ac_configure_args '$ac_arg'" |
2963 | 2328 | ;; | 1930 | ;; |
2964 | 2329 | esac | 1931 | esac |
2965 | 2330 | done | 1932 | done |
2966 | 2331 | done | 1933 | done |
2969 | 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; } |
2970 | 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; } |
2971 | 2334 | 1936 | ||
2972 | 2335 | # When interrupted or exit'd, cleanup temporary files, and complete | 1937 | # When interrupted or exit'd, cleanup temporary files, and complete |
2973 | 2336 | # config.log. We remove comments because anyway the quotes in there | 1938 | # config.log. We remove comments because anyway the quotes in there |
2974 | @@ -2355,13 +1957,13 @@ | |||
2975 | 2355 | case $ac_val in #( | 1957 | case $ac_val in #( |
2976 | 2356 | *${as_nl}*) | 1958 | *${as_nl}*) |
2977 | 2357 | case $ac_var in #( | 1959 | case $ac_var in #( |
2979 | 2358 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 1960 | *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 |
2980 | 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;} ;; |
2981 | 2360 | esac | 1962 | esac |
2982 | 2361 | case $ac_var in #( | 1963 | case $ac_var in #( |
2983 | 2362 | _ | IFS | as_nl) ;; #( | 1964 | _ | IFS | as_nl) ;; #( |
2984 | 2363 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 1965 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
2986 | 2364 | *) { eval $ac_var=; unset $ac_var;} ;; | 1966 | *) $as_unset $ac_var ;; |
2987 | 2365 | esac ;; | 1967 | esac ;; |
2988 | 2366 | esac | 1968 | esac |
2989 | 2367 | done | 1969 | done |
2990 | @@ -2433,41 +2035,39 @@ | |||
2991 | 2433 | exit $exit_status | 2035 | exit $exit_status |
2992 | 2434 | ' 0 | 2036 | ' 0 |
2993 | 2435 | for ac_signal in 1 2 13 15; do | 2037 | for ac_signal in 1 2 13 15; do |
2995 | 2436 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | 2038 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
2996 | 2437 | done | 2039 | done |
2997 | 2438 | ac_signal=0 | 2040 | ac_signal=0 |
2998 | 2439 | 2041 | ||
2999 | 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. |
3000 | 2441 | rm -f -r conftest* confdefs.h | 2043 | rm -f -r conftest* confdefs.h |
3001 | 2442 | 2044 | ||
3002 | 2443 | $as_echo "/* confdefs.h */" > confdefs.h | ||
3003 | 2444 | |||
3004 | 2445 | # Predefined preprocessor variables. | 2045 | # Predefined preprocessor variables. |
3005 | 2446 | 2046 | ||
3006 | 2447 | cat >>confdefs.h <<_ACEOF | 2047 | cat >>confdefs.h <<_ACEOF |
3007 | 2448 | #define PACKAGE_NAME "$PACKAGE_NAME" | 2048 | #define PACKAGE_NAME "$PACKAGE_NAME" |
3008 | 2449 | _ACEOF | 2049 | _ACEOF |
3009 | 2450 | 2050 | ||
3010 | 2051 | |||
3011 | 2451 | cat >>confdefs.h <<_ACEOF | 2052 | cat >>confdefs.h <<_ACEOF |
3012 | 2452 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 2053 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
3013 | 2453 | _ACEOF | 2054 | _ACEOF |
3014 | 2454 | 2055 | ||
3015 | 2056 | |||
3016 | 2455 | cat >>confdefs.h <<_ACEOF | 2057 | cat >>confdefs.h <<_ACEOF |
3017 | 2456 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 2058 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
3018 | 2457 | _ACEOF | 2059 | _ACEOF |
3019 | 2458 | 2060 | ||
3020 | 2061 | |||
3021 | 2459 | cat >>confdefs.h <<_ACEOF | 2062 | cat >>confdefs.h <<_ACEOF |
3022 | 2460 | #define PACKAGE_STRING "$PACKAGE_STRING" | 2063 | #define PACKAGE_STRING "$PACKAGE_STRING" |
3023 | 2461 | _ACEOF | 2064 | _ACEOF |
3024 | 2462 | 2065 | ||
3025 | 2066 | |||
3026 | 2463 | cat >>confdefs.h <<_ACEOF | 2067 | cat >>confdefs.h <<_ACEOF |
3027 | 2464 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 2068 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
3028 | 2465 | _ACEOF | 2069 | _ACEOF |
3029 | 2466 | 2070 | ||
3030 | 2467 | cat >>confdefs.h <<_ACEOF | ||
3031 | 2468 | #define PACKAGE_URL "$PACKAGE_URL" | ||
3032 | 2469 | _ACEOF | ||
3033 | 2470 | |||
3034 | 2471 | 2071 | ||
3035 | 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. |
3036 | 2473 | # Prefer an explicitly selected file to automatically selected ones. | 2073 | # Prefer an explicitly selected file to automatically selected ones. |
3037 | @@ -2485,8 +2085,8 @@ | |||
3038 | 2485 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | 2085 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
3039 | 2486 | do | 2086 | do |
3040 | 2487 | test "x$ac_site_file" = xNONE && continue | 2087 | test "x$ac_site_file" = xNONE && continue |
3043 | 2488 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 2088 | if test -r "$ac_site_file"; then |
3044 | 2489 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 2089 | { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
3045 | 2490 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 2090 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
3046 | 2491 | sed 's/^/| /' "$ac_site_file" >&5 | 2091 | sed 's/^/| /' "$ac_site_file" >&5 |
3047 | 2492 | . "$ac_site_file" | 2092 | . "$ac_site_file" |
3048 | @@ -2494,10 +2094,10 @@ | |||
3049 | 2494 | done | 2094 | done |
3050 | 2495 | 2095 | ||
3051 | 2496 | if test -r "$cache_file"; then | 2096 | if test -r "$cache_file"; then |
3056 | 2497 | # Some versions of bash will fail to source /dev/null (special files | 2097 | # Some versions of bash will fail to source /dev/null (special |
3057 | 2498 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. | 2098 | # files actually), so we avoid doing that. |
3058 | 2499 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | 2099 | if test -f "$cache_file"; then |
3059 | 2500 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | 2100 | { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
3060 | 2501 | $as_echo "$as_me: loading cache $cache_file" >&6;} | 2101 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
3061 | 2502 | case $cache_file in | 2102 | case $cache_file in |
3062 | 2503 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | 2103 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
3063 | @@ -2505,7 +2105,7 @@ | |||
3064 | 2505 | esac | 2105 | esac |
3065 | 2506 | fi | 2106 | fi |
3066 | 2507 | else | 2107 | else |
3068 | 2508 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | 2108 | { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
3069 | 2509 | $as_echo "$as_me: creating cache $cache_file" >&6;} | 2109 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
3070 | 2510 | >$cache_file | 2110 | >$cache_file |
3071 | 2511 | fi | 2111 | fi |
3072 | @@ -2520,11 +2120,11 @@ | |||
3073 | 2520 | eval ac_new_val=\$ac_env_${ac_var}_value | 2120 | eval ac_new_val=\$ac_env_${ac_var}_value |
3074 | 2521 | case $ac_old_set,$ac_new_set in | 2121 | case $ac_old_set,$ac_new_set in |
3075 | 2522 | set,) | 2122 | set,) |
3077 | 2523 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 2123 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
3078 | 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;} |
3079 | 2525 | ac_cache_corrupted=: ;; | 2125 | ac_cache_corrupted=: ;; |
3080 | 2526 | ,set) | 2126 | ,set) |
3082 | 2527 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | 2127 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
3083 | 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;} |
3084 | 2529 | ac_cache_corrupted=: ;; | 2129 | ac_cache_corrupted=: ;; |
3085 | 2530 | ,);; | 2130 | ,);; |
3086 | @@ -2534,17 +2134,17 @@ | |||
3087 | 2534 | ac_old_val_w=`echo x $ac_old_val` | 2134 | ac_old_val_w=`echo x $ac_old_val` |
3088 | 2535 | ac_new_val_w=`echo x $ac_new_val` | 2135 | ac_new_val_w=`echo x $ac_new_val` |
3089 | 2536 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | 2136 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
3091 | 2537 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | 2137 | { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
3092 | 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;} |
3093 | 2539 | ac_cache_corrupted=: | 2139 | ac_cache_corrupted=: |
3094 | 2540 | else | 2140 | else |
3096 | 2541 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | 2141 | { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
3097 | 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;} |
3098 | 2543 | eval $ac_var=\$ac_old_val | 2143 | eval $ac_var=\$ac_old_val |
3099 | 2544 | fi | 2144 | fi |
3101 | 2545 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | 2145 | { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 |
3102 | 2546 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | 2146 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
3104 | 2547 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | 2147 | { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 |
3105 | 2548 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | 2148 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
3106 | 2549 | fi;; | 2149 | fi;; |
3107 | 2550 | esac | 2150 | esac |
3108 | @@ -2556,20 +2156,43 @@ | |||
3109 | 2556 | esac | 2156 | esac |
3110 | 2557 | case " $ac_configure_args " in | 2157 | case " $ac_configure_args " in |
3111 | 2558 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 2158 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
3113 | 2559 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | 2159 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
3114 | 2560 | esac | 2160 | esac |
3115 | 2561 | fi | 2161 | fi |
3116 | 2562 | done | 2162 | done |
3117 | 2563 | if $ac_cache_corrupted; then | 2163 | if $ac_cache_corrupted; then |
3119 | 2564 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2164 | { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
3120 | 2565 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2165 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3122 | 2566 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 2166 | { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
3123 | 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;} |
3125 | 2568 | as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 2168 | { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
3126 | 2169 | $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | ||
3127 | 2170 | { (exit 1); exit 1; }; } | ||
3128 | 2569 | fi | 2171 | fi |
3132 | 2570 | ## -------------------- ## | 2172 | |
3133 | 2571 | ## Main body of script. ## | 2173 | |
3134 | 2572 | ## -------------------- ## | 2174 | |
3135 | 2175 | |||
3136 | 2176 | |||
3137 | 2177 | |||
3138 | 2178 | |||
3139 | 2179 | |||
3140 | 2180 | |||
3141 | 2181 | |||
3142 | 2182 | |||
3143 | 2183 | |||
3144 | 2184 | |||
3145 | 2185 | |||
3146 | 2186 | |||
3147 | 2187 | |||
3148 | 2188 | |||
3149 | 2189 | |||
3150 | 2190 | |||
3151 | 2191 | |||
3152 | 2192 | |||
3153 | 2193 | |||
3154 | 2194 | |||
3155 | 2195 | |||
3156 | 2573 | 2196 | ||
3157 | 2574 | ac_ext=c | 2197 | ac_ext=c |
3158 | 2575 | ac_cpp='$CPP $CPPFLAGS' | 2198 | ac_cpp='$CPP $CPPFLAGS' |
3159 | @@ -2580,18 +2203,27 @@ | |||
3160 | 2580 | 2203 | ||
3161 | 2581 | 2204 | ||
3162 | 2582 | 2205 | ||
3163 | 2206 | |||
3164 | 2583 | ac_aux_dir= | 2207 | ac_aux_dir= |
3165 | 2584 | for ac_dir in config "$srcdir"/config; do | 2208 | for ac_dir in config "$srcdir"/config; do |
3173 | 2585 | for ac_t in install-sh install.sh shtool; do | 2209 | if test -f "$ac_dir/install-sh"; then |
3174 | 2586 | if test -f "$ac_dir/$ac_t"; then | 2210 | ac_aux_dir=$ac_dir |
3175 | 2587 | ac_aux_dir=$ac_dir | 2211 | ac_install_sh="$ac_aux_dir/install-sh -c" |
3176 | 2588 | ac_install_sh="$ac_aux_dir/$ac_t -c" | 2212 | break |
3177 | 2589 | break 2 | 2213 | elif test -f "$ac_dir/install.sh"; then |
3178 | 2590 | fi | 2214 | ac_aux_dir=$ac_dir |
3179 | 2591 | done | 2215 | ac_install_sh="$ac_aux_dir/install.sh -c" |
3180 | 2216 | break | ||
3181 | 2217 | elif test -f "$ac_dir/shtool"; then | ||
3182 | 2218 | ac_aux_dir=$ac_dir | ||
3183 | 2219 | ac_install_sh="$ac_aux_dir/shtool install -c" | ||
3184 | 2220 | break | ||
3185 | 2221 | fi | ||
3186 | 2592 | done | 2222 | done |
3187 | 2593 | if test -z "$ac_aux_dir"; then | 2223 | if test -z "$ac_aux_dir"; then |
3189 | 2594 | as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 | 2224 | { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5 |
3190 | 2225 | $as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;} | ||
3191 | 2226 | { (exit 1); exit 1; }; } | ||
3192 | 2595 | fi | 2227 | fi |
3193 | 2596 | 2228 | ||
3194 | 2597 | # These three variables are undocumented and unsupported, | 2229 | # These three variables are undocumented and unsupported, |
3195 | @@ -2610,27 +2242,35 @@ | |||
3196 | 2610 | 2242 | ||
3197 | 2611 | # Make sure we can run config.sub. | 2243 | # Make sure we can run config.sub. |
3198 | 2612 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 2244 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
3200 | 2613 | as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 2245 | { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 |
3201 | 2246 | $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} | ||
3202 | 2247 | { (exit 1); exit 1; }; } | ||
3203 | 2614 | 2248 | ||
3205 | 2615 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 2249 | { $as_echo "$as_me:$LINENO: checking build system type" >&5 |
3206 | 2616 | $as_echo_n "checking build system type... " >&6; } | 2250 | $as_echo_n "checking build system type... " >&6; } |
3208 | 2617 | if test "${ac_cv_build+set}" = set; then : | 2251 | if test "${ac_cv_build+set}" = set; then |
3209 | 2618 | $as_echo_n "(cached) " >&6 | 2252 | $as_echo_n "(cached) " >&6 |
3210 | 2619 | else | 2253 | else |
3211 | 2620 | ac_build_alias=$build_alias | 2254 | ac_build_alias=$build_alias |
3212 | 2621 | test "x$ac_build_alias" = x && | 2255 | test "x$ac_build_alias" = x && |
3213 | 2622 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 2256 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
3214 | 2623 | test "x$ac_build_alias" = x && | 2257 | test "x$ac_build_alias" = x && |
3216 | 2624 | as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 | 2258 | { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
3217 | 2259 | $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | ||
3218 | 2260 | { (exit 1); exit 1; }; } | ||
3219 | 2625 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 2261 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
3221 | 2626 | as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 2262 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 |
3222 | 2263 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} | ||
3223 | 2264 | { (exit 1); exit 1; }; } | ||
3224 | 2627 | 2265 | ||
3225 | 2628 | fi | 2266 | fi |
3227 | 2629 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 2267 | { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
3228 | 2630 | $as_echo "$ac_cv_build" >&6; } | 2268 | $as_echo "$ac_cv_build" >&6; } |
3229 | 2631 | case $ac_cv_build in | 2269 | case $ac_cv_build in |
3230 | 2632 | *-*-*) ;; | 2270 | *-*-*) ;; |
3232 | 2633 | *) as_fn_error "invalid value of canonical build" "$LINENO" 5;; | 2271 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 |
3233 | 2272 | $as_echo "$as_me: error: invalid value of canonical build" >&2;} | ||
3234 | 2273 | { (exit 1); exit 1; }; };; | ||
3235 | 2634 | esac | 2274 | esac |
3236 | 2635 | build=$ac_cv_build | 2275 | build=$ac_cv_build |
3237 | 2636 | ac_save_IFS=$IFS; IFS='-' | 2276 | ac_save_IFS=$IFS; IFS='-' |
3238 | @@ -2646,24 +2286,28 @@ | |||
3239 | 2646 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 2286 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
3240 | 2647 | 2287 | ||
3241 | 2648 | 2288 | ||
3243 | 2649 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | 2289 | { $as_echo "$as_me:$LINENO: checking host system type" >&5 |
3244 | 2650 | $as_echo_n "checking host system type... " >&6; } | 2290 | $as_echo_n "checking host system type... " >&6; } |
3246 | 2651 | if test "${ac_cv_host+set}" = set; then : | 2291 | if test "${ac_cv_host+set}" = set; then |
3247 | 2652 | $as_echo_n "(cached) " >&6 | 2292 | $as_echo_n "(cached) " >&6 |
3248 | 2653 | else | 2293 | else |
3249 | 2654 | if test "x$host_alias" = x; then | 2294 | if test "x$host_alias" = x; then |
3250 | 2655 | ac_cv_host=$ac_cv_build | 2295 | ac_cv_host=$ac_cv_build |
3251 | 2656 | else | 2296 | else |
3252 | 2657 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 2297 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
3254 | 2658 | as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 2298 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 |
3255 | 2299 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} | ||
3256 | 2300 | { (exit 1); exit 1; }; } | ||
3257 | 2659 | fi | 2301 | fi |
3258 | 2660 | 2302 | ||
3259 | 2661 | fi | 2303 | fi |
3261 | 2662 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 2304 | { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
3262 | 2663 | $as_echo "$ac_cv_host" >&6; } | 2305 | $as_echo "$ac_cv_host" >&6; } |
3263 | 2664 | case $ac_cv_host in | 2306 | case $ac_cv_host in |
3264 | 2665 | *-*-*) ;; | 2307 | *-*-*) ;; |
3266 | 2666 | *) as_fn_error "invalid value of canonical host" "$LINENO" 5;; | 2308 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 |
3267 | 2309 | $as_echo "$as_me: error: invalid value of canonical host" >&2;} | ||
3268 | 2310 | { (exit 1); exit 1; }; };; | ||
3269 | 2667 | esac | 2311 | esac |
3270 | 2668 | host=$ac_cv_host | 2312 | host=$ac_cv_host |
3271 | 2669 | ac_save_IFS=$IFS; IFS='-' | 2313 | ac_save_IFS=$IFS; IFS='-' |
3272 | @@ -2679,24 +2323,28 @@ | |||
3273 | 2679 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | 2323 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
3274 | 2680 | 2324 | ||
3275 | 2681 | 2325 | ||
3277 | 2682 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 | 2326 | { $as_echo "$as_me:$LINENO: checking target system type" >&5 |
3278 | 2683 | $as_echo_n "checking target system type... " >&6; } | 2327 | $as_echo_n "checking target system type... " >&6; } |
3280 | 2684 | if test "${ac_cv_target+set}" = set; then : | 2328 | if test "${ac_cv_target+set}" = set; then |
3281 | 2685 | $as_echo_n "(cached) " >&6 | 2329 | $as_echo_n "(cached) " >&6 |
3282 | 2686 | else | 2330 | else |
3283 | 2687 | if test "x$target_alias" = x; then | 2331 | if test "x$target_alias" = x; then |
3284 | 2688 | ac_cv_target=$ac_cv_host | 2332 | ac_cv_target=$ac_cv_host |
3285 | 2689 | else | 2333 | else |
3286 | 2690 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || | 2334 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
3288 | 2691 | as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 | 2335 | { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5 |
3289 | 2336 | $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;} | ||
3290 | 2337 | { (exit 1); exit 1; }; } | ||
3291 | 2692 | fi | 2338 | fi |
3292 | 2693 | 2339 | ||
3293 | 2694 | fi | 2340 | fi |
3295 | 2695 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 | 2341 | { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
3296 | 2696 | $as_echo "$ac_cv_target" >&6; } | 2342 | $as_echo "$ac_cv_target" >&6; } |
3297 | 2697 | case $ac_cv_target in | 2343 | case $ac_cv_target in |
3298 | 2698 | *-*-*) ;; | 2344 | *-*-*) ;; |
3300 | 2699 | *) as_fn_error "invalid value of canonical target" "$LINENO" 5;; | 2345 | *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5 |
3301 | 2346 | $as_echo "$as_me: error: invalid value of canonical target" >&2;} | ||
3302 | 2347 | { (exit 1); exit 1; }; };; | ||
3303 | 2700 | esac | 2348 | esac |
3304 | 2701 | target=$ac_cv_target | 2349 | target=$ac_cv_target |
3305 | 2702 | ac_save_IFS=$IFS; IFS='-' | 2350 | ac_save_IFS=$IFS; IFS='-' |
3306 | @@ -2719,7 +2367,6 @@ | |||
3307 | 2719 | NONENONEs,x,x, && | 2367 | NONENONEs,x,x, && |
3308 | 2720 | program_prefix=${target_alias}- | 2368 | program_prefix=${target_alias}- |
3309 | 2721 | 2369 | ||
3310 | 2722 | |||
3311 | 2723 | target_cpu_arch="unknown" | 2370 | target_cpu_arch="unknown" |
3312 | 2724 | case $target_cpu in | 2371 | case $target_cpu in |
3313 | 2725 | i386*|i486*|i586*|i686*|i786*) target_cpu_arch=i386 ;; | 2372 | i386*|i486*|i586*|i686*|i786*) target_cpu_arch=i386 ;; |
3314 | @@ -2776,7 +2423,7 @@ | |||
3315 | 2776 | # | 2423 | # |
3316 | 2777 | # | 2424 | # |
3317 | 2778 | if $ac_need_target_h_file_new ; then | 2425 | if $ac_need_target_h_file_new ; then |
3319 | 2779 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: creating $ac_need_target_h_file - canonical system defines" >&5 | 2426 | { $as_echo "$as_me:$LINENO: result: creating $ac_need_target_h_file - canonical system defines" >&5 |
3320 | 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; } |
3321 | 2781 | echo /'*' automatically generated by $PACKAGE configure '*'/ >$ac_need_target_h_file | 2428 | echo /'*' automatically generated by $PACKAGE configure '*'/ >$ac_need_target_h_file |
3322 | 2782 | echo /'*' on `date` '*'/ >>$ac_need_target_h_file | 2429 | echo /'*' on `date` '*'/ >>$ac_need_target_h_file |
3323 | @@ -2850,7 +2497,7 @@ | |||
3324 | 2850 | # | 2497 | # |
3325 | 2851 | # | 2498 | # |
3326 | 2852 | if $ac_need_target_h_file_new ; then | 2499 | if $ac_need_target_h_file_new ; then |
3328 | 2853 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: creating $ac_need_target_h_file - canonical system defines" >&5 | 2500 | { $as_echo "$as_me:$LINENO: result: creating $ac_need_target_h_file - canonical system defines" >&5 |
3329 | 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; } |
3330 | 2855 | echo /'*' automatically generated by $PACKAGE configure '*'/ >$ac_need_target_h_file | 2502 | echo /'*' automatically generated by $PACKAGE configure '*'/ >$ac_need_target_h_file |
3331 | 2856 | echo /'*' on `date` '*'/ >>$ac_need_target_h_file | 2503 | echo /'*' on `date` '*'/ >>$ac_need_target_h_file |
3332 | @@ -2923,10 +2570,10 @@ | |||
3333 | 2923 | # OS/2's system install, which has a completely different semantic | 2570 | # OS/2's system install, which has a completely different semantic |
3334 | 2924 | # ./install, which can be erroneously created by make from ./install.sh. | 2571 | # ./install, which can be erroneously created by make from ./install.sh. |
3335 | 2925 | # Reject install programs that cannot install multiple files. | 2572 | # Reject install programs that cannot install multiple files. |
3337 | 2926 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 2573 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
3338 | 2927 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | 2574 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
3339 | 2928 | if test -z "$INSTALL"; then | 2575 | if test -z "$INSTALL"; then |
3341 | 2929 | if test "${ac_cv_path_install+set}" = set; then : | 2576 | if test "${ac_cv_path_install+set}" = set; then |
3342 | 2930 | $as_echo_n "(cached) " >&6 | 2577 | $as_echo_n "(cached) " >&6 |
3343 | 2931 | else | 2578 | else |
3344 | 2932 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2579 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3345 | @@ -2934,11 +2581,11 @@ | |||
3346 | 2934 | do | 2581 | do |
3347 | 2935 | IFS=$as_save_IFS | 2582 | IFS=$as_save_IFS |
3348 | 2936 | test -z "$as_dir" && as_dir=. | 2583 | test -z "$as_dir" && as_dir=. |
3352 | 2937 | # Account for people who put trailing slashes in PATH elements. | 2584 | # Account for people who put trailing slashes in PATH elements. |
3353 | 2938 | case $as_dir/ in #(( | 2585 | case $as_dir/ in |
3354 | 2939 | ./ | .// | /[cC]/* | \ | 2586 | ./ | .// | /cC/* | \ |
3355 | 2940 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 2587 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
3357 | 2941 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | 2588 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
3358 | 2942 | /usr/ucb/* ) ;; | 2589 | /usr/ucb/* ) ;; |
3359 | 2943 | *) | 2590 | *) |
3360 | 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. |
3361 | @@ -2975,7 +2622,7 @@ | |||
3362 | 2975 | ;; | 2622 | ;; |
3363 | 2976 | esac | 2623 | esac |
3364 | 2977 | 2624 | ||
3366 | 2978 | done | 2625 | done |
3367 | 2979 | IFS=$as_save_IFS | 2626 | IFS=$as_save_IFS |
3368 | 2980 | 2627 | ||
3369 | 2981 | rm -rf conftest.one conftest.two conftest.dir | 2628 | rm -rf conftest.one conftest.two conftest.dir |
3370 | @@ -2991,7 +2638,7 @@ | |||
3371 | 2991 | INSTALL=$ac_install_sh | 2638 | INSTALL=$ac_install_sh |
3372 | 2992 | fi | 2639 | fi |
3373 | 2993 | fi | 2640 | fi |
3375 | 2994 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | 2641 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 |
3376 | 2995 | $as_echo "$INSTALL" >&6; } | 2642 | $as_echo "$INSTALL" >&6; } |
3377 | 2996 | 2643 | ||
3378 | 2997 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 2644 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3379 | @@ -3002,7 +2649,7 @@ | |||
3380 | 3002 | 2649 | ||
3381 | 3003 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 2650 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3382 | 3004 | 2651 | ||
3384 | 3005 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 | 2652 | { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 |
3385 | 3006 | $as_echo_n "checking whether build environment is sane... " >&6; } | 2653 | $as_echo_n "checking whether build environment is sane... " >&6; } |
3386 | 3007 | # Just in case | 2654 | # Just in case |
3387 | 3008 | sleep 1 | 2655 | sleep 1 |
3388 | @@ -3013,11 +2660,15 @@ | |||
3389 | 3013 | ' | 2660 | ' |
3390 | 3014 | case `pwd` in | 2661 | case `pwd` in |
3391 | 3015 | *[\\\"\#\$\&\'\`$am_lf]*) | 2662 | *[\\\"\#\$\&\'\`$am_lf]*) |
3393 | 3016 | as_fn_error "unsafe absolute working directory name" "$LINENO" 5;; | 2663 | { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5 |
3394 | 2664 | $as_echo "$as_me: error: unsafe absolute working directory name" >&2;} | ||
3395 | 2665 | { (exit 1); exit 1; }; };; | ||
3396 | 3017 | esac | 2666 | esac |
3397 | 3018 | case $srcdir in | 2667 | case $srcdir in |
3398 | 3019 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | 2668 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
3400 | 3020 | as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | 2669 | { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5 |
3401 | 2670 | $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;} | ||
3402 | 2671 | { (exit 1); exit 1; }; };; | ||
3403 | 3021 | esac | 2672 | esac |
3404 | 3022 | 2673 | ||
3405 | 3023 | # Do `set' in a subshell so we don't clobber the current shell's | 2674 | # Do `set' in a subshell so we don't clobber the current shell's |
3406 | @@ -3039,8 +2690,11 @@ | |||
3407 | 3039 | # if, for instance, CONFIG_SHELL is bash and it inherits a | 2690 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
3408 | 3040 | # broken ls alias from the environment. This has actually | 2691 | # broken ls alias from the environment. This has actually |
3409 | 3041 | # happened. Such a system could not be considered "sane". | 2692 | # happened. Such a system could not be considered "sane". |
3412 | 3042 | as_fn_error "ls -t appears to fail. Make sure there is not a broken | 2693 | { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken |
3413 | 3043 | alias in your environment" "$LINENO" 5 | 2694 | alias in your environment" >&5 |
3414 | 2695 | $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken | ||
3415 | 2696 | alias in your environment" >&2;} | ||
3416 | 2697 | { (exit 1); exit 1; }; } | ||
3417 | 3044 | fi | 2698 | fi |
3418 | 3045 | 2699 | ||
3419 | 3046 | test "$2" = conftest.file | 2700 | test "$2" = conftest.file |
3420 | @@ -3049,10 +2703,13 @@ | |||
3421 | 3049 | # Ok. | 2703 | # Ok. |
3422 | 3050 | : | 2704 | : |
3423 | 3051 | else | 2705 | else |
3426 | 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! |
3427 | 3053 | Check your system clock" "$LINENO" 5 | 2707 | Check your system clock" >&5 |
3428 | 2708 | $as_echo "$as_me: error: newly created file is older than distributed files! | ||
3429 | 2709 | Check your system clock" >&2;} | ||
3430 | 2710 | { (exit 1); exit 1; }; } | ||
3431 | 3054 | fi | 2711 | fi |
3433 | 3055 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 2712 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
3434 | 3056 | $as_echo "yes" >&6; } | 2713 | $as_echo "yes" >&6; } |
3435 | 3057 | test "$program_prefix" != NONE && | 2714 | test "$program_prefix" != NONE && |
3436 | 3058 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | 2715 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
3437 | @@ -3080,7 +2737,7 @@ | |||
3438 | 3080 | am_missing_run="$MISSING --run " | 2737 | am_missing_run="$MISSING --run " |
3439 | 3081 | else | 2738 | else |
3440 | 3082 | am_missing_run= | 2739 | am_missing_run= |
3442 | 3083 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 | 2740 | { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 |
3443 | 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;} |
3444 | 3085 | fi | 2742 | fi |
3445 | 3086 | 2743 | ||
3446 | @@ -3101,9 +2758,9 @@ | |||
3447 | 3101 | if test -n "$ac_tool_prefix"; then | 2758 | if test -n "$ac_tool_prefix"; then |
3448 | 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. |
3449 | 3103 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 2760 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
3451 | 3104 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2761 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3452 | 3105 | $as_echo_n "checking for $ac_word... " >&6; } | 2762 | $as_echo_n "checking for $ac_word... " >&6; } |
3454 | 3106 | if test "${ac_cv_prog_STRIP+set}" = set; then : | 2763 | if test "${ac_cv_prog_STRIP+set}" = set; then |
3455 | 3107 | $as_echo_n "(cached) " >&6 | 2764 | $as_echo_n "(cached) " >&6 |
3456 | 3108 | else | 2765 | else |
3457 | 3109 | if test -n "$STRIP"; then | 2766 | if test -n "$STRIP"; then |
3458 | @@ -3114,24 +2771,24 @@ | |||
3459 | 3114 | do | 2771 | do |
3460 | 3115 | IFS=$as_save_IFS | 2772 | IFS=$as_save_IFS |
3461 | 3116 | test -z "$as_dir" && as_dir=. | 2773 | test -z "$as_dir" && as_dir=. |
3463 | 3117 | for ac_exec_ext in '' $ac_executable_extensions; do | 2774 | for ac_exec_ext in '' $ac_executable_extensions; do |
3464 | 3118 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2775 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3465 | 3119 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 2776 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
3467 | 3120 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2777 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3468 | 3121 | break 2 | 2778 | break 2 |
3469 | 3122 | fi | 2779 | fi |
3470 | 3123 | done | 2780 | done |
3472 | 3124 | done | 2781 | done |
3473 | 3125 | IFS=$as_save_IFS | 2782 | IFS=$as_save_IFS |
3474 | 3126 | 2783 | ||
3475 | 3127 | fi | 2784 | fi |
3476 | 3128 | fi | 2785 | fi |
3477 | 3129 | STRIP=$ac_cv_prog_STRIP | 2786 | STRIP=$ac_cv_prog_STRIP |
3478 | 3130 | if test -n "$STRIP"; then | 2787 | if test -n "$STRIP"; then |
3480 | 3131 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | 2788 | { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 |
3481 | 3132 | $as_echo "$STRIP" >&6; } | 2789 | $as_echo "$STRIP" >&6; } |
3482 | 3133 | else | 2790 | else |
3484 | 3134 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2791 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
3485 | 3135 | $as_echo "no" >&6; } | 2792 | $as_echo "no" >&6; } |
3486 | 3136 | fi | 2793 | fi |
3487 | 3137 | 2794 | ||
3488 | @@ -3141,9 +2798,9 @@ | |||
3489 | 3141 | ac_ct_STRIP=$STRIP | 2798 | ac_ct_STRIP=$STRIP |
3490 | 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. |
3491 | 3143 | set dummy strip; ac_word=$2 | 2800 | set dummy strip; ac_word=$2 |
3493 | 3144 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2801 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3494 | 3145 | $as_echo_n "checking for $ac_word... " >&6; } | 2802 | $as_echo_n "checking for $ac_word... " >&6; } |
3496 | 3146 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : | 2803 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then |
3497 | 3147 | $as_echo_n "(cached) " >&6 | 2804 | $as_echo_n "(cached) " >&6 |
3498 | 3148 | else | 2805 | else |
3499 | 3149 | if test -n "$ac_ct_STRIP"; then | 2806 | if test -n "$ac_ct_STRIP"; then |
3500 | @@ -3154,24 +2811,24 @@ | |||
3501 | 3154 | do | 2811 | do |
3502 | 3155 | IFS=$as_save_IFS | 2812 | IFS=$as_save_IFS |
3503 | 3156 | test -z "$as_dir" && as_dir=. | 2813 | test -z "$as_dir" && as_dir=. |
3505 | 3157 | for ac_exec_ext in '' $ac_executable_extensions; do | 2814 | for ac_exec_ext in '' $ac_executable_extensions; do |
3506 | 3158 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2815 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3507 | 3159 | ac_cv_prog_ac_ct_STRIP="strip" | 2816 | ac_cv_prog_ac_ct_STRIP="strip" |
3509 | 3160 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2817 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3510 | 3161 | break 2 | 2818 | break 2 |
3511 | 3162 | fi | 2819 | fi |
3512 | 3163 | done | 2820 | done |
3514 | 3164 | done | 2821 | done |
3515 | 3165 | IFS=$as_save_IFS | 2822 | IFS=$as_save_IFS |
3516 | 3166 | 2823 | ||
3517 | 3167 | fi | 2824 | fi |
3518 | 3168 | fi | 2825 | fi |
3519 | 3169 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 2826 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
3520 | 3170 | if test -n "$ac_ct_STRIP"; then | 2827 | if test -n "$ac_ct_STRIP"; then |
3522 | 3171 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | 2828 | { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 |
3523 | 3172 | $as_echo "$ac_ct_STRIP" >&6; } | 2829 | $as_echo "$ac_ct_STRIP" >&6; } |
3524 | 3173 | else | 2830 | else |
3526 | 3174 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2831 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
3527 | 3175 | $as_echo "no" >&6; } | 2832 | $as_echo "no" >&6; } |
3528 | 3176 | fi | 2833 | fi |
3529 | 3177 | 2834 | ||
3530 | @@ -3180,7 +2837,7 @@ | |||
3531 | 3180 | else | 2837 | else |
3532 | 3181 | case $cross_compiling:$ac_tool_warned in | 2838 | case $cross_compiling:$ac_tool_warned in |
3533 | 3182 | yes:) | 2839 | yes:) |
3535 | 3183 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 2840 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
3536 | 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;} |
3537 | 3185 | ac_tool_warned=yes ;; | 2842 | ac_tool_warned=yes ;; |
3538 | 3186 | esac | 2843 | esac |
3539 | @@ -3193,10 +2850,10 @@ | |||
3540 | 3193 | fi | 2850 | fi |
3541 | 3194 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | 2851 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
3542 | 3195 | 2852 | ||
3544 | 3196 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 | 2853 | { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 |
3545 | 3197 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | 2854 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
3546 | 3198 | if test -z "$MKDIR_P"; then | 2855 | if test -z "$MKDIR_P"; then |
3548 | 3199 | if test "${ac_cv_path_mkdir+set}" = set; then : | 2856 | if test "${ac_cv_path_mkdir+set}" = set; then |
3549 | 3200 | $as_echo_n "(cached) " >&6 | 2857 | $as_echo_n "(cached) " >&6 |
3550 | 3201 | else | 2858 | else |
3551 | 3202 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2859 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3552 | @@ -3204,7 +2861,7 @@ | |||
3553 | 3204 | do | 2861 | do |
3554 | 3205 | IFS=$as_save_IFS | 2862 | IFS=$as_save_IFS |
3555 | 3206 | test -z "$as_dir" && as_dir=. | 2863 | test -z "$as_dir" && as_dir=. |
3557 | 3207 | for ac_prog in mkdir gmkdir; do | 2864 | for ac_prog in mkdir gmkdir; do |
3558 | 3208 | for ac_exec_ext in '' $ac_executable_extensions; do | 2865 | for ac_exec_ext in '' $ac_executable_extensions; do |
3559 | 3209 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | 2866 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
3560 | 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 #( |
3561 | @@ -3216,12 +2873,11 @@ | |||
3562 | 3216 | esac | 2873 | esac |
3563 | 3217 | done | 2874 | done |
3564 | 3218 | done | 2875 | done |
3566 | 3219 | done | 2876 | done |
3567 | 3220 | IFS=$as_save_IFS | 2877 | IFS=$as_save_IFS |
3568 | 3221 | 2878 | ||
3569 | 3222 | fi | 2879 | fi |
3570 | 3223 | 2880 | ||
3571 | 3224 | test -d ./--version && rmdir ./--version | ||
3572 | 3225 | if test "${ac_cv_path_mkdir+set}" = set; then | 2881 | if test "${ac_cv_path_mkdir+set}" = set; then |
3573 | 3226 | MKDIR_P="$ac_cv_path_mkdir -p" | 2882 | MKDIR_P="$ac_cv_path_mkdir -p" |
3574 | 3227 | else | 2883 | else |
3575 | @@ -3229,10 +2885,11 @@ | |||
3576 | 3229 | # value for MKDIR_P within a source directory, because that will | 2885 | # value for MKDIR_P within a source directory, because that will |
3577 | 3230 | # break other packages using the cache if that directory is | 2886 | # break other packages using the cache if that directory is |
3578 | 3231 | # removed, or if the value is a relative name. | 2887 | # removed, or if the value is a relative name. |
3579 | 2888 | test -d ./--version && rmdir ./--version | ||
3580 | 3232 | MKDIR_P="$ac_install_sh -d" | 2889 | MKDIR_P="$ac_install_sh -d" |
3581 | 3233 | fi | 2890 | fi |
3582 | 3234 | fi | 2891 | fi |
3584 | 3235 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | 2892 | { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 |
3585 | 3236 | $as_echo "$MKDIR_P" >&6; } | 2893 | $as_echo "$MKDIR_P" >&6; } |
3586 | 3237 | 2894 | ||
3587 | 3238 | mkdir_p="$MKDIR_P" | 2895 | mkdir_p="$MKDIR_P" |
3588 | @@ -3245,9 +2902,9 @@ | |||
3589 | 3245 | do | 2902 | do |
3590 | 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. |
3591 | 3247 | set dummy $ac_prog; ac_word=$2 | 2904 | set dummy $ac_prog; ac_word=$2 |
3593 | 3248 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2905 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3594 | 3249 | $as_echo_n "checking for $ac_word... " >&6; } | 2906 | $as_echo_n "checking for $ac_word... " >&6; } |
3596 | 3250 | if test "${ac_cv_prog_AWK+set}" = set; then : | 2907 | if test "${ac_cv_prog_AWK+set}" = set; then |
3597 | 3251 | $as_echo_n "(cached) " >&6 | 2908 | $as_echo_n "(cached) " >&6 |
3598 | 3252 | else | 2909 | else |
3599 | 3253 | if test -n "$AWK"; then | 2910 | if test -n "$AWK"; then |
3600 | @@ -3258,24 +2915,24 @@ | |||
3601 | 3258 | do | 2915 | do |
3602 | 3259 | IFS=$as_save_IFS | 2916 | IFS=$as_save_IFS |
3603 | 3260 | test -z "$as_dir" && as_dir=. | 2917 | test -z "$as_dir" && as_dir=. |
3605 | 3261 | for ac_exec_ext in '' $ac_executable_extensions; do | 2918 | for ac_exec_ext in '' $ac_executable_extensions; do |
3606 | 3262 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2919 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3607 | 3263 | ac_cv_prog_AWK="$ac_prog" | 2920 | ac_cv_prog_AWK="$ac_prog" |
3609 | 3264 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2921 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3610 | 3265 | break 2 | 2922 | break 2 |
3611 | 3266 | fi | 2923 | fi |
3612 | 3267 | done | 2924 | done |
3614 | 3268 | done | 2925 | done |
3615 | 3269 | IFS=$as_save_IFS | 2926 | IFS=$as_save_IFS |
3616 | 3270 | 2927 | ||
3617 | 3271 | fi | 2928 | fi |
3618 | 3272 | fi | 2929 | fi |
3619 | 3273 | AWK=$ac_cv_prog_AWK | 2930 | AWK=$ac_cv_prog_AWK |
3620 | 3274 | if test -n "$AWK"; then | 2931 | if test -n "$AWK"; then |
3622 | 3275 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | 2932 | { $as_echo "$as_me:$LINENO: result: $AWK" >&5 |
3623 | 3276 | $as_echo "$AWK" >&6; } | 2933 | $as_echo "$AWK" >&6; } |
3624 | 3277 | else | 2934 | else |
3626 | 3278 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2935 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
3627 | 3279 | $as_echo "no" >&6; } | 2936 | $as_echo "no" >&6; } |
3628 | 3280 | fi | 2937 | fi |
3629 | 3281 | 2938 | ||
3630 | @@ -3283,11 +2940,11 @@ | |||
3631 | 3283 | test -n "$AWK" && break | 2940 | test -n "$AWK" && break |
3632 | 3284 | done | 2941 | done |
3633 | 3285 | 2942 | ||
3635 | 3286 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 2943 | { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3636 | 3287 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 2944 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
3637 | 3288 | set x ${MAKE-make} | 2945 | set x ${MAKE-make} |
3638 | 3289 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 2946 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
3640 | 3290 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : | 2947 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
3641 | 3291 | $as_echo_n "(cached) " >&6 | 2948 | $as_echo_n "(cached) " >&6 |
3642 | 3292 | else | 2949 | else |
3643 | 3293 | cat >conftest.make <<\_ACEOF | 2950 | cat >conftest.make <<\_ACEOF |
3644 | @@ -3305,11 +2962,11 @@ | |||
3645 | 3305 | rm -f conftest.make | 2962 | rm -f conftest.make |
3646 | 3306 | fi | 2963 | fi |
3647 | 3307 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 2964 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
3649 | 3308 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 2965 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
3650 | 3309 | $as_echo "yes" >&6; } | 2966 | $as_echo "yes" >&6; } |
3651 | 3310 | SET_MAKE= | 2967 | SET_MAKE= |
3652 | 3311 | else | 2968 | else |
3654 | 3312 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2969 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
3655 | 3313 | $as_echo "no" >&6; } | 2970 | $as_echo "no" >&6; } |
3656 | 3314 | SET_MAKE="MAKE=${MAKE-make}" | 2971 | SET_MAKE="MAKE=${MAKE-make}" |
3657 | 3315 | fi | 2972 | fi |
3658 | @@ -3329,7 +2986,9 @@ | |||
3659 | 3329 | am__isrc=' -I$(srcdir)' | 2986 | am__isrc=' -I$(srcdir)' |
3660 | 3330 | # test to see if srcdir already configured | 2987 | # test to see if srcdir already configured |
3661 | 3331 | if test -f $srcdir/config.status; then | 2988 | if test -f $srcdir/config.status; then |
3663 | 3332 | as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | 2989 | { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 |
3664 | 2990 | $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} | ||
3665 | 2991 | { (exit 1); exit 1; }; } | ||
3666 | 3333 | fi | 2992 | fi |
3667 | 3334 | fi | 2993 | fi |
3668 | 3335 | 2994 | ||
3669 | @@ -3345,7 +3004,7 @@ | |||
3670 | 3345 | 3004 | ||
3671 | 3346 | # Define the identity of the package. | 3005 | # Define the identity of the package. |
3672 | 3347 | PACKAGE='clamav' | 3006 | PACKAGE='clamav' |
3674 | 3348 | VERSION='0.97.6' | 3007 | VERSION='0.97.7' |
3675 | 3349 | 3008 | ||
3676 | 3350 | 3009 | ||
3677 | 3351 | # Some tools Automake needs. | 3010 | # Some tools Automake needs. |
3678 | @@ -3371,7 +3030,7 @@ | |||
3679 | 3371 | AMTAR=${AMTAR-"${am_missing_run}tar"} | 3030 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
3680 | 3372 | 3031 | ||
3681 | 3373 | 3032 | ||
3683 | 3374 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 | 3033 | { $as_echo "$as_me:$LINENO: checking how to create a ustar tar archive" >&5 |
3684 | 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; } |
3685 | 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. |
3686 | 3377 | _am_tools='gnutar plaintar pax cpio none' | 3036 | _am_tools='gnutar plaintar pax cpio none' |
3687 | @@ -3444,13 +3103,13 @@ | |||
3688 | 3444 | done | 3103 | done |
3689 | 3445 | rm -rf conftest.dir | 3104 | rm -rf conftest.dir |
3690 | 3446 | 3105 | ||
3692 | 3447 | if test "${am_cv_prog_tar_ustar+set}" = set; then : | 3106 | if test "${am_cv_prog_tar_ustar+set}" = set; then |
3693 | 3448 | $as_echo_n "(cached) " >&6 | 3107 | $as_echo_n "(cached) " >&6 |
3694 | 3449 | else | 3108 | else |
3695 | 3450 | am_cv_prog_tar_ustar=$_am_tool | 3109 | am_cv_prog_tar_ustar=$_am_tool |
3696 | 3451 | fi | 3110 | fi |
3697 | 3452 | 3111 | ||
3699 | 3453 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 | 3112 | { $as_echo "$as_me:$LINENO: result: $am_cv_prog_tar_ustar" >&5 |
3700 | 3454 | $as_echo "$am_cv_prog_tar_ustar" >&6; } | 3113 | $as_echo "$am_cv_prog_tar_ustar" >&6; } |
3701 | 3455 | 3114 | ||
3702 | 3456 | 3115 | ||
3703 | @@ -3458,7 +3117,7 @@ | |||
3704 | 3458 | 3117 | ||
3705 | 3459 | 3118 | ||
3706 | 3460 | # Check whether --enable-silent-rules was given. | 3119 | # Check whether --enable-silent-rules was given. |
3708 | 3461 | if test "${enable_silent_rules+set}" = set; then : | 3120 | if test "${enable_silent_rules+set}" = set; then |
3709 | 3462 | enableval=$enable_silent_rules; | 3121 | enableval=$enable_silent_rules; |
3710 | 3463 | fi | 3122 | fi |
3711 | 3464 | 3123 | ||
3712 | @@ -3471,13 +3130,15 @@ | |||
3713 | 3471 | 3130 | ||
3714 | 3472 | 3131 | ||
3715 | 3473 | 3132 | ||
3720 | 3474 | $as_echo "#define PACKAGE PACKAGE_NAME" >>confdefs.h | 3133 | cat >>confdefs.h <<\_ACEOF |
3721 | 3475 | 3134 | #define PACKAGE PACKAGE_NAME | |
3722 | 3476 | 3135 | _ACEOF | |
3723 | 3477 | VERSION="0.97.6" | 3136 | |
3724 | 3137 | |||
3725 | 3138 | VERSION="0.97.7" | ||
3726 | 3478 | 3139 | ||
3727 | 3479 | LC_CURRENT=7 | 3140 | LC_CURRENT=7 |
3729 | 3480 | LC_REVISION=15 | 3141 | LC_REVISION=16 |
3730 | 3481 | LC_AGE=1 | 3142 | LC_AGE=1 |
3731 | 3482 | LIBCLAMAV_VERSION="$LC_CURRENT":"$LC_REVISION":"$LC_AGE" | 3143 | LIBCLAMAV_VERSION="$LC_CURRENT":"$LC_REVISION":"$LC_AGE" |
3732 | 3483 | 3144 | ||
3733 | @@ -3486,9 +3147,9 @@ | |||
3734 | 3486 | do | 3147 | do |
3735 | 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. |
3736 | 3488 | set dummy $ac_prog; ac_word=$2 | 3149 | set dummy $ac_prog; ac_word=$2 |
3738 | 3489 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3150 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3739 | 3490 | $as_echo_n "checking for $ac_word... " >&6; } | 3151 | $as_echo_n "checking for $ac_word... " >&6; } |
3741 | 3491 | if test "${ac_cv_prog_AWK+set}" = set; then : | 3152 | if test "${ac_cv_prog_AWK+set}" = set; then |
3742 | 3492 | $as_echo_n "(cached) " >&6 | 3153 | $as_echo_n "(cached) " >&6 |
3743 | 3493 | else | 3154 | else |
3744 | 3494 | if test -n "$AWK"; then | 3155 | if test -n "$AWK"; then |
3745 | @@ -3499,24 +3160,24 @@ | |||
3746 | 3499 | do | 3160 | do |
3747 | 3500 | IFS=$as_save_IFS | 3161 | IFS=$as_save_IFS |
3748 | 3501 | test -z "$as_dir" && as_dir=. | 3162 | test -z "$as_dir" && as_dir=. |
3750 | 3502 | for ac_exec_ext in '' $ac_executable_extensions; do | 3163 | for ac_exec_ext in '' $ac_executable_extensions; do |
3751 | 3503 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3164 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3752 | 3504 | ac_cv_prog_AWK="$ac_prog" | 3165 | ac_cv_prog_AWK="$ac_prog" |
3754 | 3505 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3166 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3755 | 3506 | break 2 | 3167 | break 2 |
3756 | 3507 | fi | 3168 | fi |
3757 | 3508 | done | 3169 | done |
3759 | 3509 | done | 3170 | done |
3760 | 3510 | IFS=$as_save_IFS | 3171 | IFS=$as_save_IFS |
3761 | 3511 | 3172 | ||
3762 | 3512 | fi | 3173 | fi |
3763 | 3513 | fi | 3174 | fi |
3764 | 3514 | AWK=$ac_cv_prog_AWK | 3175 | AWK=$ac_cv_prog_AWK |
3765 | 3515 | if test -n "$AWK"; then | 3176 | if test -n "$AWK"; then |
3767 | 3516 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | 3177 | { $as_echo "$as_me:$LINENO: result: $AWK" >&5 |
3768 | 3517 | $as_echo "$AWK" >&6; } | 3178 | $as_echo "$AWK" >&6; } |
3769 | 3518 | else | 3179 | else |
3771 | 3519 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3180 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
3772 | 3520 | $as_echo "no" >&6; } | 3181 | $as_echo "no" >&6; } |
3773 | 3521 | fi | 3182 | fi |
3774 | 3522 | 3183 | ||
3775 | @@ -3524,23 +3185,115 @@ | |||
3776 | 3524 | test -n "$AWK" && break | 3185 | test -n "$AWK" && break |
3777 | 3525 | done | 3186 | done |
3778 | 3526 | 3187 | ||
3781 | 3527 | 3188 | # Find a good install program. We prefer a C program (faster), | |
3782 | 3528 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 | 3189 | # so one script is as good as another. But avoid the broken or |
3783 | 3190 | # incompatible versions: | ||
3784 | 3191 | # SysV /etc/install, /usr/sbin/install | ||
3785 | 3192 | # SunOS /usr/etc/install | ||
3786 | 3193 | # IRIX /sbin/install | ||
3787 | 3194 | # AIX /bin/install | ||
3788 | 3195 | # AmigaOS /C/install, which installs bootblocks on floppy discs | ||
3789 | 3196 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | ||
3790 | 3197 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | ||
3791 | 3198 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | ||
3792 | 3199 | # OS/2's system install, which has a completely different semantic | ||
3793 | 3200 | # ./install, which can be erroneously created by make from ./install.sh. | ||
3794 | 3201 | # Reject install programs that cannot install multiple files. | ||
3795 | 3202 | { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | ||
3796 | 3203 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | ||
3797 | 3204 | if test -z "$INSTALL"; then | ||
3798 | 3205 | if test "${ac_cv_path_install+set}" = set; then | ||
3799 | 3206 | $as_echo_n "(cached) " >&6 | ||
3800 | 3207 | else | ||
3801 | 3208 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | ||
3802 | 3209 | for as_dir in $PATH | ||
3803 | 3210 | do | ||
3804 | 3211 | IFS=$as_save_IFS | ||
3805 | 3212 | test -z "$as_dir" && as_dir=. | ||
3806 | 3213 | # Account for people who put trailing slashes in PATH elements. | ||
3807 | 3214 | case $as_dir/ in | ||
3808 | 3215 | ./ | .// | /cC/* | \ | ||
3809 | 3216 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | ||
3810 | 3217 | ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ | ||
3811 | 3218 | /usr/ucb/* ) ;; | ||
3812 | 3219 | *) | ||
3813 | 3220 | # OSF1 and SCO ODT 3.0 have their own names for install. | ||
3814 | 3221 | # Don't use installbsd from OSF since it installs stuff as root | ||
3815 | 3222 | # by default. | ||
3816 | 3223 | for ac_prog in ginstall scoinst install; do | ||
3817 | 3224 | for ac_exec_ext in '' $ac_executable_extensions; do | ||
3818 | 3225 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | ||
3819 | 3226 | if test $ac_prog = install && | ||
3820 | 3227 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
3821 | 3228 | # AIX install. It has an incompatible calling convention. | ||
3822 | 3229 | : | ||
3823 | 3230 | elif test $ac_prog = install && | ||
3824 | 3231 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | ||
3825 | 3232 | # program-specific install script used by HP pwplus--don't use. | ||
3826 | 3233 | : | ||
3827 | 3234 | else | ||
3828 | 3235 | rm -rf conftest.one conftest.two conftest.dir | ||
3829 | 3236 | echo one > conftest.one | ||
3830 | 3237 | echo two > conftest.two | ||
3831 | 3238 | mkdir conftest.dir | ||
3832 | 3239 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | ||
3833 | 3240 | test -s conftest.one && test -s conftest.two && | ||
3834 | 3241 | test -s conftest.dir/conftest.one && | ||
3835 | 3242 | test -s conftest.dir/conftest.two | ||
3836 | 3243 | then | ||
3837 | 3244 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | ||
3838 | 3245 | break 3 | ||
3839 | 3246 | fi | ||
3840 | 3247 | fi | ||
3841 | 3248 | fi | ||
3842 | 3249 | done | ||
3843 | 3250 | done | ||
3844 | 3251 | ;; | ||
3845 | 3252 | esac | ||
3846 | 3253 | |||
3847 | 3254 | done | ||
3848 | 3255 | IFS=$as_save_IFS | ||
3849 | 3256 | |||
3850 | 3257 | rm -rf conftest.one conftest.two conftest.dir | ||
3851 | 3258 | |||
3852 | 3259 | fi | ||
3853 | 3260 | if test "${ac_cv_path_install+set}" = set; then | ||
3854 | 3261 | INSTALL=$ac_cv_path_install | ||
3855 | 3262 | else | ||
3856 | 3263 | # As a last resort, use the slow shell script. Don't cache a | ||
3857 | 3264 | # value for INSTALL within a source directory, because that will | ||
3858 | 3265 | # break other packages using the cache if that directory is | ||
3859 | 3266 | # removed, or if the value is a relative name. | ||
3860 | 3267 | INSTALL=$ac_install_sh | ||
3861 | 3268 | fi | ||
3862 | 3269 | fi | ||
3863 | 3270 | { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 | ||
3864 | 3271 | $as_echo "$INSTALL" >&6; } | ||
3865 | 3272 | |||
3866 | 3273 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | ||
3867 | 3274 | # It thinks the first close brace ends the variable substitution. | ||
3868 | 3275 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | ||
3869 | 3276 | |||
3870 | 3277 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | ||
3871 | 3278 | |||
3872 | 3279 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | ||
3873 | 3280 | |||
3874 | 3281 | { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 | ||
3875 | 3529 | $as_echo_n "checking whether ln -s works... " >&6; } | 3282 | $as_echo_n "checking whether ln -s works... " >&6; } |
3876 | 3530 | LN_S=$as_ln_s | 3283 | LN_S=$as_ln_s |
3877 | 3531 | if test "$LN_S" = "ln -s"; then | 3284 | if test "$LN_S" = "ln -s"; then |
3879 | 3532 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 3285 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
3880 | 3533 | $as_echo "yes" >&6; } | 3286 | $as_echo "yes" >&6; } |
3881 | 3534 | else | 3287 | else |
3883 | 3535 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 | 3288 | { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
3884 | 3536 | $as_echo "no, using $LN_S" >&6; } | 3289 | $as_echo "no, using $LN_S" >&6; } |
3885 | 3537 | fi | 3290 | fi |
3886 | 3538 | 3291 | ||
3888 | 3539 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 3292 | { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
3889 | 3540 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 3293 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
3890 | 3541 | set x ${MAKE-make} | 3294 | set x ${MAKE-make} |
3891 | 3542 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 3295 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
3893 | 3543 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : | 3296 | if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then |
3894 | 3544 | $as_echo_n "(cached) " >&6 | 3297 | $as_echo_n "(cached) " >&6 |
3895 | 3545 | else | 3298 | else |
3896 | 3546 | cat >conftest.make <<\_ACEOF | 3299 | cat >conftest.make <<\_ACEOF |
3897 | @@ -3558,11 +3311,11 @@ | |||
3898 | 3558 | rm -f conftest.make | 3311 | rm -f conftest.make |
3899 | 3559 | fi | 3312 | fi |
3900 | 3560 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 3313 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
3902 | 3561 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 3314 | { $as_echo "$as_me:$LINENO: result: yes" >&5 |
3903 | 3562 | $as_echo "yes" >&6; } | 3315 | $as_echo "yes" >&6; } |
3904 | 3563 | SET_MAKE= | 3316 | SET_MAKE= |
3905 | 3564 | else | 3317 | else |
3907 | 3565 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3318 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
3908 | 3566 | $as_echo "no" >&6; } | 3319 | $as_echo "no" >&6; } |
3909 | 3567 | SET_MAKE="MAKE=${MAKE-make}" | 3320 | SET_MAKE="MAKE=${MAKE-make}" |
3910 | 3568 | fi | 3321 | fi |
3911 | @@ -3578,7 +3331,7 @@ | |||
3912 | 3578 | 3331 | ||
3913 | 3579 | case `pwd` in | 3332 | case `pwd` in |
3914 | 3580 | *\ * | *\ *) | 3333 | *\ * | *\ *) |
3916 | 3581 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 | 3334 | { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
3917 | 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;} ;; |
3918 | 3583 | esac | 3336 | esac |
3919 | 3584 | 3337 | ||
3920 | @@ -3613,7 +3366,7 @@ | |||
3921 | 3613 | .PHONY: am__doit | 3366 | .PHONY: am__doit |
3922 | 3614 | END | 3367 | END |
3923 | 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. |
3925 | 3616 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 | 3369 | { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 |
3926 | 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; } |
3927 | 3618 | am__include="#" | 3371 | am__include="#" |
3928 | 3619 | am__quote= | 3372 | am__quote= |
3929 | @@ -3641,12 +3394,12 @@ | |||
3930 | 3641 | fi | 3394 | fi |
3931 | 3642 | 3395 | ||
3932 | 3643 | 3396 | ||
3934 | 3644 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | 3397 | { $as_echo "$as_me:$LINENO: result: $_am_result" >&5 |
3935 | 3645 | $as_echo "$_am_result" >&6; } | 3398 | $as_echo "$_am_result" >&6; } |
3936 | 3646 | rm -f confinc confmf | 3399 | rm -f confinc confmf |
3937 | 3647 | 3400 | ||
3938 | 3648 | # Check whether --enable-dependency-tracking was given. | 3401 | # Check whether --enable-dependency-tracking was given. |
3940 | 3649 | if test "${enable_dependency_tracking+set}" = set; then : | 3402 | if test "${enable_dependency_tracking+set}" = set; then |
3941 | 3650 | enableval=$enable_dependency_tracking; | 3403 | enableval=$enable_dependency_tracking; |
3942 | 3651 | fi | 3404 | fi |
3943 | 3652 | 3405 | ||
3944 | @@ -3671,9 +3424,9 @@ | |||
3945 | 3671 | if test -n "$ac_tool_prefix"; then | 3424 | if test -n "$ac_tool_prefix"; then |
3946 | 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. |
3947 | 3673 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 3426 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
3949 | 3674 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3427 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3950 | 3675 | $as_echo_n "checking for $ac_word... " >&6; } | 3428 | $as_echo_n "checking for $ac_word... " >&6; } |
3952 | 3676 | if test "${ac_cv_prog_CC+set}" = set; then : | 3429 | if test "${ac_cv_prog_CC+set}" = set; then |
3953 | 3677 | $as_echo_n "(cached) " >&6 | 3430 | $as_echo_n "(cached) " >&6 |
3954 | 3678 | else | 3431 | else |
3955 | 3679 | if test -n "$CC"; then | 3432 | if test -n "$CC"; then |
3956 | @@ -3684,24 +3437,24 @@ | |||
3957 | 3684 | do | 3437 | do |
3958 | 3685 | IFS=$as_save_IFS | 3438 | IFS=$as_save_IFS |
3959 | 3686 | test -z "$as_dir" && as_dir=. | 3439 | test -z "$as_dir" && as_dir=. |
3961 | 3687 | for ac_exec_ext in '' $ac_executable_extensions; do | 3440 | for ac_exec_ext in '' $ac_executable_extensions; do |
3962 | 3688 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3441 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3963 | 3689 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | 3442 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
3965 | 3690 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3443 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3966 | 3691 | break 2 | 3444 | break 2 |
3967 | 3692 | fi | 3445 | fi |
3968 | 3693 | done | 3446 | done |
3970 | 3694 | done | 3447 | done |
3971 | 3695 | IFS=$as_save_IFS | 3448 | IFS=$as_save_IFS |
3972 | 3696 | 3449 | ||
3973 | 3697 | fi | 3450 | fi |
3974 | 3698 | fi | 3451 | fi |
3975 | 3699 | CC=$ac_cv_prog_CC | 3452 | CC=$ac_cv_prog_CC |
3976 | 3700 | if test -n "$CC"; then | 3453 | if test -n "$CC"; then |
3978 | 3701 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3454 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
3979 | 3702 | $as_echo "$CC" >&6; } | 3455 | $as_echo "$CC" >&6; } |
3980 | 3703 | else | 3456 | else |
3982 | 3704 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3457 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
3983 | 3705 | $as_echo "no" >&6; } | 3458 | $as_echo "no" >&6; } |
3984 | 3706 | fi | 3459 | fi |
3985 | 3707 | 3460 | ||
3986 | @@ -3711,9 +3464,9 @@ | |||
3987 | 3711 | ac_ct_CC=$CC | 3464 | ac_ct_CC=$CC |
3988 | 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. |
3989 | 3713 | set dummy gcc; ac_word=$2 | 3466 | set dummy gcc; ac_word=$2 |
3991 | 3714 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3467 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3992 | 3715 | $as_echo_n "checking for $ac_word... " >&6; } | 3468 | $as_echo_n "checking for $ac_word... " >&6; } |
3994 | 3716 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 3469 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
3995 | 3717 | $as_echo_n "(cached) " >&6 | 3470 | $as_echo_n "(cached) " >&6 |
3996 | 3718 | else | 3471 | else |
3997 | 3719 | if test -n "$ac_ct_CC"; then | 3472 | if test -n "$ac_ct_CC"; then |
3998 | @@ -3724,24 +3477,24 @@ | |||
3999 | 3724 | do | 3477 | do |
4000 | 3725 | IFS=$as_save_IFS | 3478 | IFS=$as_save_IFS |
4001 | 3726 | test -z "$as_dir" && as_dir=. | 3479 | test -z "$as_dir" && as_dir=. |
4003 | 3727 | for ac_exec_ext in '' $ac_executable_extensions; do | 3480 | for ac_exec_ext in '' $ac_executable_extensions; do |
4004 | 3728 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3481 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4005 | 3729 | ac_cv_prog_ac_ct_CC="gcc" | 3482 | ac_cv_prog_ac_ct_CC="gcc" |
4007 | 3730 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3483 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4008 | 3731 | break 2 | 3484 | break 2 |
4009 | 3732 | fi | 3485 | fi |
4010 | 3733 | done | 3486 | done |
4012 | 3734 | done | 3487 | done |
4013 | 3735 | IFS=$as_save_IFS | 3488 | IFS=$as_save_IFS |
4014 | 3736 | 3489 | ||
4015 | 3737 | fi | 3490 | fi |
4016 | 3738 | fi | 3491 | fi |
4017 | 3739 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3492 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4018 | 3740 | if test -n "$ac_ct_CC"; then | 3493 | if test -n "$ac_ct_CC"; then |
4020 | 3741 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 3494 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
4021 | 3742 | $as_echo "$ac_ct_CC" >&6; } | 3495 | $as_echo "$ac_ct_CC" >&6; } |
4022 | 3743 | else | 3496 | else |
4024 | 3744 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3497 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4025 | 3745 | $as_echo "no" >&6; } | 3498 | $as_echo "no" >&6; } |
4026 | 3746 | fi | 3499 | fi |
4027 | 3747 | 3500 | ||
4028 | @@ -3750,7 +3503,7 @@ | |||
4029 | 3750 | else | 3503 | else |
4030 | 3751 | case $cross_compiling:$ac_tool_warned in | 3504 | case $cross_compiling:$ac_tool_warned in |
4031 | 3752 | yes:) | 3505 | yes:) |
4033 | 3753 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 3506 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
4034 | 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;} |
4035 | 3755 | ac_tool_warned=yes ;; | 3508 | ac_tool_warned=yes ;; |
4036 | 3756 | esac | 3509 | esac |
4037 | @@ -3764,9 +3517,9 @@ | |||
4038 | 3764 | if test -n "$ac_tool_prefix"; then | 3517 | if test -n "$ac_tool_prefix"; then |
4039 | 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. |
4040 | 3766 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 3519 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
4042 | 3767 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3520 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4043 | 3768 | $as_echo_n "checking for $ac_word... " >&6; } | 3521 | $as_echo_n "checking for $ac_word... " >&6; } |
4045 | 3769 | if test "${ac_cv_prog_CC+set}" = set; then : | 3522 | if test "${ac_cv_prog_CC+set}" = set; then |
4046 | 3770 | $as_echo_n "(cached) " >&6 | 3523 | $as_echo_n "(cached) " >&6 |
4047 | 3771 | else | 3524 | else |
4048 | 3772 | if test -n "$CC"; then | 3525 | if test -n "$CC"; then |
4049 | @@ -3777,24 +3530,24 @@ | |||
4050 | 3777 | do | 3530 | do |
4051 | 3778 | IFS=$as_save_IFS | 3531 | IFS=$as_save_IFS |
4052 | 3779 | test -z "$as_dir" && as_dir=. | 3532 | test -z "$as_dir" && as_dir=. |
4054 | 3780 | for ac_exec_ext in '' $ac_executable_extensions; do | 3533 | for ac_exec_ext in '' $ac_executable_extensions; do |
4055 | 3781 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3534 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4056 | 3782 | ac_cv_prog_CC="${ac_tool_prefix}cc" | 3535 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
4058 | 3783 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3536 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4059 | 3784 | break 2 | 3537 | break 2 |
4060 | 3785 | fi | 3538 | fi |
4061 | 3786 | done | 3539 | done |
4063 | 3787 | done | 3540 | done |
4064 | 3788 | IFS=$as_save_IFS | 3541 | IFS=$as_save_IFS |
4065 | 3789 | 3542 | ||
4066 | 3790 | fi | 3543 | fi |
4067 | 3791 | fi | 3544 | fi |
4068 | 3792 | CC=$ac_cv_prog_CC | 3545 | CC=$ac_cv_prog_CC |
4069 | 3793 | if test -n "$CC"; then | 3546 | if test -n "$CC"; then |
4071 | 3794 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3547 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
4072 | 3795 | $as_echo "$CC" >&6; } | 3548 | $as_echo "$CC" >&6; } |
4073 | 3796 | else | 3549 | else |
4075 | 3797 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3550 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4076 | 3798 | $as_echo "no" >&6; } | 3551 | $as_echo "no" >&6; } |
4077 | 3799 | fi | 3552 | fi |
4078 | 3800 | 3553 | ||
4079 | @@ -3804,9 +3557,9 @@ | |||
4080 | 3804 | if test -z "$CC"; then | 3557 | if test -z "$CC"; then |
4081 | 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. |
4082 | 3806 | set dummy cc; ac_word=$2 | 3559 | set dummy cc; ac_word=$2 |
4084 | 3807 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3560 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4085 | 3808 | $as_echo_n "checking for $ac_word... " >&6; } | 3561 | $as_echo_n "checking for $ac_word... " >&6; } |
4087 | 3809 | if test "${ac_cv_prog_CC+set}" = set; then : | 3562 | if test "${ac_cv_prog_CC+set}" = set; then |
4088 | 3810 | $as_echo_n "(cached) " >&6 | 3563 | $as_echo_n "(cached) " >&6 |
4089 | 3811 | else | 3564 | else |
4090 | 3812 | if test -n "$CC"; then | 3565 | if test -n "$CC"; then |
4091 | @@ -3818,18 +3571,18 @@ | |||
4092 | 3818 | do | 3571 | do |
4093 | 3819 | IFS=$as_save_IFS | 3572 | IFS=$as_save_IFS |
4094 | 3820 | test -z "$as_dir" && as_dir=. | 3573 | test -z "$as_dir" && as_dir=. |
4096 | 3821 | for ac_exec_ext in '' $ac_executable_extensions; do | 3574 | for ac_exec_ext in '' $ac_executable_extensions; do |
4097 | 3822 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3575 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4098 | 3823 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 3576 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
4099 | 3824 | ac_prog_rejected=yes | 3577 | ac_prog_rejected=yes |
4100 | 3825 | continue | 3578 | continue |
4101 | 3826 | fi | 3579 | fi |
4102 | 3827 | ac_cv_prog_CC="cc" | 3580 | ac_cv_prog_CC="cc" |
4104 | 3828 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3581 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4105 | 3829 | break 2 | 3582 | break 2 |
4106 | 3830 | fi | 3583 | fi |
4107 | 3831 | done | 3584 | done |
4109 | 3832 | done | 3585 | done |
4110 | 3833 | IFS=$as_save_IFS | 3586 | IFS=$as_save_IFS |
4111 | 3834 | 3587 | ||
4112 | 3835 | if test $ac_prog_rejected = yes; then | 3588 | if test $ac_prog_rejected = yes; then |
4113 | @@ -3848,10 +3601,10 @@ | |||
4114 | 3848 | fi | 3601 | fi |
4115 | 3849 | CC=$ac_cv_prog_CC | 3602 | CC=$ac_cv_prog_CC |
4116 | 3850 | if test -n "$CC"; then | 3603 | if test -n "$CC"; then |
4118 | 3851 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3604 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
4119 | 3852 | $as_echo "$CC" >&6; } | 3605 | $as_echo "$CC" >&6; } |
4120 | 3853 | else | 3606 | else |
4122 | 3854 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3607 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4123 | 3855 | $as_echo "no" >&6; } | 3608 | $as_echo "no" >&6; } |
4124 | 3856 | fi | 3609 | fi |
4125 | 3857 | 3610 | ||
4126 | @@ -3863,9 +3616,9 @@ | |||
4127 | 3863 | do | 3616 | do |
4128 | 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. |
4129 | 3865 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3618 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4131 | 3866 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3619 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4132 | 3867 | $as_echo_n "checking for $ac_word... " >&6; } | 3620 | $as_echo_n "checking for $ac_word... " >&6; } |
4134 | 3868 | if test "${ac_cv_prog_CC+set}" = set; then : | 3621 | if test "${ac_cv_prog_CC+set}" = set; then |
4135 | 3869 | $as_echo_n "(cached) " >&6 | 3622 | $as_echo_n "(cached) " >&6 |
4136 | 3870 | else | 3623 | else |
4137 | 3871 | if test -n "$CC"; then | 3624 | if test -n "$CC"; then |
4138 | @@ -3876,24 +3629,24 @@ | |||
4139 | 3876 | do | 3629 | do |
4140 | 3877 | IFS=$as_save_IFS | 3630 | IFS=$as_save_IFS |
4141 | 3878 | test -z "$as_dir" && as_dir=. | 3631 | test -z "$as_dir" && as_dir=. |
4143 | 3879 | for ac_exec_ext in '' $ac_executable_extensions; do | 3632 | for ac_exec_ext in '' $ac_executable_extensions; do |
4144 | 3880 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3633 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4145 | 3881 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 3634 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
4147 | 3882 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3635 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4148 | 3883 | break 2 | 3636 | break 2 |
4149 | 3884 | fi | 3637 | fi |
4150 | 3885 | done | 3638 | done |
4152 | 3886 | done | 3639 | done |
4153 | 3887 | IFS=$as_save_IFS | 3640 | IFS=$as_save_IFS |
4154 | 3888 | 3641 | ||
4155 | 3889 | fi | 3642 | fi |
4156 | 3890 | fi | 3643 | fi |
4157 | 3891 | CC=$ac_cv_prog_CC | 3644 | CC=$ac_cv_prog_CC |
4158 | 3892 | if test -n "$CC"; then | 3645 | if test -n "$CC"; then |
4160 | 3893 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3646 | { $as_echo "$as_me:$LINENO: result: $CC" >&5 |
4161 | 3894 | $as_echo "$CC" >&6; } | 3647 | $as_echo "$CC" >&6; } |
4162 | 3895 | else | 3648 | else |
4164 | 3896 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3649 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4165 | 3897 | $as_echo "no" >&6; } | 3650 | $as_echo "no" >&6; } |
4166 | 3898 | fi | 3651 | fi |
4167 | 3899 | 3652 | ||
4168 | @@ -3907,9 +3660,9 @@ | |||
4169 | 3907 | do | 3660 | do |
4170 | 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. |
4171 | 3909 | set dummy $ac_prog; ac_word=$2 | 3662 | set dummy $ac_prog; ac_word=$2 |
4173 | 3910 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3663 | { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 |
4174 | 3911 | $as_echo_n "checking for $ac_word... " >&6; } | 3664 | $as_echo_n "checking for $ac_word... " >&6; } |
4176 | 3912 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : | 3665 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
4177 | 3913 | $as_echo_n "(cached) " >&6 | 3666 | $as_echo_n "(cached) " >&6 |
4178 | 3914 | else | 3667 | else |
4179 | 3915 | if test -n "$ac_ct_CC"; then | 3668 | if test -n "$ac_ct_CC"; then |
4180 | @@ -3920,24 +3673,24 @@ | |||
4181 | 3920 | do | 3673 | do |
4182 | 3921 | IFS=$as_save_IFS | 3674 | IFS=$as_save_IFS |
4183 | 3922 | test -z "$as_dir" && as_dir=. | 3675 | test -z "$as_dir" && as_dir=. |
4185 | 3923 | for ac_exec_ext in '' $ac_executable_extensions; do | 3676 | for ac_exec_ext in '' $ac_executable_extensions; do |
4186 | 3924 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3677 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4187 | 3925 | ac_cv_prog_ac_ct_CC="$ac_prog" | 3678 | ac_cv_prog_ac_ct_CC="$ac_prog" |
4189 | 3926 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3679 | $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4190 | 3927 | break 2 | 3680 | break 2 |
4191 | 3928 | fi | 3681 | fi |
4192 | 3929 | done | 3682 | done |
4194 | 3930 | done | 3683 | done |
4195 | 3931 | IFS=$as_save_IFS | 3684 | IFS=$as_save_IFS |
4196 | 3932 | 3685 | ||
4197 | 3933 | fi | 3686 | fi |
4198 | 3934 | fi | 3687 | fi |
4199 | 3935 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3688 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4200 | 3936 | if test -n "$ac_ct_CC"; then | 3689 | if test -n "$ac_ct_CC"; then |
4202 | 3937 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 3690 | { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
4203 | 3938 | $as_echo "$ac_ct_CC" >&6; } | 3691 | $as_echo "$ac_ct_CC" >&6; } |
4204 | 3939 | else | 3692 | else |
4206 | 3940 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3693 | { $as_echo "$as_me:$LINENO: result: no" >&5 |
4207 | 3941 | $as_echo "no" >&6; } | 3694 | $as_echo "no" >&6; } |
4208 | 3942 | fi | 3695 | fi |
4209 | 3943 | 3696 | ||
4210 | @@ -3950,7 +3703,7 @@ | |||
4211 | 3950 | else | 3703 | else |
4212 | 3951 | case $cross_compiling:$ac_tool_warned in | 3704 | case $cross_compiling:$ac_tool_warned in |
4213 | 3952 | yes:) | 3705 | yes:) |
4215 | 3953 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 3706 | { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 |
4216 | 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;} |
4217 | 3955 | ac_tool_warned=yes ;; | 3708 | ac_tool_warned=yes ;; |
4218 | 3956 | esac | 3709 | esac |
4219 | @@ -3961,37 +3714,57 @@ | |||
4220 | 3961 | fi | 3714 | fi |
4221 | 3962 | 3715 | ||
4222 | 3963 | 3716 | ||
4224 | 3964 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3717 | test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
4225 | 3965 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3718 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4228 | 3966 | as_fn_error "no acceptable C compiler found in \$PATH | 3719 | { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH |
4229 | 3967 | See \`config.log' for more details." "$LINENO" 5; } | 3720 | See \`config.log' for more details." >&5 |
4230 | 3721 | $as_echo "$as_me: error: no acceptable C compiler found in \$PATH | ||
4231 | 3722 | See \`config.log' for more details." >&2;} | ||
4232 | 3723 | { (exit 1); exit 1; }; }; } | ||
4233 | 3968 | 3724 | ||
4234 | 3969 | # Provide some information about the compiler. | 3725 | # Provide some information about the compiler. |
4236 | 3970 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 3726 | $as_echo "$as_me:$LINENO: checking for C compiler version" >&5 |
4237 | 3971 | set X $ac_compile | 3727 | set X $ac_compile |
4238 | 3972 | ac_compiler=$2 | 3728 | ac_compiler=$2 |
4259 | 3973 | for ac_option in --version -v -V -qversion; do | 3729 | { (ac_try="$ac_compiler --version >&5" |
4260 | 3974 | { { ac_try="$ac_compiler $ac_option >&5" | 3730 | case "(($ac_try" in |
4261 | 3975 | case "(($ac_try" in | 3731 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4262 | 3976 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3732 | *) ac_try_echo=$ac_try;; |
4263 | 3977 | *) ac_try_echo=$ac_try;; | 3733 | esac |
4264 | 3978 | esac | 3734 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4265 | 3979 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3735 | $as_echo "$ac_try_echo") >&5 |
4266 | 3980 | $as_echo "$ac_try_echo"; } >&5 | 3736 | (eval "$ac_compiler --version >&5") 2>&5 |
4267 | 3981 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | 3737 | ac_status=$? |
4268 | 3982 | ac_status=$? | 3738 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4269 | 3983 | if test -s conftest.err; then | 3739 | (exit $ac_status); } |
4270 | 3984 | sed '10a\ | 3740 | { (ac_try="$ac_compiler -v >&5" |
4271 | 3985 | ... rest of stderr output deleted ... | 3741 | case "(($ac_try" in |
4272 | 3986 | 10q' conftest.err >conftest.er1 | 3742 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4273 | 3987 | cat conftest.er1 >&5 | 3743 | *) ac_try_echo=$ac_try;; |
4274 | 3988 | fi | 3744 | esac |
4275 | 3989 | rm -f conftest.er1 conftest.err | 3745 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4276 | 3990 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3746 | $as_echo "$ac_try_echo") >&5 |
4277 | 3991 | test $ac_status = 0; } | 3747 | (eval "$ac_compiler -v >&5") 2>&5 |
4278 | 3992 | done | 3748 | ac_status=$? |
4279 | 3749 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4280 | 3750 | (exit $ac_status); } | ||
4281 | 3751 | { (ac_try="$ac_compiler -V >&5" | ||
4282 | 3752 | case "(($ac_try" in | ||
4283 | 3753 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4284 | 3754 | *) ac_try_echo=$ac_try;; | ||
4285 | 3755 | esac | ||
4286 | 3756 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4287 | 3757 | $as_echo "$ac_try_echo") >&5 | ||
4288 | 3758 | (eval "$ac_compiler -V >&5") 2>&5 | ||
4289 | 3759 | ac_status=$? | ||
4290 | 3760 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4291 | 3761 | (exit $ac_status); } | ||
4292 | 3993 | 3762 | ||
4294 | 3994 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3763 | cat >conftest.$ac_ext <<_ACEOF |
4295 | 3764 | /* confdefs.h. */ | ||
4296 | 3765 | _ACEOF | ||
4297 | 3766 | cat confdefs.h >>conftest.$ac_ext | ||
4298 | 3767 | cat >>conftest.$ac_ext <<_ACEOF | ||
4299 | 3995 | /* end confdefs.h. */ | 3768 | /* end confdefs.h. */ |
4300 | 3996 | 3769 | ||
4301 | 3997 | int | 3770 | int |
4302 | @@ -4007,8 +3780,8 @@ | |||
4303 | 4007 | # Try to create an executable without -o first, disregard a.out. | 3780 | # Try to create an executable without -o first, disregard a.out. |
4304 | 4008 | # It will help us diagnose broken compilers, and finding out an intuition | 3781 | # It will help us diagnose broken compilers, and finding out an intuition |
4305 | 4009 | # of exeext. | 3782 | # of exeext. |
4308 | 4010 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | 3783 | { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 |
4309 | 4011 | $as_echo_n "checking whether the C compiler works... " >&6; } | 3784 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
4310 | 4012 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 3785 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
4311 | 4013 | 3786 | ||
4312 | 4014 | # The possible output files: | 3787 | # The possible output files: |
4313 | @@ -4024,17 +3797,17 @@ | |||
4314 | 4024 | done | 3797 | done |
4315 | 4025 | rm -f $ac_rmfiles | 3798 | rm -f $ac_rmfiles |
4316 | 4026 | 3799 | ||
4318 | 4027 | if { { ac_try="$ac_link_default" | 3800 | if { (ac_try="$ac_link_default" |
4319 | 4028 | case "(($ac_try" in | 3801 | case "(($ac_try" in |
4320 | 4029 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3802 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4321 | 4030 | *) ac_try_echo=$ac_try;; | 3803 | *) ac_try_echo=$ac_try;; |
4322 | 4031 | esac | 3804 | esac |
4325 | 4032 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3805 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4326 | 4033 | $as_echo "$ac_try_echo"; } >&5 | 3806 | $as_echo "$ac_try_echo") >&5 |
4327 | 4034 | (eval "$ac_link_default") 2>&5 | 3807 | (eval "$ac_link_default") 2>&5 |
4328 | 4035 | ac_status=$? | 3808 | ac_status=$? |
4331 | 4036 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3809 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4332 | 4037 | test $ac_status = 0; }; then : | 3810 | (exit $ac_status); }; then |
4333 | 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'. |
4334 | 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' |
4335 | 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, |
4336 | @@ -4051,7 +3824,7 @@ | |||
4337 | 4051 | # certainly right. | 3824 | # certainly right. |
4338 | 4052 | break;; | 3825 | break;; |
4339 | 4053 | *.* ) | 3826 | *.* ) |
4341 | 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; |
4342 | 4055 | then :; else | 3828 | then :; else |
4343 | 4056 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3829 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
4344 | 4057 | fi | 3830 | fi |
4345 | @@ -4070,42 +3843,84 @@ | |||
4346 | 4070 | else | 3843 | else |
4347 | 4071 | ac_file='' | 3844 | ac_file='' |
4348 | 4072 | fi | 3845 | fi |
4349 | 4073 | if test -z "$ac_file"; then : | ||
4350 | 4074 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
4351 | 4075 | $as_echo "no" >&6; } | ||
4352 | 4076 | $as_echo "$as_me: failed program was:" >&5 | ||
4353 | 4077 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4354 | 4078 | 3846 | ||
4367 | 4079 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3847 | { $as_echo "$as_me:$LINENO: result: $ac_file" >&5 |
4356 | 4080 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
4357 | 4081 | { as_fn_set_status 77 | ||
4358 | 4082 | as_fn_error "C compiler cannot create executables | ||
4359 | 4083 | See \`config.log' for more details." "$LINENO" 5; }; } | ||
4360 | 4084 | else | ||
4361 | 4085 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
4362 | 4086 | $as_echo "yes" >&6; } | ||
4363 | 4087 | fi | ||
4364 | 4088 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | ||
4365 | 4089 | $as_echo_n "checking for C compiler default output file name... " >&6; } | ||
4366 | 4090 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | ||
4368 | 4091 | $as_echo "$ac_file" >&6; } | 3848 | $as_echo "$ac_file" >&6; } |
4369 | 3849 | if test -z "$ac_file"; then | ||
4370 | 3850 | $as_echo "$as_me: failed program was:" >&5 | ||
4371 | 3851 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4372 | 3852 | |||
4373 | 3853 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | ||
4374 | 3854 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
4375 | 3855 | { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables | ||
4376 | 3856 | See \`config.log' for more details." >&5 | ||
4377 | 3857 | $as_echo "$as_me: error: C compiler cannot create executables | ||
4378 | 3858 | See \`config.log' for more details." >&2;} | ||
4379 | 3859 | { (exit 77); exit 77; }; }; } | ||
4380 | 3860 | fi | ||
4381 | 3861 | |||
4382 | 4092 | ac_exeext=$ac_cv_exeext | 3862 | ac_exeext=$ac_cv_exeext |
4383 | 4093 | 3863 | ||
4384 | 3864 | # Check that the compiler produces executables we can run. If not, either | ||
4385 | 3865 | # the compiler is broken, or we cross compile. | ||
4386 | 3866 | { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 | ||
4387 | 3867 | $as_echo_n "checking whether the C compiler works... " >&6; } | ||
4388 | 3868 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | ||
4389 | 3869 | # If not cross compiling, check that we can run a simple program. | ||
4390 | 3870 | if test "$cross_compiling" != yes; then | ||
4391 | 3871 | if { ac_try='./$ac_file' | ||
4392 | 3872 | { (case "(($ac_try" in | ||
4393 | 3873 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4394 | 3874 | *) ac_try_echo=$ac_try;; | ||
4395 | 3875 | esac | ||
4396 | 3876 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4397 | 3877 | $as_echo "$ac_try_echo") >&5 | ||
4398 | 3878 | (eval "$ac_try") 2>&5 | ||
4399 | 3879 | ac_status=$? | ||
4400 | 3880 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4401 | 3881 | (exit $ac_status); }; }; then | ||
4402 | 3882 | cross_compiling=no | ||
4403 | 3883 | else | ||
4404 | 3884 | if test "$cross_compiling" = maybe; then | ||
4405 | 3885 | cross_compiling=yes | ||
4406 | 3886 | else | ||
4407 | 3887 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 | ||
4408 | 3888 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
4409 | 3889 | { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. | ||
4410 | 3890 | If you meant to cross compile, use \`--host'. | ||
4411 | 3891 | See \`config.log' for more details." >&5 | ||
4412 | 3892 | $as_echo "$as_me: error: cannot run C compiled programs. | ||
4413 | 3893 | If you meant to cross compile, use \`--host'. | ||
4414 | 3894 | See \`config.log' for more details." >&2;} | ||
4415 | 3895 | { (exit 1); exit 1; }; }; } | ||
4416 | 3896 | fi | ||
4417 | 3897 | fi | ||
4418 | 3898 | fi | ||
4419 | 3899 | { $as_echo "$as_me:$LINENO: result: yes" >&5 | ||
4420 | 3900 | $as_echo "yes" >&6; } | ||
4421 | 3901 | |||
4422 | 4094 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | 3902 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
4423 | 4095 | ac_clean_files=$ac_clean_files_save | 3903 | ac_clean_files=$ac_clean_files_save |
4425 | 4096 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | 3904 | # Check that the compiler produces executables we can run. If not, either |
4426 | 3905 | # the compiler is broken, or we cross compile. | ||
4427 | 3906 | { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | ||
4428 | 3907 | $as_echo_n "checking whether we are cross compiling... " >&6; } | ||
4429 | 3908 | { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 | ||
4430 | 3909 | $as_echo "$cross_compiling" >&6; } | ||
4431 | 3910 | |||
4432 | 3911 | { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 | ||
4433 | 4097 | $as_echo_n "checking for suffix of executables... " >&6; } | 3912 | $as_echo_n "checking for suffix of executables... " >&6; } |
4435 | 4098 | if { { ac_try="$ac_link" | 3913 | if { (ac_try="$ac_link" |
4436 | 4099 | case "(($ac_try" in | 3914 | case "(($ac_try" in |
4437 | 4100 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3915 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4438 | 4101 | *) ac_try_echo=$ac_try;; | 3916 | *) ac_try_echo=$ac_try;; |
4439 | 4102 | esac | 3917 | esac |
4442 | 4103 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3918 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4443 | 4104 | $as_echo "$ac_try_echo"; } >&5 | 3919 | $as_echo "$ac_try_echo") >&5 |
4444 | 4105 | (eval "$ac_link") 2>&5 | 3920 | (eval "$ac_link") 2>&5 |
4445 | 4106 | ac_status=$? | 3921 | ac_status=$? |
4448 | 4107 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3922 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4449 | 4108 | test $ac_status = 0; }; then : | 3923 | (exit $ac_status); }; then |
4450 | 4109 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | 3924 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
4451 | 4110 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 3925 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
4452 | 4111 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 3926 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
4453 | @@ -4120,83 +3935,32 @@ | |||
4454 | 4120 | esac | 3935 | esac |
4455 | 4121 | done | 3936 | done |
4456 | 4122 | else | 3937 | else |
4458 | 4123 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3938 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
4459 | 4124 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3939 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4462 | 4125 | as_fn_error "cannot compute suffix of executables: cannot compile and link | 3940 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link |
4463 | 4126 | See \`config.log' for more details." "$LINENO" 5; } | 3941 | See \`config.log' for more details." >&5 |
4464 | 3942 | $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | ||
4465 | 3943 | See \`config.log' for more details." >&2;} | ||
4466 | 3944 | { (exit 1); exit 1; }; }; } | ||
4467 | 4127 | fi | 3945 | fi |
4470 | 4128 | rm -f conftest conftest$ac_cv_exeext | 3946 | |
4471 | 4129 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 3947 | rm -f conftest$ac_cv_exeext |
4472 | 3948 | { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | ||
4473 | 4130 | $as_echo "$ac_cv_exeext" >&6; } | 3949 | $as_echo "$ac_cv_exeext" >&6; } |
4474 | 4131 | 3950 | ||
4475 | 4132 | rm -f conftest.$ac_ext | 3951 | rm -f conftest.$ac_ext |
4476 | 4133 | EXEEXT=$ac_cv_exeext | 3952 | EXEEXT=$ac_cv_exeext |
4477 | 4134 | ac_exeext=$EXEEXT | 3953 | ac_exeext=$EXEEXT |
4538 | 4135 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3954 | { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
4479 | 4136 | /* end confdefs.h. */ | ||
4480 | 4137 | #include <stdio.h> | ||
4481 | 4138 | int | ||
4482 | 4139 | main () | ||
4483 | 4140 | { | ||
4484 | 4141 | FILE *f = fopen ("conftest.out", "w"); | ||
4485 | 4142 | return ferror (f) || fclose (f) != 0; | ||
4486 | 4143 | |||
4487 | 4144 | ; | ||
4488 | 4145 | return 0; | ||
4489 | 4146 | } | ||
4490 | 4147 | _ACEOF | ||
4491 | 4148 | ac_clean_files="$ac_clean_files conftest.out" | ||
4492 | 4149 | # Check that the compiler produces executables we can run. If not, either | ||
4493 | 4150 | # the compiler is broken, or we cross compile. | ||
4494 | 4151 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | ||
4495 | 4152 | $as_echo_n "checking whether we are cross compiling... " >&6; } | ||
4496 | 4153 | if test "$cross_compiling" != yes; then | ||
4497 | 4154 | { { ac_try="$ac_link" | ||
4498 | 4155 | case "(($ac_try" in | ||
4499 | 4156 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4500 | 4157 | *) ac_try_echo=$ac_try;; | ||
4501 | 4158 | esac | ||
4502 | 4159 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
4503 | 4160 | $as_echo "$ac_try_echo"; } >&5 | ||
4504 | 4161 | (eval "$ac_link") 2>&5 | ||
4505 | 4162 | ac_status=$? | ||
4506 | 4163 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
4507 | 4164 | test $ac_status = 0; } | ||
4508 | 4165 | if { ac_try='./conftest$ac_cv_exeext' | ||
4509 | 4166 | { { case "(($ac_try" in | ||
4510 | 4167 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4511 | 4168 | *) ac_try_echo=$ac_try;; | ||
4512 | 4169 | esac | ||
4513 | 4170 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | ||
4514 | 4171 | $as_echo "$ac_try_echo"; } >&5 | ||
4515 | 4172 | (eval "$ac_try") 2>&5 | ||
4516 | 4173 | ac_status=$? | ||
4517 | 4174 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | ||
4518 | 4175 | test $ac_status = 0; }; }; then | ||
4519 | 4176 | cross_compiling=no | ||
4520 | 4177 | else | ||
4521 | 4178 | if test "$cross_compiling" = maybe; then | ||
4522 | 4179 | cross_compiling=yes | ||
4523 | 4180 | else | ||
4524 | 4181 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | ||
4525 | 4182 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | ||
4526 | 4183 | as_fn_error "cannot run C compiled programs. | ||
4527 | 4184 | If you meant to cross compile, use \`--host'. | ||
4528 | 4185 | See \`config.log' for more details." "$LINENO" 5; } | ||
4529 | 4186 | fi | ||
4530 | 4187 | fi | ||
4531 | 4188 | fi | ||
4532 | 4189 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | ||
4533 | 4190 | $as_echo "$cross_compiling" >&6; } | ||
4534 | 4191 | |||
4535 | 4192 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | ||
4536 | 4193 | ac_clean_files=$ac_clean_files_save | ||
4537 | 4194 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | ||
4539 | 4195 | $as_echo_n "checking for suffix of object files... " >&6; } | 3955 | $as_echo_n "checking for suffix of object files... " >&6; } |
4541 | 4196 | if test "${ac_cv_objext+set}" = set; then : | 3956 | if test "${ac_cv_objext+set}" = set; then |
4542 | 4197 | $as_echo_n "(cached) " >&6 | 3957 | $as_echo_n "(cached) " >&6 |
4543 | 4198 | else | 3958 | else |
4545 | 4199 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3959 | cat >conftest.$ac_ext <<_ACEOF |
4546 | 3960 | /* confdefs.h. */ | ||
4547 | 3961 | _ACEOF | ||
4548 | 3962 | cat confdefs.h >>conftest.$ac_ext | ||
4549 | 3963 | cat >>conftest.$ac_ext <<_ACEOF | ||
4550 | 4200 | /* end confdefs.h. */ | 3964 | /* end confdefs.h. */ |
4551 | 4201 | 3965 | ||
4552 | 4202 | int | 3966 | int |
4553 | @@ -4208,17 +3972,17 @@ | |||
4554 | 4208 | } | 3972 | } |
4555 | 4209 | _ACEOF | 3973 | _ACEOF |
4556 | 4210 | rm -f conftest.o conftest.obj | 3974 | rm -f conftest.o conftest.obj |
4558 | 4211 | if { { ac_try="$ac_compile" | 3975 | if { (ac_try="$ac_compile" |
4559 | 4212 | case "(($ac_try" in | 3976 | case "(($ac_try" in |
4560 | 4213 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3977 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4561 | 4214 | *) ac_try_echo=$ac_try;; | 3978 | *) ac_try_echo=$ac_try;; |
4562 | 4215 | esac | 3979 | esac |
4565 | 4216 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3980 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" |
4566 | 4217 | $as_echo "$ac_try_echo"; } >&5 | 3981 | $as_echo "$ac_try_echo") >&5 |
4567 | 4218 | (eval "$ac_compile") 2>&5 | 3982 | (eval "$ac_compile") 2>&5 |
4568 | 4219 | ac_status=$? | 3983 | ac_status=$? |
4571 | 4220 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3984 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4572 | 4221 | test $ac_status = 0; }; then : | 3985 | (exit $ac_status); }; then |
4573 | 4222 | for ac_file in conftest.o conftest.obj conftest.*; do | 3986 | for ac_file in conftest.o conftest.obj conftest.*; do |
4574 | 4223 | test -f "$ac_file" || continue; | 3987 | test -f "$ac_file" || continue; |
4575 | 4224 | case $ac_file in | 3988 | case $ac_file in |
4576 | @@ -4231,23 +3995,31 @@ | |||
4577 | 4231 | $as_echo "$as_me: failed program was:" >&5 | 3995 | $as_echo "$as_me: failed program was:" >&5 |
4578 | 4232 | sed 's/^/| /' conftest.$ac_ext >&5 | 3996 | sed 's/^/| /' conftest.$ac_ext >&5 |
4579 | 4233 | 3997 | ||
4581 | 4234 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3998 | { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 |
4582 | 4235 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3999 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4585 | 4236 | as_fn_error "cannot compute suffix of object files: cannot compile | 4000 | { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile |
4586 | 4237 | See \`config.log' for more details." "$LINENO" 5; } | 4001 | See \`config.log' for more details." >&5 |
4587 | 4002 | $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile | ||
4588 | 4003 | See \`config.log' for more details." >&2;} | ||
4589 | 4004 | { (exit 1); exit 1; }; }; } | ||
4590 | 4238 | fi | 4005 | fi |
4591 | 4006 | |||
4592 | 4239 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 4007 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
4593 | 4240 | fi | 4008 | fi |
4595 | 4241 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 4009 | { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
4596 | 4242 | $as_echo "$ac_cv_objext" >&6; } | 4010 | $as_echo "$ac_cv_objext" >&6; } |
4597 | 4243 | OBJEXT=$ac_cv_objext | 4011 | OBJEXT=$ac_cv_objext |
4598 | 4244 | ac_objext=$OBJEXT | 4012 | ac_objext=$OBJEXT |
4600 | 4245 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 4013 | { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
4601 | 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; } |
4603 | 4247 | if test "${ac_cv_c_compiler_gnu+set}" = set; then : | 4015 | if test "${ac_cv_c_compiler_gnu+set}" = set; then |
4604 | 4248 | $as_echo_n "(cached) " >&6 | 4016 | $as_echo_n "(cached) " >&6 |
4605 | 4249 | else | 4017 | else |
4607 | 4250 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4018 | cat >conftest.$ac_ext <<_ACEOF |
4608 | 4019 | /* confdefs.h. */ | ||
4609 | 4020 | _ACEOF | ||
4610 | 4021 | cat confdefs.h >>conftest.$ac_ext | ||
4611 | 4022 | cat >>conftest.$ac_ext <<_ACEOF | ||
4612 | 4251 | /* end confdefs.h. */ | 4023 | /* end confdefs.h. */ |
4613 | 4252 | 4024 | ||
4614 | 4253 | int | 4025 | int |
4615 | @@ -4261,16 +4033,37 @@ | |||
4616 | 4261 | return 0; | 4033 | return 0; |
4617 | 4262 | } | 4034 | } |
4618 | 4263 | _ACEOF | 4035 | _ACEOF |
4620 | 4264 | if ac_fn_c_try_compile "$LINENO"; then : | 4036 | rm -f conftest.$ac_objext |
4621 | 4037 | if { (ac_try="$ac_compile" | ||
4622 | 4038 | case "(($ac_try" in | ||
4623 | 4039 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4624 | 4040 | *) ac_try_echo=$ac_try;; | ||
4625 | 4041 | esac | ||
4626 | 4042 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4627 | 4043 | $as_echo "$ac_try_echo") >&5 | ||
4628 | 4044 | (eval "$ac_compile") 2>conftest.er1 | ||
4629 | 4045 | ac_status=$? | ||
4630 | 4046 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4631 | 4047 | rm -f conftest.er1 | ||
4632 | 4048 | cat conftest.err >&5 | ||
4633 | 4049 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4634 | 4050 | (exit $ac_status); } && { | ||
4635 | 4051 | test -z "$ac_c_werror_flag" || | ||
4636 | 4052 | test ! -s conftest.err | ||
4637 | 4053 | } && test -s conftest.$ac_objext; then | ||
4638 | 4265 | ac_compiler_gnu=yes | 4054 | ac_compiler_gnu=yes |
4639 | 4266 | else | 4055 | else |
4641 | 4267 | ac_compiler_gnu=no | 4056 | $as_echo "$as_me: failed program was:" >&5 |
4642 | 4057 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4643 | 4058 | |||
4644 | 4059 | ac_compiler_gnu=no | ||
4645 | 4268 | fi | 4060 | fi |
4646 | 4061 | |||
4647 | 4269 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4062 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4648 | 4270 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 4063 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4649 | 4271 | 4064 | ||
4650 | 4272 | fi | 4065 | fi |
4652 | 4273 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | 4066 | { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
4653 | 4274 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | 4067 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
4654 | 4275 | if test $ac_compiler_gnu = yes; then | 4068 | if test $ac_compiler_gnu = yes; then |
4655 | 4276 | GCC=yes | 4069 | GCC=yes |
4656 | @@ -4279,16 +4072,20 @@ | |||
4657 | 4279 | fi | 4072 | fi |
4658 | 4280 | ac_test_CFLAGS=${CFLAGS+set} | 4073 | ac_test_CFLAGS=${CFLAGS+set} |
4659 | 4281 | ac_save_CFLAGS=$CFLAGS | 4074 | ac_save_CFLAGS=$CFLAGS |
4661 | 4282 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 4075 | { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
4662 | 4283 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | 4076 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
4664 | 4284 | if test "${ac_cv_prog_cc_g+set}" = set; then : | 4077 | if test "${ac_cv_prog_cc_g+set}" = set; then |
4665 | 4285 | $as_echo_n "(cached) " >&6 | 4078 | $as_echo_n "(cached) " >&6 |
4666 | 4286 | else | 4079 | else |
4667 | 4287 | ac_save_c_werror_flag=$ac_c_werror_flag | 4080 | ac_save_c_werror_flag=$ac_c_werror_flag |
4668 | 4288 | ac_c_werror_flag=yes | 4081 | ac_c_werror_flag=yes |
4669 | 4289 | ac_cv_prog_cc_g=no | 4082 | ac_cv_prog_cc_g=no |
4670 | 4290 | CFLAGS="-g" | 4083 | CFLAGS="-g" |
4672 | 4291 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4084 | cat >conftest.$ac_ext <<_ACEOF |
4673 | 4085 | /* confdefs.h. */ | ||
4674 | 4086 | _ACEOF | ||
4675 | 4087 | cat confdefs.h >>conftest.$ac_ext | ||
4676 | 4088 | cat >>conftest.$ac_ext <<_ACEOF | ||
4677 | 4292 | /* end confdefs.h. */ | 4089 | /* end confdefs.h. */ |
4678 | 4293 | 4090 | ||
4679 | 4294 | int | 4091 | int |
4680 | @@ -4299,11 +4096,35 @@ | |||
4681 | 4299 | return 0; | 4096 | return 0; |
4682 | 4300 | } | 4097 | } |
4683 | 4301 | _ACEOF | 4098 | _ACEOF |
4685 | 4302 | if ac_fn_c_try_compile "$LINENO"; then : | 4099 | rm -f conftest.$ac_objext |
4686 | 4100 | if { (ac_try="$ac_compile" | ||
4687 | 4101 | case "(($ac_try" in | ||
4688 | 4102 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4689 | 4103 | *) ac_try_echo=$ac_try;; | ||
4690 | 4104 | esac | ||
4691 | 4105 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4692 | 4106 | $as_echo "$ac_try_echo") >&5 | ||
4693 | 4107 | (eval "$ac_compile") 2>conftest.er1 | ||
4694 | 4108 | ac_status=$? | ||
4695 | 4109 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4696 | 4110 | rm -f conftest.er1 | ||
4697 | 4111 | cat conftest.err >&5 | ||
4698 | 4112 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4699 | 4113 | (exit $ac_status); } && { | ||
4700 | 4114 | test -z "$ac_c_werror_flag" || | ||
4701 | 4115 | test ! -s conftest.err | ||
4702 | 4116 | } && test -s conftest.$ac_objext; then | ||
4703 | 4303 | ac_cv_prog_cc_g=yes | 4117 | ac_cv_prog_cc_g=yes |
4704 | 4304 | else | 4118 | else |
4707 | 4305 | CFLAGS="" | 4119 | $as_echo "$as_me: failed program was:" >&5 |
4708 | 4306 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4120 | sed 's/^/| /' conftest.$ac_ext >&5 |
4709 | 4121 | |||
4710 | 4122 | CFLAGS="" | ||
4711 | 4123 | cat >conftest.$ac_ext <<_ACEOF | ||
4712 | 4124 | /* confdefs.h. */ | ||
4713 | 4125 | _ACEOF | ||
4714 | 4126 | cat confdefs.h >>conftest.$ac_ext | ||
4715 | 4127 | cat >>conftest.$ac_ext <<_ACEOF | ||
4716 | 4307 | /* end confdefs.h. */ | 4128 | /* end confdefs.h. */ |
4717 | 4308 | 4129 | ||
4718 | 4309 | int | 4130 | int |
4719 | @@ -4314,12 +4135,36 @@ | |||
4720 | 4314 | return 0; | 4135 | return 0; |
4721 | 4315 | } | 4136 | } |
4722 | 4316 | _ACEOF | 4137 | _ACEOF |
4724 | 4317 | if ac_fn_c_try_compile "$LINENO"; then : | 4138 | rm -f conftest.$ac_objext |
4725 | 4139 | if { (ac_try="$ac_compile" | ||
4726 | 4140 | case "(($ac_try" in | ||
4727 | 4141 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4728 | 4142 | *) ac_try_echo=$ac_try;; | ||
4729 | 4143 | esac | ||
4730 | 4144 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4731 | 4145 | $as_echo "$ac_try_echo") >&5 | ||
4732 | 4146 | (eval "$ac_compile") 2>conftest.er1 | ||
4733 | 4147 | ac_status=$? | ||
4734 | 4148 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4735 | 4149 | rm -f conftest.er1 | ||
4736 | 4150 | cat conftest.err >&5 | ||
4737 | 4151 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4738 | 4152 | (exit $ac_status); } && { | ||
4739 | 4153 | test -z "$ac_c_werror_flag" || | ||
4740 | 4154 | test ! -s conftest.err | ||
4741 | 4155 | } && test -s conftest.$ac_objext; then | ||
4742 | 4156 | : | ||
4743 | 4157 | else | ||
4744 | 4158 | $as_echo "$as_me: failed program was:" >&5 | ||
4745 | 4159 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4746 | 4318 | 4160 | ||
4749 | 4319 | else | 4161 | ac_c_werror_flag=$ac_save_c_werror_flag |
4748 | 4320 | ac_c_werror_flag=$ac_save_c_werror_flag | ||
4750 | 4321 | CFLAGS="-g" | 4162 | CFLAGS="-g" |
4752 | 4322 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4163 | cat >conftest.$ac_ext <<_ACEOF |
4753 | 4164 | /* confdefs.h. */ | ||
4754 | 4165 | _ACEOF | ||
4755 | 4166 | cat confdefs.h >>conftest.$ac_ext | ||
4756 | 4167 | cat >>conftest.$ac_ext <<_ACEOF | ||
4757 | 4323 | /* end confdefs.h. */ | 4168 | /* end confdefs.h. */ |
4758 | 4324 | 4169 | ||
4759 | 4325 | int | 4170 | int |
4760 | @@ -4330,17 +4175,42 @@ | |||
4761 | 4330 | return 0; | 4175 | return 0; |
4762 | 4331 | } | 4176 | } |
4763 | 4332 | _ACEOF | 4177 | _ACEOF |
4765 | 4333 | if ac_fn_c_try_compile "$LINENO"; then : | 4178 | rm -f conftest.$ac_objext |
4766 | 4179 | if { (ac_try="$ac_compile" | ||
4767 | 4180 | case "(($ac_try" in | ||
4768 | 4181 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4769 | 4182 | *) ac_try_echo=$ac_try;; | ||
4770 | 4183 | esac | ||
4771 | 4184 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4772 | 4185 | $as_echo "$ac_try_echo") >&5 | ||
4773 | 4186 | (eval "$ac_compile") 2>conftest.er1 | ||
4774 | 4187 | ac_status=$? | ||
4775 | 4188 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4776 | 4189 | rm -f conftest.er1 | ||
4777 | 4190 | cat conftest.err >&5 | ||
4778 | 4191 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4779 | 4192 | (exit $ac_status); } && { | ||
4780 | 4193 | test -z "$ac_c_werror_flag" || | ||
4781 | 4194 | test ! -s conftest.err | ||
4782 | 4195 | } && test -s conftest.$ac_objext; then | ||
4783 | 4334 | ac_cv_prog_cc_g=yes | 4196 | ac_cv_prog_cc_g=yes |
4789 | 4335 | fi | 4197 | else |
4790 | 4336 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4198 | $as_echo "$as_me: failed program was:" >&5 |
4791 | 4337 | fi | 4199 | sed 's/^/| /' conftest.$ac_ext >&5 |
4792 | 4338 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4200 | |
4793 | 4339 | fi | 4201 | |
4794 | 4202 | fi | ||
4795 | 4203 | |||
4796 | 4204 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4797 | 4205 | fi | ||
4798 | 4206 | |||
4799 | 4207 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
4800 | 4208 | fi | ||
4801 | 4209 | |||
4802 | 4340 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4210 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4803 | 4341 | ac_c_werror_flag=$ac_save_c_werror_flag | 4211 | ac_c_werror_flag=$ac_save_c_werror_flag |
4804 | 4342 | fi | 4212 | fi |
4806 | 4343 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | 4213 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
4807 | 4344 | $as_echo "$ac_cv_prog_cc_g" >&6; } | 4214 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
4808 | 4345 | if test "$ac_test_CFLAGS" = set; then | 4215 | if test "$ac_test_CFLAGS" = set; then |
4809 | 4346 | CFLAGS=$ac_save_CFLAGS | 4216 | CFLAGS=$ac_save_CFLAGS |
4810 | @@ -4357,14 +4227,18 @@ | |||
4811 | 4357 | CFLAGS= | 4227 | CFLAGS= |
4812 | 4358 | fi | 4228 | fi |
4813 | 4359 | fi | 4229 | fi |
4815 | 4360 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 4230 | { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 |
4816 | 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; } |
4818 | 4362 | if test "${ac_cv_prog_cc_c89+set}" = set; then : | 4232 | if test "${ac_cv_prog_cc_c89+set}" = set; then |
4819 | 4363 | $as_echo_n "(cached) " >&6 | 4233 | $as_echo_n "(cached) " >&6 |
4820 | 4364 | else | 4234 | else |
4821 | 4365 | ac_cv_prog_cc_c89=no | 4235 | ac_cv_prog_cc_c89=no |
4822 | 4366 | ac_save_CC=$CC | 4236 | ac_save_CC=$CC |
4824 | 4367 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4237 | cat >conftest.$ac_ext <<_ACEOF |
4825 | 4238 | /* confdefs.h. */ | ||
4826 | 4239 | _ACEOF | ||
4827 | 4240 | cat confdefs.h >>conftest.$ac_ext | ||
4828 | 4241 | cat >>conftest.$ac_ext <<_ACEOF | ||
4829 | 4368 | /* end confdefs.h. */ | 4242 | /* end confdefs.h. */ |
4830 | 4369 | #include <stdarg.h> | 4243 | #include <stdarg.h> |
4831 | 4370 | #include <stdio.h> | 4244 | #include <stdio.h> |
4832 | @@ -4421,9 +4295,32 @@ | |||
4833 | 4421 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 4295 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
4834 | 4422 | do | 4296 | do |
4835 | 4423 | CC="$ac_save_CC $ac_arg" | 4297 | CC="$ac_save_CC $ac_arg" |
4837 | 4424 | if ac_fn_c_try_compile "$LINENO"; then : | 4298 | rm -f conftest.$ac_objext |
4838 | 4299 | if { (ac_try="$ac_compile" | ||
4839 | 4300 | case "(($ac_try" in | ||
4840 | 4301 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | ||
4841 | 4302 | *) ac_try_echo=$ac_try;; | ||
4842 | 4303 | esac | ||
4843 | 4304 | eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" | ||
4844 | 4305 | $as_echo "$ac_try_echo") >&5 | ||
4845 | 4306 | (eval "$ac_compile") 2>conftest.er1 | ||
4846 | 4307 | ac_status=$? | ||
4847 | 4308 | grep -v '^ *+' conftest.er1 >conftest.err | ||
4848 | 4309 | rm -f conftest.er1 | ||
4849 | 4310 | cat conftest.err >&5 | ||
4850 | 4311 | $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 | ||
4851 | 4312 | (exit $ac_status); } && { | ||
4852 | 4313 | test -z "$ac_c_werror_flag" || | ||
4853 | 4314 | test ! -s conftest.err | ||
4854 | 4315 | } && test -s conftest.$ac_objext; then | ||
4855 | 4425 | ac_cv_prog_cc_c89=$ac_arg | 4316 | ac_cv_prog_cc_c89=$ac_arg |
4856 | 4317 | else | ||
4857 | 4318 | $as_echo "$as_me: failed program was:" >&5 | ||
4858 | 4319 | sed 's/^/| /' conftest.$ac_ext >&5 | ||
4859 | 4320 | |||
4860 | 4321 | |||
4861 | 4426 | fi | 4322 | fi |
4862 | 4323 | |||
4863 | 4427 | rm -f core conftest.err conftest.$ac_objext | 4324 | rm -f core conftest.err conftest.$ac_objext |
4864 | 4428 | test "x$ac_cv_prog_cc_c89" != "xno" && break | 4325 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
4865 | 4429 | done | 4326 | done |
4866 | @@ -4434,19 +4331,17 @@ | |||
4867 | 4434 | # AC_CACHE_VAL | 4331 | # AC_CACHE_VAL |
4868 | 4435 | case "x$ac_cv_prog_cc_c89" in | 4332 | case "x$ac_cv_prog_cc_c89" in |
4869 | 4436 | x) | 4333 | x) |
4871 | 4437 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 4334 | { $as_echo "$as_me:$LINENO: result: none needed" >&5 |
4872 | 4438 | $as_echo "none needed" >&6; } ;; | 4335 | $as_echo "none needed" >&6; } ;; |
4873 | 4439 | xno) | 4336 | xno) |
4875 | 4440 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 4337 | { $as_echo "$as_me:$LINENO: result: unsupported" >&5 |
4876 | 4441 | $as_echo "unsupported" >&6; } ;; | 4338 | $as_echo "unsupported" >&6; } ;; |
4877 | 4442 | *) | 4339 | *) |
4878 | 4443 | CC="$CC $ac_cv_prog_cc_c89" | 4340 | CC="$CC $ac_cv_prog_cc_c89" |
4880 | 4444 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | 4341 | { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 |
4881 | 4445 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 4342 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
4882 | 4446 | esac | 4343 | esac |
4883 | 4447 | if test "x$ac_cv_prog_cc_c89" != xno; then : | ||
4884 | 4448 | 4344 | ||
4885 | 4449 | fi | ||
4886 | 4450 | 4345 | ||
4887 | 4451 | ac_ext=c | 4346 | ac_ext=c |
4888 | 4452 | ac_cpp='$CPP $CPPFLAGS' | 4347 | ac_cpp='$CPP $CPPFLAGS' |
4889 | @@ -4456,9 +4351,9 @@ | |||
4890 | 4456 | 4351 | ||
4891 | 4457 | depcc="$CC" am_compiler_list= | 4352 | depcc="$CC" am_compiler_list= |
4892 | 4458 | 4353 | ||
4894 | 4459 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | 4354 | { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 |
4895 | 4460 | $as_echo_n "checking dependency style of $depcc... " >&6; } | 4355 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
4897 | 4461 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : | 4356 | if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then |
4898 | 4462 | $as_echo_n "(cached) " >&6 | 4357 | $as_echo_n "(cached) " >&6 |
4899 | 4463 | else | 4358 | else |
4900 | 4464 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 4359 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4901 | @@ -4566,7 +4461,7 @@ | |||
4902 | 4566 | fi | 4461 | fi |
4903 | 4567 | 4462 | ||
4904 | 4568 | fi | 4463 | fi |
4906 | 4569 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 | 4464 | { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4907 | 4570 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | 4465 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
4908 | 4571 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | 4466 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
4909 | 4572 | 4467 | ||
4910 | @@ -4581,9 +4476,9 @@ | |||
4911 | 4581 | fi | 4476 | fi |
4912 | 4582 | 4477 | ||
4913 | 4583 | 4478 | ||
4915 | 4584 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 | 4479 | { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 |
4916 | 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; } |
4918 | 4586 | if test "${ac_cv_path_SED+set}" = set; then : | 4481 | if test "${ac_cv_path_SED+set}" = set; then |
4919 | 4587 | $as_echo_n "(cached) " >&6 | 4482 | $as_echo_n "(cached) " >&6 |
4920 | 4588 | else | 4483 | else |
4921 | 4589 | ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ | 4484 | ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
4922 | @@ -4591,7 +4486,7 @@ | |||
4923 | 4591 | ac_script="$ac_script$as_nl$ac_script" | 4486 | ac_script="$ac_script$as_nl$ac_script" |
4924 | 4592 | done | 4487 | done |
4925 | 4593 | echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed | 4488 | echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
4927 | 4594 | { ac_script=; unset ac_script;} | 4489 | $as_unset ac_script || ac_script= |
4928 | 4595 | if test -z "$SED"; then | 4490 | if test -z "$SED"; then |
4929 | 4596 | ac_path_SED_found=false | 4491 | ac_path_SED_found=false |
4930 | 4597 | # Loop through the user's path and test for each of PROGNAME-LIST | 4492 | # Loop through the user's path and test for each of PROGNAME-LIST |
4931 | @@ -4600,7 +4495,7 @@ | |||
4932 | 4600 | do | 4495 | do |
4933 | 4601 | IFS=$as_save_IFS | 4496 | IFS=$as_save_IFS |
4934 | 4602 | test -z "$as_dir" && as_dir=. | 4497 | test -z "$as_dir" && as_dir=. |
4936 | 4603 | for ac_prog in sed gsed; do | 4498 | for ac_prog in sed gsed; do |
4937 | 4604 | for ac_exec_ext in '' $ac_executable_extensions; do | 4499 | for ac_exec_ext in '' $ac_executable_extensions; do |
4938 | 4605 | ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" | 4500 | ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
4939 | 4606 | { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue | 4501 | { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
4940 | @@ -4620,7 +4515,7 @@ | |||
4941 | 4620 | $as_echo '' >> "conftest.nl" | 4515 | $as_echo '' >> "conftest.nl" |
4942 | 4621 | "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4516 | "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4943 | 4622 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4517 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4945 | 4623 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 4518 | ac_count=`expr $ac_count + 1` |
4946 | 4624 | if test $ac_count -gt ${ac_path_SED_max-0}; then | 4519 | if test $ac_count -gt ${ac_path_SED_max-0}; then |
4947 | 4625 | # Best one so far, save it but keep looking for a better one | 4520 | # Best one so far, save it but keep looking for a better one |
4948 | 4626 | ac_cv_path_SED="$ac_path_SED" | 4521 | ac_cv_path_SED="$ac_path_SED" |
4949 | @@ -4635,17 +4530,19 @@ | |||
4950 | 4635 | $ac_path_SED_found && break 3 | 4530 | $ac_path_SED_found && break 3 |
4951 | 4636 | done | 4531 | done |
4952 | 4637 | done | 4532 | done |
4954 | 4638 | done | 4533 | done |
4955 | 4639 | IFS=$as_save_IFS | 4534 | IFS=$as_save_IFS |
4956 | 4640 | if test -z "$ac_cv_path_SED"; then | 4535 | if test -z "$ac_cv_path_SED"; then |
4958 | 4641 | as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 | 4536 | { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 |
4959 | 4537 | $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} | ||
4960 | 4538 | { (exit 1); exit 1; }; } | ||
4961 | 4642 | fi | 4539 | fi |
4962 | 4643 | else | 4540 | else |
4963 | 4644 | ac_cv_path_SED=$SED | 4541 | ac_cv_path_SED=$SED |
4964 | 4645 | fi | 4542 | fi |
4965 | 4646 | 4543 | ||
4966 | 4647 | fi | 4544 | fi |
4968 | 4648 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 | 4545 | { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 |
4969 | 4649 | $as_echo "$ac_cv_path_SED" >&6; } | 4546 | $as_echo "$ac_cv_path_SED" >&6; } |
4970 | 4650 | SED="$ac_cv_path_SED" | 4547 | SED="$ac_cv_path_SED" |
4971 | 4651 | rm -f conftest.sed | 4548 | rm -f conftest.sed |
4972 | @@ -4663,9 +4560,9 @@ | |||
4973 | 4663 | 4560 | ||
4974 | 4664 | 4561 | ||
4975 | 4665 | 4562 | ||
4977 | 4666 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 4563 | { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 |
4978 | 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; } |
4980 | 4668 | if test "${ac_cv_path_GREP+set}" = set; then : | 4565 | if test "${ac_cv_path_GREP+set}" = set; then |
4981 | 4669 | $as_echo_n "(cached) " >&6 | 4566 | $as_echo_n "(cached) " >&6 |
4982 | 4670 | else | 4567 | else |
4983 | 4671 | if test -z "$GREP"; then | 4568 | if test -z "$GREP"; then |
4984 | @@ -4676,7 +4573,7 @@ | |||
4985 | 4676 | do | 4573 | do |
4986 | 4677 | IFS=$as_save_IFS | 4574 | IFS=$as_save_IFS |
4987 | 4678 | test -z "$as_dir" && as_dir=. | 4575 | test -z "$as_dir" && as_dir=. |
4989 | 4679 | for ac_prog in grep ggrep; do | 4576 | for ac_prog in grep ggrep; do |
4990 | 4680 | for ac_exec_ext in '' $ac_executable_extensions; do | 4577 | for ac_exec_ext in '' $ac_executable_extensions; do |
4991 | 4681 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 4578 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4992 | 4682 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 4579 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4993 | @@ -4696,7 +4593,7 @@ | |||
4994 | 4696 | $as_echo 'GREP' >> "conftest.nl" | 4593 | $as_echo 'GREP' >> "conftest.nl" |
4995 | 4697 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4594 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4996 | 4698 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4595 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4998 | 4699 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 4596 | ac_count=`expr $ac_count + 1` |
4999 | 4700 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | 4597 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
5000 | 4701 | # Best one so far, save it but keep looking for a better one | 4598 | # Best one so far, save it but keep looking for a better one |
The diff has been truncated for viewing.
The update has already been released to -security (see bug 1157385).