Browse code

Regenerate build system files.

Török Edvin authored on 2009/08/25 01:39:51
Showing 26 changed files
... ...
@@ -68,15 +68,18 @@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
68 68
 	$(top_srcdir)/docs/man/clamscan.1.in \
69 69
 	$(top_srcdir)/docs/man/freshclam.1.in \
70 70
 	$(top_srcdir)/docs/man/freshclam.conf.5.in \
71
-	$(top_srcdir)/docs/man/sigtool.1.in AUTHORS COPYING ChangeLog \
72
-	INSTALL NEWS config/config.guess config/config.rpath \
71
+	$(top_srcdir)/docs/man/sigtool.1.in \
72
+	$(top_srcdir)/libclamav/llvm/GNUmakefile.in \
73
+	$(top_srcdir)/libclamav/llvm/Makefile.in AUTHORS COPYING \
74
+	ChangeLog INSTALL NEWS config/config.guess config/config.rpath \
73 75
 	config/config.sub config/depcomp config/install-sh \
74 76
 	config/ltmain.sh config/missing
75 77
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
76 78
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
77
-	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/fdpassing.m4 \
78
-	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
79
-	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
79
+	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/check_gnu_make.m4 \
80
+	$(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
81
+	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
82
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
80 83
 	$(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
81 84
 	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
82 85
 	$(top_srcdir)/m4/lt~obsolete.m4 \
... ...
@@ -88,7 +91,8 @@ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
88 88
  configure.lineno config.status.lineno
89 89
 mkinstalldirs = $(install_sh) -d
90 90
 CONFIG_HEADER = clamav-config.h
91
-CONFIG_CLEAN_FILES = clamav-config libclamav.pc \
91
+CONFIG_CLEAN_FILES = libclamav/llvm/Makefile \
92
+	libclamav/llvm/GNUmakefile clamav-config libclamav.pc \
92 93
 	docs/man/clamav-milter.8 docs/man/clamconf.1 docs/man/clamd.8 \
93 94
 	docs/man/clamd.conf.5 docs/man/clamdscan.1 docs/man/clamscan.1 \
94 95
 	docs/man/freshclam.1 docs/man/freshclam.conf.5 \
... ...
@@ -215,8 +219,10 @@ FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
215 215
 GCOV = @GCOV@
216 216
 GENHTML = @GENHTML@
217 217
 GETENT = @GETENT@
218
+GMAKE = @GMAKE@
218 219
 GPERF = @GPERF@
219 220
 GREP = @GREP@
221
+GXX = @GXX@
220 222
 INCLTDL = @INCLTDL@
221 223
 INSTALL = @INSTALL@
222 224
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -280,6 +286,7 @@ abs_top_builddir = @abs_top_builddir@
280 280
 abs_top_srcdir = @abs_top_srcdir@
281 281
 ac_ct_CC = @ac_ct_CC@
282 282
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
283
+ac_ct_GXX = @ac_ct_GXX@
283 284
 am__include = @am__include@
284 285
 am__leading_dot = @am__leading_dot@
285 286
 am__quote = @am__quote@
... ...
@@ -303,6 +310,7 @@ host_cpu = @host_cpu@
303 303
 host_os = @host_os@
304 304
 host_vendor = @host_vendor@
305 305
 htmldir = @htmldir@
306
+ifGNUmake = @ifGNUmake@
306 307
 includedir = @includedir@
307 308
 infodir = @infodir@
308 309
 install_sh = @install_sh@
... ...
@@ -323,6 +331,7 @@ psdir = @psdir@
323 323
 sbindir = @sbindir@
324 324
 sharedstatedir = @sharedstatedir@
325 325
 srcdir = @srcdir@
326
+subdirs = @subdirs@
326 327
 sys_symbol_underscore = @sys_symbol_underscore@
327 328
 sysconfdir = @sysconfdir@
328 329
 target = @target@
... ...
@@ -440,6 +449,10 @@ $(srcdir)/clamav-config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
440 440
 
441 441
 distclean-hdr:
442 442
 	-rm -f clamav-config.h stamp-h1
443
+libclamav/llvm/Makefile: $(top_builddir)/config.status $(top_srcdir)/libclamav/llvm/Makefile.in
444
+	cd $(top_builddir) && $(SHELL) ./config.status $@
445
+libclamav/llvm/GNUmakefile: $(top_builddir)/config.status $(top_srcdir)/libclamav/llvm/GNUmakefile.in
446
+	cd $(top_builddir) && $(SHELL) ./config.status $@
443 447
 clamav-config: $(top_builddir)/config.status $(srcdir)/clamav-config.in
444 448
 	cd $(top_builddir) && $(SHELL) ./config.status $@
445 449
 libclamav.pc: $(top_builddir)/config.status $(srcdir)/libclamav.pc.in
... ...
@@ -978,11 +978,13 @@ AC_SUBST([am__untar])
978 978
 
979 979
 m4_include([m4/acinclude.m4])
980 980
 m4_include([m4/argz.m4])
981
+m4_include([m4/check_gnu_make.m4])
981 982
 m4_include([m4/fdpassing.m4])
982 983
 m4_include([m4/lib-ld.m4])
983 984
 m4_include([m4/lib-link.m4])
984 985
 m4_include([m4/lib-prefix.m4])
985 986
 m4_include([m4/libtool.m4])
987
+m4_include([m4/llvm.m4])
986 988
 m4_include([m4/ltdl.m4])
987 989
 m4_include([m4/ltoptions.m4])
988 990
 m4_include([m4/ltsugar.m4])
... ...
@@ -59,9 +59,10 @@ subdir = clamav-milter
59 59
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
60 60
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
61 61
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
62
-	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/fdpassing.m4 \
63
-	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
64
-	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
62
+	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/check_gnu_make.m4 \
63
+	$(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
64
+	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
65
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
65 66
 	$(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
66 67
 	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
67 68
 	$(top_srcdir)/m4/lt~obsolete.m4 \
... ...
@@ -191,8 +192,10 @@ FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
191 191
 GCOV = @GCOV@
192 192
 GENHTML = @GENHTML@
193 193
 GETENT = @GETENT@
194
+GMAKE = @GMAKE@
194 195
 GPERF = @GPERF@
195 196
 GREP = @GREP@
197
+GXX = @GXX@
196 198
 INCLTDL = @INCLTDL@
197 199
 INSTALL = @INSTALL@
198 200
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -256,6 +259,7 @@ abs_top_builddir = @abs_top_builddir@
256 256
 abs_top_srcdir = @abs_top_srcdir@
257 257
 ac_ct_CC = @ac_ct_CC@
258 258
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
259
+ac_ct_GXX = @ac_ct_GXX@
259 260
 am__include = @am__include@
260 261
 am__leading_dot = @am__leading_dot@
261 262
 am__quote = @am__quote@
... ...
@@ -279,6 +283,7 @@ host_cpu = @host_cpu@
279 279
 host_os = @host_os@
280 280
 host_vendor = @host_vendor@
281 281
 htmldir = @htmldir@
282
+ifGNUmake = @ifGNUmake@
282 283
 includedir = @includedir@
283 284
 infodir = @infodir@
284 285
 install_sh = @install_sh@
... ...
@@ -299,6 +304,7 @@ psdir = @psdir@
299 299
 sbindir = @sbindir@
300 300
 sharedstatedir = @sharedstatedir@
301 301
 srcdir = @srcdir@
302
+subdirs = @subdirs@
302 303
 sys_symbol_underscore = @sys_symbol_underscore@
303 304
 sysconfdir = @sysconfdir@
304 305
 target = @target@
... ...
@@ -40,9 +40,10 @@ subdir = clambc
40 40
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41 41
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42 42
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
43
-	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/fdpassing.m4 \
44
-	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
45
-	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
43
+	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/check_gnu_make.m4 \
44
+	$(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
45
+	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
46
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
46 47
 	$(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
47 48
 	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
48 49
 	$(top_srcdir)/m4/lt~obsolete.m4 \
... ...
@@ -133,8 +134,10 @@ FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
133 133
 GCOV = @GCOV@
134 134
 GENHTML = @GENHTML@
135 135
 GETENT = @GETENT@
136
+GMAKE = @GMAKE@
136 137
 GPERF = @GPERF@
137 138
 GREP = @GREP@
139
+GXX = @GXX@
138 140
 INCLTDL = @INCLTDL@
139 141
 INSTALL = @INSTALL@
140 142
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -198,6 +201,7 @@ abs_top_builddir = @abs_top_builddir@
198 198
 abs_top_srcdir = @abs_top_srcdir@
199 199
 ac_ct_CC = @ac_ct_CC@
200 200
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
201
+ac_ct_GXX = @ac_ct_GXX@
201 202
 am__include = @am__include@
202 203
 am__leading_dot = @am__leading_dot@
203 204
 am__quote = @am__quote@
... ...
@@ -221,6 +225,7 @@ host_cpu = @host_cpu@
221 221
 host_os = @host_os@
222 222
 host_vendor = @host_vendor@
223 223
 htmldir = @htmldir@
224
+ifGNUmake = @ifGNUmake@
224 225
 includedir = @includedir@
225 226
 infodir = @infodir@
226 227
 install_sh = @install_sh@
... ...
@@ -241,6 +246,7 @@ psdir = @psdir@
241 241
 sbindir = @sbindir@
242 242
 sharedstatedir = @sharedstatedir@
243 243
 srcdir = @srcdir@
244
+subdirs = @subdirs@
244 245
 sys_symbol_underscore = @sys_symbol_underscore@
245 246
 sysconfdir = @sysconfdir@
246 247
 target = @target@
... ...
@@ -58,9 +58,10 @@ subdir = clamconf
58 58
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
59 59
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
60 60
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
61
-	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/fdpassing.m4 \
62
-	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
63
-	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
61
+	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/check_gnu_make.m4 \
62
+	$(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
63
+	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
64
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
64 65
 	$(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
65 66
 	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
66 67
 	$(top_srcdir)/m4/lt~obsolete.m4 \
... ...
@@ -151,8 +152,10 @@ FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
151 151
 GCOV = @GCOV@
152 152
 GENHTML = @GENHTML@
153 153
 GETENT = @GETENT@
154
+GMAKE = @GMAKE@
154 155
 GPERF = @GPERF@
155 156
 GREP = @GREP@
157
+GXX = @GXX@
156 158
 INCLTDL = @INCLTDL@
157 159
 INSTALL = @INSTALL@
158 160
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -216,6 +219,7 @@ abs_top_builddir = @abs_top_builddir@
216 216
 abs_top_srcdir = @abs_top_srcdir@
217 217
 ac_ct_CC = @ac_ct_CC@
218 218
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
219
+ac_ct_GXX = @ac_ct_GXX@
219 220
 am__include = @am__include@
220 221
 am__leading_dot = @am__leading_dot@
221 222
 am__quote = @am__quote@
... ...
@@ -239,6 +243,7 @@ host_cpu = @host_cpu@
239 239
 host_os = @host_os@
240 240
 host_vendor = @host_vendor@
241 241
 htmldir = @htmldir@
242
+ifGNUmake = @ifGNUmake@
242 243
 includedir = @includedir@
243 244
 infodir = @infodir@
244 245
 install_sh = @install_sh@
... ...
@@ -259,6 +264,7 @@ psdir = @psdir@
259 259
 sbindir = @sbindir@
260 260
 sharedstatedir = @sharedstatedir@
261 261
 srcdir = @srcdir@
262
+subdirs = @subdirs@
262 263
 sys_symbol_underscore = @sys_symbol_underscore@
263 264
 sysconfdir = @sysconfdir@
264 265
 target = @target@
... ...
@@ -58,9 +58,10 @@ subdir = clamd
58 58
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
59 59
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
60 60
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
61
-	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/fdpassing.m4 \
62
-	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
63
-	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
61
+	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/check_gnu_make.m4 \
62
+	$(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
63
+	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
64
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
64 65
 	$(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
65 66
 	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
66 67
 	$(top_srcdir)/m4/lt~obsolete.m4 \
... ...
@@ -170,8 +171,10 @@ FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
170 170
 GCOV = @GCOV@
171 171
 GENHTML = @GENHTML@
172 172
 GETENT = @GETENT@
173
+GMAKE = @GMAKE@
173 174
 GPERF = @GPERF@
174 175
 GREP = @GREP@
176
+GXX = @GXX@
175 177
 INCLTDL = @INCLTDL@
176 178
 INSTALL = @INSTALL@
177 179
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -235,6 +238,7 @@ abs_top_builddir = @abs_top_builddir@
235 235
 abs_top_srcdir = @abs_top_srcdir@
236 236
 ac_ct_CC = @ac_ct_CC@
237 237
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
238
+ac_ct_GXX = @ac_ct_GXX@
238 239
 am__include = @am__include@
239 240
 am__leading_dot = @am__leading_dot@
240 241
 am__quote = @am__quote@
... ...
@@ -258,6 +262,7 @@ host_cpu = @host_cpu@
258 258
 host_os = @host_os@
259 259
 host_vendor = @host_vendor@
260 260
 htmldir = @htmldir@
261
+ifGNUmake = @ifGNUmake@
261 262
 includedir = @includedir@
262 263
 infodir = @infodir@
263 264
 install_sh = @install_sh@
... ...
@@ -278,6 +283,7 @@ psdir = @psdir@
278 278
 sbindir = @sbindir@
279 279
 sharedstatedir = @sharedstatedir@
280 280
 srcdir = @srcdir@
281
+subdirs = @subdirs@
281 282
 sys_symbol_underscore = @sys_symbol_underscore@
282 283
 sysconfdir = @sysconfdir@
283 284
 target = @target@
... ...
@@ -58,9 +58,10 @@ subdir = clamdscan
58 58
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
59 59
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
60 60
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
61
-	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/fdpassing.m4 \
62
-	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
63
-	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
61
+	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/check_gnu_make.m4 \
62
+	$(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
63
+	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
64
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
64 65
 	$(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
65 66
 	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
66 67
 	$(top_srcdir)/m4/lt~obsolete.m4 \
... ...
@@ -162,8 +163,10 @@ FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
162 162
 GCOV = @GCOV@
163 163
 GENHTML = @GENHTML@
164 164
 GETENT = @GETENT@
165
+GMAKE = @GMAKE@
165 166
 GPERF = @GPERF@
166 167
 GREP = @GREP@
168
+GXX = @GXX@
167 169
 INCLTDL = @INCLTDL@
168 170
 INSTALL = @INSTALL@
169 171
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -227,6 +230,7 @@ abs_top_builddir = @abs_top_builddir@
227 227
 abs_top_srcdir = @abs_top_srcdir@
228 228
 ac_ct_CC = @ac_ct_CC@
229 229
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
230
+ac_ct_GXX = @ac_ct_GXX@
230 231
 am__include = @am__include@
231 232
 am__leading_dot = @am__leading_dot@
232 233
 am__quote = @am__quote@
... ...
@@ -250,6 +254,7 @@ host_cpu = @host_cpu@
250 250
 host_os = @host_os@
251 251
 host_vendor = @host_vendor@
252 252
 htmldir = @htmldir@
253
+ifGNUmake = @ifGNUmake@
253 254
 includedir = @includedir@
254 255
 infodir = @infodir@
255 256
 install_sh = @install_sh@
... ...
@@ -270,6 +275,7 @@ psdir = @psdir@
270 270
 sbindir = @sbindir@
271 271
 sharedstatedir = @sharedstatedir@
272 272
 srcdir = @srcdir@
273
+subdirs = @subdirs@
273 274
 sys_symbol_underscore = @sys_symbol_underscore@
274 275
 sysconfdir = @sysconfdir@
275 276
 target = @target@
... ...
@@ -40,9 +40,10 @@ subdir = clamdtop
40 40
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41 41
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42 42
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
43
-	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/fdpassing.m4 \
44
-	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
45
-	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
43
+	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/check_gnu_make.m4 \
44
+	$(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
45
+	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
46
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
46 47
 	$(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
47 48
 	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
48 49
 	$(top_srcdir)/m4/lt~obsolete.m4 \
... ...
@@ -162,8 +163,10 @@ FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
162 162
 GCOV = @GCOV@
163 163
 GENHTML = @GENHTML@
164 164
 GETENT = @GETENT@
165
+GMAKE = @GMAKE@
165 166
 GPERF = @GPERF@
166 167
 GREP = @GREP@
168
+GXX = @GXX@
167 169
 INCLTDL = @INCLTDL@
168 170
 INSTALL = @INSTALL@
169 171
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -227,6 +230,7 @@ abs_top_builddir = @abs_top_builddir@
227 227
 abs_top_srcdir = @abs_top_srcdir@
228 228
 ac_ct_CC = @ac_ct_CC@
229 229
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
230
+ac_ct_GXX = @ac_ct_GXX@
230 231
 am__include = @am__include@
231 232
 am__leading_dot = @am__leading_dot@
232 233
 am__quote = @am__quote@
... ...
@@ -250,6 +254,7 @@ host_cpu = @host_cpu@
250 250
 host_os = @host_os@
251 251
 host_vendor = @host_vendor@
252 252
 htmldir = @htmldir@
253
+ifGNUmake = @ifGNUmake@
253 254
 includedir = @includedir@
254 255
 infodir = @infodir@
255 256
 install_sh = @install_sh@
... ...
@@ -270,6 +275,7 @@ psdir = @psdir@
270 270
 sbindir = @sbindir@
271 271
 sharedstatedir = @sharedstatedir@
272 272
 srcdir = @srcdir@
273
+subdirs = @subdirs@
273 274
 sys_symbol_underscore = @sys_symbol_underscore@
274 275
 sysconfdir = @sysconfdir@
275 276
 target = @target@
... ...
@@ -59,9 +59,10 @@ subdir = clamscan
59 59
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
60 60
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
61 61
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
62
-	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/fdpassing.m4 \
63
-	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
64
-	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
62
+	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/check_gnu_make.m4 \
63
+	$(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
64
+	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
65
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
65 66
 	$(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
66 67
 	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
67 68
 	$(top_srcdir)/m4/lt~obsolete.m4 \
... ...
@@ -153,8 +154,10 @@ FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
153 153
 GCOV = @GCOV@
154 154
 GENHTML = @GENHTML@
155 155
 GETENT = @GETENT@
156
+GMAKE = @GMAKE@
156 157
 GPERF = @GPERF@
157 158
 GREP = @GREP@
159
+GXX = @GXX@
158 160
 INCLTDL = @INCLTDL@
159 161
 INSTALL = @INSTALL@
160 162
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -218,6 +221,7 @@ abs_top_builddir = @abs_top_builddir@
218 218
 abs_top_srcdir = @abs_top_srcdir@
219 219
 ac_ct_CC = @ac_ct_CC@
220 220
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
221
+ac_ct_GXX = @ac_ct_GXX@
221 222
 am__include = @am__include@
222 223
 am__leading_dot = @am__leading_dot@
223 224
 am__quote = @am__quote@
... ...
@@ -241,6 +245,7 @@ host_cpu = @host_cpu@
241 241
 host_os = @host_os@
242 242
 host_vendor = @host_vendor@
243 243
 htmldir = @htmldir@
244
+ifGNUmake = @ifGNUmake@
244 245
 includedir = @includedir@
245 246
 infodir = @infodir@
246 247
 install_sh = @install_sh@
... ...
@@ -261,6 +266,7 @@ psdir = @psdir@
261 261
 sbindir = @sbindir@
262 262
 sharedstatedir = @sharedstatedir@
263 263
 srcdir = @srcdir@
264
+subdirs = @subdirs@
264 265
 sys_symbol_underscore = @sys_symbol_underscore@
265 266
 sysconfdir = @sysconfdir@
266 267
 target = @target@
... ...
@@ -1,10 +1,10 @@
1 1
 #! /bin/sh
2 2
 # Attempt to guess a canonical system name.
3 3
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
4
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5 5
 #   Free Software Foundation, Inc.
6 6
 
7
-timestamp='2009-06-10'
7
+timestamp='2009-04-27'
8 8
 
9 9
 # This file is free software; you can redistribute it and/or modify it
10 10
 # under the terms of the GNU General Public License as published by
... ...
@@ -170,7 +170,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
170 170
 	    arm*|i386|m68k|ns32k|sh3*|sparc|vax)
171 171
 		eval $set_cc_for_build
172 172
 		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
173
-			| grep -q __ELF__
173
+			| grep __ELF__ >/dev/null
174 174
 		then
175 175
 		    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
176 176
 		    # Return netbsd for either.  FIX?
... ...
@@ -656,7 +656,7 @@ EOF
656 656
 	    # => hppa64-hp-hpux11.23
657 657
 
658 658
 	    if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
659
-		grep -q __LP64__
659
+		grep __LP64__ >/dev/null
660 660
 	    then
661 661
 		HP_ARCH="hppa2.0w"
662 662
 	    else
... ...
@@ -822,9 +822,6 @@ EOF
822 822
     [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
823 823
 	echo i${UNAME_MACHINE}-pc-mks
824 824
 	exit ;;
825
-    8664:Windows_NT:*)
826
-	echo x86_64-pc-mks
827
-	exit ;;
828 825
     i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
829 826
 	# How do we know it's Interix rather than the generic POSIX subsystem?
830 827
 	# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
... ...
@@ -885,17 +882,40 @@ EOF
885 885
     m68*:Linux:*:*)
886 886
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
887 887
 	exit ;;
888
-    mips:Linux:*:* | mips64:Linux:*:*)
888
+    mips:Linux:*:*)
889 889
 	eval $set_cc_for_build
890 890
 	sed 's/^	//' << EOF >$dummy.c
891 891
 	#undef CPU
892
-	#undef ${UNAME_MACHINE}
893
-	#undef ${UNAME_MACHINE}el
892
+	#undef mips
893
+	#undef mipsel
894 894
 	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
895
-	CPU=${UNAME_MACHINE}el
895
+	CPU=mipsel
896 896
 	#else
897 897
 	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
898
-	CPU=${UNAME_MACHINE}
898
+	CPU=mips
899
+	#else
900
+	CPU=
901
+	#endif
902
+	#endif
903
+EOF
904
+	eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
905
+	    /^CPU/{
906
+		s: ::g
907
+		p
908
+	    }'`"
909
+	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
910
+	;;
911
+    mips64:Linux:*:*)
912
+	eval $set_cc_for_build
913
+	sed 's/^	//' << EOF >$dummy.c
914
+	#undef CPU
915
+	#undef mips64
916
+	#undef mips64el
917
+	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
918
+	CPU=mips64el
919
+	#else
920
+	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
921
+	CPU=mips64
899 922
 	#else
900 923
 	CPU=
901 924
 	#endif
... ...
@@ -927,7 +947,7 @@ EOF
927 927
 	  EV67)  UNAME_MACHINE=alphaev67 ;;
928 928
 	  EV68*) UNAME_MACHINE=alphaev68 ;;
929 929
         esac
930
-	objdump --private-headers /bin/sh | grep -q ld.so.1
930
+	objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
931 931
 	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
932 932
 	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
933 933
 	exit ;;
... ...
@@ -981,6 +1001,14 @@ EOF
981 981
 	  elf32-i386)
982 982
 		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
983 983
 		;;
984
+	  a.out-i386-linux)
985
+		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
986
+		exit ;;
987
+	  "")
988
+		# Either a pre-BFD a.out linker (linux-gnuoldld) or
989
+		# one that does not give us useful --help.
990
+		echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
991
+		exit ;;
984 992
 	esac
985 993
 	# Determine whether the default compiler is a.out or elf
986 994
 	eval $set_cc_for_build
... ...
@@ -1046,7 +1074,7 @@ EOF
1046 1046
     i*86:syllable:*:*)
1047 1047
 	echo ${UNAME_MACHINE}-pc-syllable
1048 1048
 	exit ;;
1049
-    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
1049
+    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
1050 1050
 	echo i386-unknown-lynxos${UNAME_RELEASE}
1051 1051
 	exit ;;
1052 1052
     i*86:*DOS:*:*)
... ...
@@ -1154,7 +1182,7 @@ EOF
1154 1154
     rs6000:LynxOS:2.*:*)
1155 1155
 	echo rs6000-unknown-lynxos${UNAME_RELEASE}
1156 1156
 	exit ;;
1157
-    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
1157
+    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
1158 1158
 	echo powerpc-unknown-lynxos${UNAME_RELEASE}
1159 1159
 	exit ;;
1160 1160
     SM[BE]S:UNIX_SV:*:*)
... ...
@@ -1,10 +1,10 @@
1 1
 #! /bin/sh
2 2
 # Configuration validation subroutine script.
3 3
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
4
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
5 5
 #   Free Software Foundation, Inc.
6 6
 
7
-timestamp='2009-06-11'
7
+timestamp='2009-04-17'
8 8
 
9 9
 # This file is (in principle) common to ALL GNU software.
10 10
 # The presence of a machine in this file suggests that SOME GNU software
... ...
@@ -153,9 +153,6 @@ case $os in
153 153
 		os=
154 154
 		basic_machine=$1
155 155
 		;;
156
-        -bluegene*)
157
-	        os=-cnk
158
-		;;
159 156
 	-sim | -cisco | -oki | -wec | -winbond)
160 157
 		os=
161 158
 		basic_machine=$1
... ...
@@ -470,10 +467,6 @@ case $basic_machine in
470 470
 		basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
471 471
 		os=-linux
472 472
 		;;
473
-	bluegene*)
474
-		basic_machine=powerpc-ibm
475
-		os=-cnk
476
-		;;
477 473
 	c90)
478 474
 		basic_machine=c90-cray
479 475
 		os=-unicos
... ...
@@ -1267,7 +1260,7 @@ case $os in
1267 1267
 	# Each alternative MUST END IN A *, to match a version number.
1268 1268
 	# -sysv* is not here because it comes later, after sysvr4.
1269 1269
 	-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1270
-	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
1270
+	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1271 1271
 	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1272 1272
 	      | -kopensolaris* \
1273 1273
 	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
... ...
@@ -1620,7 +1613,7 @@ case $basic_machine in
1620 1620
 			-sunos*)
1621 1621
 				vendor=sun
1622 1622
 				;;
1623
-			-cnk*|-aix*)
1623
+			-aix*)
1624 1624
 				vendor=ibm
1625 1625
 				;;
1626 1626
 			-beos*)
... ...
@@ -65,7 +65,7 @@
65 65
 #       compiler:		$LTCC
66 66
 #       compiler flags:		$LTCFLAGS
67 67
 #       linker:		$LD (gnu? $with_gnu_ld)
68
-#       $progname:		(GNU libtool) 2.2.6
68
+#       $progname:		(GNU libtool) 2.2.6 Debian-2.2.6a-4
69 69
 #       automake:		$automake_version
70 70
 #       autoconf:		$autoconf_version
71 71
 #
... ...
@@ -73,7 +73,7 @@
73 73
 
74 74
 PROGRAM=ltmain.sh
75 75
 PACKAGE=libtool
76
-VERSION=2.2.6
76
+VERSION="2.2.6 Debian-2.2.6a-4"
77 77
 TIMESTAMP=""
78 78
 package_revision=1.3012
79 79
 
... ...
@@ -116,15 +116,15 @@ $lt_unset CDPATH
116 116
 
117 117
 : ${CP="cp -f"}
118 118
 : ${ECHO="echo"}
119
-: ${EGREP="/usr/bin/grep -E"}
120
-: ${FGREP="/usr/bin/grep -F"}
121
-: ${GREP="/usr/bin/grep"}
119
+: ${EGREP="/bin/grep -E"}
120
+: ${FGREP="/bin/grep -F"}
121
+: ${GREP="/bin/grep"}
122 122
 : ${LN_S="ln -s"}
123 123
 : ${MAKE="make"}
124 124
 : ${MKDIR="mkdir"}
125 125
 : ${MV="mv -f"}
126 126
 : ${RM="rm -f"}
127
-: ${SED="/opt/local/bin/gsed"}
127
+: ${SED="/bin/sed"}
128 128
 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
129 129
 : ${Xsed="$SED -e 1s/^X//"}
130 130
 
... ...
@@ -5033,7 +5033,10 @@ func_mode_link ()
5033 5033
 	case $pass in
5034 5034
 	dlopen) libs="$dlfiles" ;;
5035 5035
 	dlpreopen) libs="$dlprefiles" ;;
5036
-	link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
5036
+	link)
5037
+	  libs="$deplibs %DEPLIBS%"
5038
+	  test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
5039
+	  ;;
5037 5040
 	esac
5038 5041
       fi
5039 5042
       if test "$linkmode,$pass" = "lib,dlpreopen"; then
... ...
@@ -5344,19 +5347,19 @@ func_mode_link ()
5344 5344
 	    # It is a libtool convenience library, so add in its objects.
5345 5345
 	    convenience="$convenience $ladir/$objdir/$old_library"
5346 5346
 	    old_convenience="$old_convenience $ladir/$objdir/$old_library"
5347
+	    tmp_libs=
5348
+	    for deplib in $dependency_libs; do
5349
+	      deplibs="$deplib $deplibs"
5350
+	      if $opt_duplicate_deps ; then
5351
+		case "$tmp_libs " in
5352
+		*" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
5353
+		esac
5354
+	      fi
5355
+	      tmp_libs="$tmp_libs $deplib"
5356
+	    done
5347 5357
 	  elif test "$linkmode" != prog && test "$linkmode" != lib; then
5348 5358
 	    func_fatal_error "\`$lib' is not a convenience library"
5349 5359
 	  fi
5350
-	  tmp_libs=
5351
-	  for deplib in $dependency_libs; do
5352
-	    deplibs="$deplib $deplibs"
5353
-	    if $opt_duplicate_deps ; then
5354
-	      case "$tmp_libs " in
5355
-	      *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
5356
-	      esac
5357
-	    fi
5358
-	    tmp_libs="$tmp_libs $deplib"
5359
-	  done
5360 5360
 	  continue
5361 5361
 	fi # $pass = conv
5362 5362
 
... ...
@@ -5893,6 +5896,7 @@ func_mode_link ()
5893 5893
 	  if test "$link_all_deplibs" != no; then
5894 5894
 	    # Add the search paths of all dependency libraries
5895 5895
 	    for deplib in $dependency_libs; do
5896
+	      path=
5896 5897
 	      case $deplib in
5897 5898
 	      -L*) path="$deplib" ;;
5898 5899
 	      *.la)
... ...
@@ -6206,6 +6210,9 @@ func_mode_link ()
6206 6206
 	    revision="$number_minor"
6207 6207
 	    lt_irix_increment=no
6208 6208
 	    ;;
6209
+	  *)
6210
+	    func_fatal_configuration "$modename: unknown library version type \`$version_type'"
6211
+	    ;;
6209 6212
 	  esac
6210 6213
 	  ;;
6211 6214
 	no)
... ...
@@ -742,6 +742,7 @@ ac_includes_default="\
742 742
 # include <unistd.h>
743 743
 #endif"
744 744
 
745
+enable_option_checking=no
745 746
 ac_subst_vars='ltdl_LTLIBOBJS
746 747
 ltdl_LIBOBJS
747 748
 am__EXEEXT_FALSE
... ...
@@ -790,6 +791,13 @@ GPERF
790 790
 VERSIONSCRIPT_FALSE
791 791
 VERSIONSCRIPT_TRUE
792 792
 VERSIONSCRIPTFLAG
793
+GMAKE
794
+subdirs
795
+ENABLE_LLVM_FALSE
796
+ENABLE_LLVM_TRUE
797
+ifGNUmake
798
+ac_ct_GXX
799
+GXX
793 800
 DISTCHECK_ENABLE_FLAGS_FALSE
794 801
 DISTCHECK_ENABLE_FLAGS_TRUE
795 802
 LTDLOPEN
... ...
@@ -939,6 +947,7 @@ with_ltdl_lib
939 939
 enable_ltdl_install
940 940
 with_fpu_words_bigendian
941 941
 enable_gcc_vcheck
942
+enable_llvm
942 943
 enable_experimental
943 944
 enable_mempool
944 945
 enable_check
... ...
@@ -986,7 +995,7 @@ LDFLAGS
986 986
 LIBS
987 987
 CPPFLAGS
988 988
 CPP'
989
-
989
+ac_subdirs_all='./libclamav/llvm/llvm'
990 990
 
991 991
 # Initialize some variables set by options.
992 992
 ac_init_help=
... ...
@@ -1617,6 +1626,7 @@ Optional Features:
1617 1617
   --disable-libtool-lock  avoid locking (might break parallel builds)
1618 1618
   --enable-ltdl-install   install libltdl
1619 1619
   --disable-gcc-vcheck	  do not check for buggy gcc version
1620
+  --enable-llvm           Enable 'llvm' JIT/verifier support [default=auto]
1620 1621
   --enable-experimental	enable experimental code
1621 1622
   --disable-mempool       disable memory pools
1622 1623
   --enable-check           Enable 'check' unit tests (default=auto)
... ...
@@ -5048,13 +5058,13 @@ if test "${lt_cv_nm_interface+set}" = set; then :
5048 5048
 else
5049 5049
   lt_cv_nm_interface="BSD nm"
5050 5050
   echo "int some_variable = 0;" > conftest.$ac_ext
5051
-  (eval echo "\"\$as_me:5051: $ac_compile\"" >&5)
5051
+  (eval echo "\"\$as_me:5061: $ac_compile\"" >&5)
5052 5052
   (eval "$ac_compile" 2>conftest.err)
5053 5053
   cat conftest.err >&5
5054
-  (eval echo "\"\$as_me:5054: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5054
+  (eval echo "\"\$as_me:5064: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5055 5055
   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5056 5056
   cat conftest.err >&5
5057
-  (eval echo "\"\$as_me:5057: output\"" >&5)
5057
+  (eval echo "\"\$as_me:5067: output\"" >&5)
5058 5058
   cat conftest.out >&5
5059 5059
   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5060 5060
     lt_cv_nm_interface="MS dumpbin"
... ...
@@ -5513,7 +5523,7 @@ linux* | k*bsd*-gnu)
5513 5513
   lt_cv_deplibs_check_method=pass_all
5514 5514
   ;;
5515 5515
 
5516
-netbsd*)
5516
+netbsd* | netbsdelf*-gnu)
5517 5517
   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5518 5518
     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5519 5519
   else
... ...
@@ -6249,7 +6259,7 @@ ia64-*-hpux*)
6249 6249
   ;;
6250 6250
 *-*-irix6*)
6251 6251
   # Find out which ABI we are using.
6252
-  echo '#line 6252 "configure"' > conftest.$ac_ext
6252
+  echo '#line 6262 "configure"' > conftest.$ac_ext
6253 6253
   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6254 6254
   (eval $ac_compile) 2>&5
6255 6255
   ac_status=$?
... ...
@@ -7778,11 +7788,11 @@ else
7778 7778
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7779 7779
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7780 7780
    -e 's:$: $lt_compiler_flag:'`
7781
-   (eval echo "\"\$as_me:7781: $lt_compile\"" >&5)
7781
+   (eval echo "\"\$as_me:7791: $lt_compile\"" >&5)
7782 7782
    (eval "$lt_compile" 2>conftest.err)
7783 7783
    ac_status=$?
7784 7784
    cat conftest.err >&5
7785
-   echo "$as_me:7785: \$? = $ac_status" >&5
7785
+   echo "$as_me:7795: \$? = $ac_status" >&5
7786 7786
    if (exit $ac_status) && test -s "$ac_outfile"; then
7787 7787
      # The compiler can only warn and ignore the option if not recognized
7788 7788
      # So say no if there are warnings other than the usual output.
... ...
@@ -8117,11 +8127,11 @@ else
8117 8117
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8118 8118
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8119 8119
    -e 's:$: $lt_compiler_flag:'`
8120
-   (eval echo "\"\$as_me:8120: $lt_compile\"" >&5)
8120
+   (eval echo "\"\$as_me:8130: $lt_compile\"" >&5)
8121 8121
    (eval "$lt_compile" 2>conftest.err)
8122 8122
    ac_status=$?
8123 8123
    cat conftest.err >&5
8124
-   echo "$as_me:8124: \$? = $ac_status" >&5
8124
+   echo "$as_me:8134: \$? = $ac_status" >&5
8125 8125
    if (exit $ac_status) && test -s "$ac_outfile"; then
8126 8126
      # The compiler can only warn and ignore the option if not recognized
8127 8127
      # So say no if there are warnings other than the usual output.
... ...
@@ -8222,11 +8232,11 @@ else
8222 8222
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8223 8223
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8224 8224
    -e 's:$: $lt_compiler_flag:'`
8225
-   (eval echo "\"\$as_me:8225: $lt_compile\"" >&5)
8225
+   (eval echo "\"\$as_me:8235: $lt_compile\"" >&5)
8226 8226
    (eval "$lt_compile" 2>out/conftest.err)
8227 8227
    ac_status=$?
8228 8228
    cat out/conftest.err >&5
8229
-   echo "$as_me:8229: \$? = $ac_status" >&5
8229
+   echo "$as_me:8239: \$? = $ac_status" >&5
8230 8230
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8231 8231
    then
8232 8232
      # The compiler can only warn and ignore the option if not recognized
... ...
@@ -8277,11 +8287,11 @@ else
8277 8277
    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8278 8278
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8279 8279
    -e 's:$: $lt_compiler_flag:'`
8280
-   (eval echo "\"\$as_me:8280: $lt_compile\"" >&5)
8280
+   (eval echo "\"\$as_me:8290: $lt_compile\"" >&5)
8281 8281
    (eval "$lt_compile" 2>out/conftest.err)
8282 8282
    ac_status=$?
8283 8283
    cat out/conftest.err >&5
8284
-   echo "$as_me:8284: \$? = $ac_status" >&5
8284
+   echo "$as_me:8294: \$? = $ac_status" >&5
8285 8285
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8286 8286
    then
8287 8287
      # The compiler can only warn and ignore the option if not recognized
... ...
@@ -8396,6 +8406,9 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
8396 8396
   openbsd*)
8397 8397
     with_gnu_ld=no
8398 8398
     ;;
8399
+  linux* | k*bsd*-gnu)
8400
+    link_all_deplibs=no
8401
+    ;;
8399 8402
   esac
8400 8403
 
8401 8404
   ld_shlibs=yes
... ...
@@ -8578,7 +8591,7 @@ _LT_EOF
8578 8578
       fi
8579 8579
       ;;
8580 8580
 
8581
-    netbsd*)
8581
+    netbsd* | netbsdelf*-gnu)
8582 8582
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8583 8583
 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8584 8584
 	wlarc=
... ...
@@ -8753,6 +8766,7 @@ _LT_EOF
8753 8753
 	if test "$aix_use_runtimelinking" = yes; then
8754 8754
 	  shared_flag="$shared_flag "'${wl}-G'
8755 8755
 	fi
8756
+	link_all_deplibs=no
8756 8757
       else
8757 8758
 	# not using gcc
8758 8759
 	if test "$host_cpu" = ia64; then
... ...
@@ -9079,7 +9093,7 @@ rm -f core conftest.err conftest.$ac_objext \
9079 9079
       link_all_deplibs=yes
9080 9080
       ;;
9081 9081
 
9082
-    netbsd*)
9082
+    netbsd* | netbsdelf*-gnu)
9083 9083
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9084 9084
 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9085 9085
       else
... ...
@@ -10024,6 +10038,18 @@ rm -f core conftest.err conftest.$ac_objext \
10024 10024
   dynamic_linker='GNU/Linux ld.so'
10025 10025
   ;;
10026 10026
 
10027
+netbsdelf*-gnu)
10028
+  version_type=linux
10029
+  need_lib_prefix=no
10030
+  need_version=no
10031
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10032
+  soname_spec='${libname}${release}${shared_ext}$major'
10033
+  shlibpath_var=LD_LIBRARY_PATH
10034
+  shlibpath_overrides_runpath=no
10035
+  hardcode_into_libs=yes
10036
+  dynamic_linker='NetBSD ld.elf_so'
10037
+  ;;
10038
+
10027 10039
 netbsd*)
10028 10040
   version_type=sunos
10029 10041
   need_lib_prefix=no
... ...
@@ -10644,7 +10670,7 @@ else
10644 10644
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10645 10645
   lt_status=$lt_dlunknown
10646 10646
   cat > conftest.$ac_ext <<_LT_EOF
10647
-#line 10647 "configure"
10647
+#line 10673 "configure"
10648 10648
 #include "confdefs.h"
10649 10649
 
10650 10650
 #if HAVE_DLFCN_H
... ...
@@ -10740,7 +10766,7 @@ else
10740 10740
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10741 10741
   lt_status=$lt_dlunknown
10742 10742
   cat > conftest.$ac_ext <<_LT_EOF
10743
-#line 10743 "configure"
10743
+#line 10769 "configure"
10744 10744
 #include "confdefs.h"
10745 10745
 
10746 10746
 #if HAVE_DLFCN_H
... ...
@@ -11412,7 +11438,7 @@ else
11412 11412
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11413 11413
   lt_status=$lt_dlunknown
11414 11414
   cat > conftest.$ac_ext <<_LT_EOF
11415
-#line 11415 "configure"
11415
+#line 11441 "configure"
11416 11416
 #include "confdefs.h"
11417 11417
 
11418 11418
 #if HAVE_DLFCN_H
... ...
@@ -11558,7 +11584,7 @@ else
11558 11558
     # at 6.2 and later dlopen does load deplibs.
11559 11559
     lt_cv_sys_dlopen_deplibs=yes
11560 11560
     ;;
11561
-  netbsd*)
11561
+  netbsd* | netbsdelf*-gnu)
11562 11562
     lt_cv_sys_dlopen_deplibs=yes
11563 11563
     ;;
11564 11564
   openbsd*)
... ...
@@ -12983,6 +13009,222 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12983 12983
 fi
12984 12984
 
12985 12985
 
12986
+
12987
+
12988
+
12989
+# Check whether --enable-llvm was given.
12990
+if test "${enable_llvm+set}" = set; then :
12991
+  enableval=$enable_llvm; enable_llvm=$enableval
12992
+else
12993
+  enable_llvm="auto"
12994
+fi
12995
+
12996
+if test "$enable_llvm" = "auto"; then
12997
+         { $as_echo "$as_me:${as_lineno-$LINENO}: Checking whether we can build LLVM" >&5
12998
+$as_echo "$as_me: Checking whether we can build LLVM" >&6;}
12999
+	 if test -z "$CXX"; then
13000
+	   if test -n "$ac_tool_prefix"; then
13001
+  for ac_prog in g++ c++ cxx
13002
+  do
13003
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13004
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13005
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13006
+$as_echo_n "checking for $ac_word... " >&6; }
13007
+if test "${ac_cv_prog_GXX+set}" = set; then :
13008
+  $as_echo_n "(cached) " >&6
13009
+else
13010
+  if test -n "$GXX"; then
13011
+  ac_cv_prog_GXX="$GXX" # Let the user override the test.
13012
+else
13013
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13014
+for as_dir in $PATH
13015
+do
13016
+  IFS=$as_save_IFS
13017
+  test -z "$as_dir" && as_dir=.
13018
+    for ac_exec_ext in '' $ac_executable_extensions; do
13019
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13020
+    ac_cv_prog_GXX="$ac_tool_prefix$ac_prog"
13021
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13022
+    break 2
13023
+  fi
13024
+done
13025
+  done
13026
+IFS=$as_save_IFS
13027
+
13028
+fi
13029
+fi
13030
+GXX=$ac_cv_prog_GXX
13031
+if test -n "$GXX"; then
13032
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GXX" >&5
13033
+$as_echo "$GXX" >&6; }
13034
+else
13035
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13036
+$as_echo "no" >&6; }
13037
+fi
13038
+
13039
+
13040
+    test -n "$GXX" && break
13041
+  done
13042
+fi
13043
+if test -z "$GXX"; then
13044
+  ac_ct_GXX=$GXX
13045
+  for ac_prog in g++ c++ cxx
13046
+do
13047
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
13048
+set dummy $ac_prog; ac_word=$2
13049
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13050
+$as_echo_n "checking for $ac_word... " >&6; }
13051
+if test "${ac_cv_prog_ac_ct_GXX+set}" = set; then :
13052
+  $as_echo_n "(cached) " >&6
13053
+else
13054
+  if test -n "$ac_ct_GXX"; then
13055
+  ac_cv_prog_ac_ct_GXX="$ac_ct_GXX" # Let the user override the test.
13056
+else
13057
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13058
+for as_dir in $PATH
13059
+do
13060
+  IFS=$as_save_IFS
13061
+  test -z "$as_dir" && as_dir=.
13062
+    for ac_exec_ext in '' $ac_executable_extensions; do
13063
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13064
+    ac_cv_prog_ac_ct_GXX="$ac_prog"
13065
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13066
+    break 2
13067
+  fi
13068
+done
13069
+  done
13070
+IFS=$as_save_IFS
13071
+
13072
+fi
13073
+fi
13074
+ac_ct_GXX=$ac_cv_prog_ac_ct_GXX
13075
+if test -n "$ac_ct_GXX"; then
13076
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GXX" >&5
13077
+$as_echo "$ac_ct_GXX" >&6; }
13078
+else
13079
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13080
+$as_echo "no" >&6; }
13081
+fi
13082
+
13083
+
13084
+  test -n "$ac_ct_GXX" && break
13085
+done
13086
+
13087
+  if test "x$ac_ct_GXX" = x; then
13088
+    GXX=""
13089
+  else
13090
+    case $cross_compiling:$ac_tool_warned in
13091
+yes:)
13092
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13093
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13094
+ac_tool_warned=yes ;;
13095
+esac
13096
+    GXX=$ac_ct_GXX
13097
+  fi
13098
+fi
13099
+
13100
+	 else
13101
+	   GXX="$CXX";
13102
+	 fi
13103
+	 gxx_version=`${GXX} -dumpversion`
13104
+	 if test "$?" -ne 0; then
13105
+	    enable_llvm="no";
13106
+	    { $as_echo "$as_me:${as_lineno-$LINENO}: GNU C++ compiler not found, not building LLVM" >&5
13107
+$as_echo "$as_me: GNU C++ compiler not found, not building LLVM" >&6;}
13108
+	 else
13109
+	    case "${gxx_version}" in
13110
+	        012.*|3.0123.*)
13111
+	             enable_llvm="no"
13112
+		     { $as_echo "$as_me:${as_lineno-$LINENO}: C++ compiler too old, not building LLVM" >&5
13113
+$as_echo "$as_me: C++ compiler too old, not building LLVM" >&6;}
13114
+                     ;;
13115
+                3.4.012*|4.0.1*|4.1.12*)
13116
+		    enable_llvm="no"
13117
+		    { $as_echo "$as_me:${as_lineno-$LINENO}: C++ compiler is buggy, not building LLVM" >&5
13118
+$as_echo "$as_me: C++ compiler is buggy, not building LLVM" >&6;}
13119
+                    ;;
13120
+		*)
13121
+		    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU make" >&5
13122
+$as_echo_n "checking for GNU make... " >&6; }
13123
+if test "${llvm_cv_gnu_make_command+set}" = set; then :
13124
+  $as_echo_n "(cached) " >&6
13125
+else
13126
+  llvm_cv_gnu_make_command=''
13127
+ for a in "$MAKE" make gmake gnumake ; do
13128
+  if test -z "$a" ; then continue ; fi ;
13129
+  if  ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null )
13130
+  then
13131
+   llvm_cv_gnu_make_command=$a ;
13132
+   break;
13133
+  fi
13134
+ done
13135
+fi
13136
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $llvm_cv_gnu_make_command" >&5
13137
+$as_echo "$llvm_cv_gnu_make_command" >&6; }
13138
+ if test "x$llvm_cv_gnu_make_command" != "x"  ; then
13139
+   ifGNUmake='' ;
13140
+ else
13141
+   ifGNUmake='#' ;
13142
+   { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"Not found\"" >&5
13143
+$as_echo "\"Not found\"" >&6; };
13144
+ fi
13145
+
13146
+
13147
+		    if test -z "$llvm_cv_gnu_make_command"; then
13148
+		        enable_llvm="no"
13149
+		        { $as_echo "$as_me:${as_lineno-$LINENO}: GNU make not found, not building LLVM" >&5
13150
+$as_echo "$as_me: GNU make not found, not building LLVM" >&6;}
13151
+                    else
13152
+		        case "$target_cpu" in
13153
+			    i?86|amd64|x86_64|powerpc*)
13154
+			       case "$target_os" in
13155
+			          darwin*|freebsd*|openbsd*|netbsd*|dragonfly*|linux*|solaris*|win32*|mingw*)
13156
+				       enable_llvm="yes"
13157
+				       { $as_echo "$as_me:${as_lineno-$LINENO}: Building LLVM" >&5
13158
+$as_echo "$as_me: Building LLVM" >&6;}
13159
+                                       ;;
13160
+				  *)
13161
+				       enable_llvm="no"
13162
+                                       { $as_echo "$as_me:${as_lineno-$LINENO}: OS is not supported, not building LLVM" >&5
13163
+$as_echo "$as_me: OS is not supported, not building LLVM" >&6;}
13164
+                                       ;;
13165
+			       esac
13166
+			       ;;
13167
+			    alpha*|arm*)
13168
+			       enable_llvm="no"
13169
+			       { $as_echo "$as_me:${as_lineno-$LINENO}: CPU support is untested, not building LLVM" >&5
13170
+$as_echo "$as_me: CPU support is untested, not building LLVM" >&6;}
13171
+			       ;;
13172
+			    *)
13173
+			       enable_llvm="no"
13174
+			       { $as_echo "$as_me:${as_lineno-$LINENO}: Unsupported CPU for JIT: $target_cpu, not building LLVM" >&5
13175
+$as_echo "$as_me: Unsupported CPU for JIT: $target_cpu, not building LLVM" >&6;}
13176
+			esac
13177
+		    fi
13178
+	    esac
13179
+	 fi
13180
+	 if test "$enable_llvm" != "yes"; then
13181
+	    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: LLVM is not supported on your platform, JIT not built" >&5
13182
+$as_echo "$as_me: WARNING: LLVM is not supported on your platform, JIT not built" >&2;}
13183
+	 fi
13184
+fi
13185
+ if test "$enable_llvm" = "yes"; then
13186
+  ENABLE_LLVM_TRUE=
13187
+  ENABLE_LLVM_FALSE='#'
13188
+else
13189
+  ENABLE_LLVM_TRUE='#'
13190
+  ENABLE_LLVM_FALSE=
13191
+fi
13192
+
13193
+if test "$enable_llvm" = "yes"; then
13194
+    subdirs="$subdirs ./libclamav/llvm/llvm"
13195
+
13196
+    GMAKE="$llvm_cv_gnu_make_command"
13197
+
13198
+    ac_configure_args="$ac_configure_args --enable-targets=host-only --enable-bindings=none --enable-libffi=no --without-llvmgcc --without-llvmgxx --enable-optimized"
13199
+fi
13200
+
13201
+
12986 13202
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld --version-script" >&5
12987 13203
 $as_echo_n "checking for ld --version-script... " >&6; }
12988 13204
 if test "${ac_cv_ld_version_script+set}" = set; then :
... ...
@@ -19657,7 +19899,7 @@ else
19657 19657
 fi
19658 19658
 
19659 19659
 
19660
-ac_config_files="$ac_config_files libclamav/Makefile clamscan/Makefile database/Makefile docs/Makefile clamd/Makefile clamdscan/Makefile clamav-milter/Makefile freshclam/Makefile sigtool/Makefile clamconf/Makefile etc/Makefile test/Makefile unit_tests/Makefile clamdtop/Makefile clambc/Makefile Makefile clamav-config libclamav.pc docs/man/clamav-milter.8 docs/man/clamconf.1 docs/man/clamd.8 docs/man/clamd.conf.5 docs/man/clamdscan.1 docs/man/clamscan.1 docs/man/freshclam.1 docs/man/freshclam.conf.5 docs/man/sigtool.1 docs/man/clamdtop.1"
19660
+ac_config_files="$ac_config_files libclamav/Makefile libclamav/llvm/Makefile libclamav/llvm/GNUmakefile clamscan/Makefile database/Makefile docs/Makefile clamd/Makefile clamdscan/Makefile clamav-milter/Makefile freshclam/Makefile sigtool/Makefile clamconf/Makefile etc/Makefile test/Makefile unit_tests/Makefile clamdtop/Makefile clambc/Makefile Makefile clamav-config libclamav.pc docs/man/clamav-milter.8 docs/man/clamconf.1 docs/man/clamd.8 docs/man/clamd.conf.5 docs/man/clamdscan.1 docs/man/clamscan.1 docs/man/freshclam.1 docs/man/freshclam.conf.5 docs/man/sigtool.1 docs/man/clamdtop.1"
19661 19661
 
19662 19662
 cat >confcache <<\_ACEOF
19663 19663
 # This file is a shell script that caches the results of configure
... ...
@@ -19802,6 +20044,10 @@ if test -z "${DISTCHECK_ENABLE_FLAGS_TRUE}" && test -z "${DISTCHECK_ENABLE_FLAGS
19802 19802
   as_fn_error "conditional \"DISTCHECK_ENABLE_FLAGS\" was never defined.
19803 19803
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19804 19804
 fi
19805
+if test -z "${ENABLE_LLVM_TRUE}" && test -z "${ENABLE_LLVM_FALSE}"; then
19806
+  as_fn_error "conditional \"ENABLE_LLVM\" was never defined.
19807
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
19808
+fi
19805 19809
 if test -z "${VERSIONSCRIPT_TRUE}" && test -z "${VERSIONSCRIPT_FALSE}"; then
19806 19810
   as_fn_error "conditional \"VERSIONSCRIPT\" was never defined.
19807 19811
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
... ...
@@ -20692,6 +20938,8 @@ do
20692 20692
     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20693 20693
     "libltdl/Makefile") CONFIG_FILES="$CONFIG_FILES libltdl/Makefile" ;;
20694 20694
     "libclamav/Makefile") CONFIG_FILES="$CONFIG_FILES libclamav/Makefile" ;;
20695
+    "libclamav/llvm/Makefile") CONFIG_FILES="$CONFIG_FILES libclamav/llvm/Makefile" ;;
20696
+    "libclamav/llvm/GNUmakefile") CONFIG_FILES="$CONFIG_FILES libclamav/llvm/GNUmakefile" ;;
20695 20697
     "clamscan/Makefile") CONFIG_FILES="$CONFIG_FILES clamscan/Makefile" ;;
20696 20698
     "database/Makefile") CONFIG_FILES="$CONFIG_FILES database/Makefile" ;;
20697 20699
     "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
... ...
@@ -22066,6 +22314,151 @@ if test "$no_create" != yes; then
22066 22066
   # would make configure fail if this is the last instruction.
22067 22067
   $ac_cs_success || as_fn_exit $?
22068 22068
 fi
22069
+
22070
+#
22071
+# CONFIG_SUBDIRS section.
22072
+#
22073
+if test "$no_recursion" != yes; then
22074
+
22075
+  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
22076
+  # so they do not pile up.
22077
+  ac_sub_configure_args=
22078
+  ac_prev=
22079
+  eval "set x $ac_configure_args"
22080
+  shift
22081
+  for ac_arg
22082
+  do
22083
+    if test -n "$ac_prev"; then
22084
+      ac_prev=
22085
+      continue
22086
+    fi
22087
+    case $ac_arg in
22088
+    -cache-file | --cache-file | --cache-fil | --cache-fi \
22089
+    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22090
+      ac_prev=cache_file ;;
22091
+    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22092
+    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
22093
+    | --c=*)
22094
+      ;;
22095
+    --config-cache | -C)
22096
+      ;;
22097
+    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22098
+      ac_prev=srcdir ;;
22099
+    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22100
+      ;;
22101
+    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
22102
+      ac_prev=prefix ;;
22103
+    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
22104
+      ;;
22105
+    --disable-option-checking)
22106
+      ;;
22107
+    *)
22108
+      case $ac_arg in
22109
+      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22110
+      esac
22111
+      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
22112
+    esac
22113
+  done
22114
+
22115
+  # Always prepend --prefix to ensure using the same prefix
22116
+  # in subdir configurations.
22117
+  ac_arg="--prefix=$prefix"
22118
+  case $ac_arg in
22119
+  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22120
+  esac
22121
+  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
22122
+
22123
+  # Pass --silent
22124
+  if test "$silent" = yes; then
22125
+    ac_sub_configure_args="--silent $ac_sub_configure_args"
22126
+  fi
22127
+
22128
+  # Always prepend --disable-option-checking to silence warnings, since
22129
+  # different subdirs can have different --enable and --with options.
22130
+  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
22131
+
22132
+  ac_popdir=`pwd`
22133
+  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
22134
+
22135
+    # Do not complain, so a configure script can configure whichever
22136
+    # parts of a large source tree are present.
22137
+    test -d "$srcdir/$ac_dir" || continue
22138
+
22139
+    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
22140
+    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
22141
+    $as_echo "$ac_msg" >&6
22142
+    as_dir="$ac_dir"; as_fn_mkdir_p
22143
+    ac_builddir=.
22144
+
22145
+case "$ac_dir" in
22146
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22147
+*)
22148
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22149
+  # A ".." for each directory in $ac_dir_suffix.
22150
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22151
+  case $ac_top_builddir_sub in
22152
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22153
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22154
+  esac ;;
22155
+esac
22156
+ac_abs_top_builddir=$ac_pwd
22157
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
22158
+# for backward compatibility:
22159
+ac_top_builddir=$ac_top_build_prefix
22160
+
22161
+case $srcdir in
22162
+  .)  # We are building in place.
22163
+    ac_srcdir=.
22164
+    ac_top_srcdir=$ac_top_builddir_sub
22165
+    ac_abs_top_srcdir=$ac_pwd ;;
22166
+  [\\/]* | ?:[\\/]* )  # Absolute name.
22167
+    ac_srcdir=$srcdir$ac_dir_suffix;
22168
+    ac_top_srcdir=$srcdir
22169
+    ac_abs_top_srcdir=$srcdir ;;
22170
+  *) # Relative name.
22171
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22172
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
22173
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22174
+esac
22175
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22176
+
22177
+
22178
+    cd "$ac_dir"
22179
+
22180
+    # Check for guested configure; otherwise get Cygnus style configure.
22181
+    if test -f "$ac_srcdir/configure.gnu"; then
22182
+      ac_sub_configure=$ac_srcdir/configure.gnu
22183
+    elif test -f "$ac_srcdir/configure"; then
22184
+      ac_sub_configure=$ac_srcdir/configure
22185
+    elif test -f "$ac_srcdir/configure.in"; then
22186
+      # This should be Cygnus configure.
22187
+      ac_sub_configure=$ac_aux_dir/configure
22188
+    else
22189
+      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
22190
+$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
22191
+      ac_sub_configure=
22192
+    fi
22193
+
22194
+    # The recursion is here.
22195
+    if test -n "$ac_sub_configure"; then
22196
+      # Make the cache file name correct relative to the subdirectory.
22197
+      case $cache_file in
22198
+      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
22199
+      *) # Relative name.
22200
+	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
22201
+      esac
22202
+
22203
+      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
22204
+$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
22205
+      # The eval makes quoting arguments work.
22206
+      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
22207
+	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
22208
+	as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
22209
+    fi
22210
+
22211
+    cd "$ac_popdir"
22212
+  done
22213
+fi
22069 22214
 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22070 22215
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22071 22216
 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
... ...
@@ -57,9 +57,10 @@ subdir = database
57 57
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
58 58
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
59 59
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
60
-	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/fdpassing.m4 \
61
-	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
62
-	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
60
+	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/check_gnu_make.m4 \
61
+	$(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
62
+	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
63
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
63 64
 	$(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
64 65
 	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
65 66
 	$(top_srcdir)/m4/lt~obsolete.m4 \
... ...
@@ -119,8 +120,10 @@ FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
119 119
 GCOV = @GCOV@
120 120
 GENHTML = @GENHTML@
121 121
 GETENT = @GETENT@
122
+GMAKE = @GMAKE@
122 123
 GPERF = @GPERF@
123 124
 GREP = @GREP@
125
+GXX = @GXX@
124 126
 INCLTDL = @INCLTDL@
125 127
 INSTALL = @INSTALL@
126 128
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -184,6 +187,7 @@ abs_top_builddir = @abs_top_builddir@
184 184
 abs_top_srcdir = @abs_top_srcdir@
185 185
 ac_ct_CC = @ac_ct_CC@
186 186
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
187
+ac_ct_GXX = @ac_ct_GXX@
187 188
 am__include = @am__include@
188 189
 am__leading_dot = @am__leading_dot@
189 190
 am__quote = @am__quote@
... ...
@@ -207,6 +211,7 @@ host_cpu = @host_cpu@
207 207
 host_os = @host_os@
208 208
 host_vendor = @host_vendor@
209 209
 htmldir = @htmldir@
210
+ifGNUmake = @ifGNUmake@
210 211
 includedir = @includedir@
211 212
 infodir = @infodir@
212 213
 install_sh = @install_sh@
... ...
@@ -227,6 +232,7 @@ psdir = @psdir@
227 227
 sbindir = @sbindir@
228 228
 sharedstatedir = @sharedstatedir@
229 229
 srcdir = @srcdir@
230
+subdirs = @subdirs@
230 231
 sys_symbol_underscore = @sys_symbol_underscore@
231 232
 sysconfdir = @sysconfdir@
232 233
 target = @target@
... ...
@@ -56,9 +56,10 @@ subdir = docs
56 56
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
57 57
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
58 58
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
59
-	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/fdpassing.m4 \
60
-	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
61
-	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
59
+	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/check_gnu_make.m4 \
60
+	$(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
61
+	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
62
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
62 63
 	$(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
63 64
 	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
64 65
 	$(top_srcdir)/m4/lt~obsolete.m4 \
... ...
@@ -146,8 +147,10 @@ FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
146 146
 GCOV = @GCOV@
147 147
 GENHTML = @GENHTML@
148 148
 GETENT = @GETENT@
149
+GMAKE = @GMAKE@
149 150
 GPERF = @GPERF@
150 151
 GREP = @GREP@
152
+GXX = @GXX@
151 153
 INCLTDL = @INCLTDL@
152 154
 INSTALL = @INSTALL@
153 155
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -211,6 +214,7 @@ abs_top_builddir = @abs_top_builddir@
211 211
 abs_top_srcdir = @abs_top_srcdir@
212 212
 ac_ct_CC = @ac_ct_CC@
213 213
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
214
+ac_ct_GXX = @ac_ct_GXX@
214 215
 am__include = @am__include@
215 216
 am__leading_dot = @am__leading_dot@
216 217
 am__quote = @am__quote@
... ...
@@ -234,6 +238,7 @@ host_cpu = @host_cpu@
234 234
 host_os = @host_os@
235 235
 host_vendor = @host_vendor@
236 236
 htmldir = @htmldir@
237
+ifGNUmake = @ifGNUmake@
237 238
 includedir = @includedir@
238 239
 infodir = @infodir@
239 240
 install_sh = @install_sh@
... ...
@@ -254,6 +259,7 @@ psdir = @psdir@
254 254
 sbindir = @sbindir@
255 255
 sharedstatedir = @sharedstatedir@
256 256
 srcdir = @srcdir@
257
+subdirs = @subdirs@
257 258
 sys_symbol_underscore = @sys_symbol_underscore@
258 259
 sysconfdir = @sysconfdir@
259 260
 target = @target@
... ...
@@ -56,9 +56,10 @@ subdir = etc
56 56
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
57 57
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
58 58
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
59
-	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/fdpassing.m4 \
60
-	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
61
-	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
59
+	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/check_gnu_make.m4 \
60
+	$(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
61
+	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
62
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
62 63
 	$(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
63 64
 	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
64 65
 	$(top_srcdir)/m4/lt~obsolete.m4 \
... ...
@@ -118,8 +119,10 @@ FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
118 118
 GCOV = @GCOV@
119 119
 GENHTML = @GENHTML@
120 120
 GETENT = @GETENT@
121
+GMAKE = @GMAKE@
121 122
 GPERF = @GPERF@
122 123
 GREP = @GREP@
124
+GXX = @GXX@
123 125
 INCLTDL = @INCLTDL@
124 126
 INSTALL = @INSTALL@
125 127
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -183,6 +186,7 @@ abs_top_builddir = @abs_top_builddir@
183 183
 abs_top_srcdir = @abs_top_srcdir@
184 184
 ac_ct_CC = @ac_ct_CC@
185 185
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
186
+ac_ct_GXX = @ac_ct_GXX@
186 187
 am__include = @am__include@
187 188
 am__leading_dot = @am__leading_dot@
188 189
 am__quote = @am__quote@
... ...
@@ -206,6 +210,7 @@ host_cpu = @host_cpu@
206 206
 host_os = @host_os@
207 207
 host_vendor = @host_vendor@
208 208
 htmldir = @htmldir@
209
+ifGNUmake = @ifGNUmake@
209 210
 includedir = @includedir@
210 211
 infodir = @infodir@
211 212
 install_sh = @install_sh@
... ...
@@ -226,6 +231,7 @@ psdir = @psdir@
226 226
 sbindir = @sbindir@
227 227
 sharedstatedir = @sharedstatedir@
228 228
 srcdir = @srcdir@
229
+subdirs = @subdirs@
229 230
 sys_symbol_underscore = @sys_symbol_underscore@
230 231
 sysconfdir = @sysconfdir@
231 232
 target = @target@
... ...
@@ -59,9 +59,10 @@ subdir = freshclam
59 59
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
60 60
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
61 61
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
62
-	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/fdpassing.m4 \
63
-	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
64
-	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
62
+	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/check_gnu_make.m4 \
63
+	$(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
64
+	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
65
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
65 66
 	$(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
66 67
 	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
67 68
 	$(top_srcdir)/m4/lt~obsolete.m4 \
... ...
@@ -155,8 +156,10 @@ FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
155 155
 GCOV = @GCOV@
156 156
 GENHTML = @GENHTML@
157 157
 GETENT = @GETENT@
158
+GMAKE = @GMAKE@
158 159
 GPERF = @GPERF@
159 160
 GREP = @GREP@
161
+GXX = @GXX@
160 162
 INCLTDL = @INCLTDL@
161 163
 INSTALL = @INSTALL@
162 164
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -220,6 +223,7 @@ abs_top_builddir = @abs_top_builddir@
220 220
 abs_top_srcdir = @abs_top_srcdir@
221 221
 ac_ct_CC = @ac_ct_CC@
222 222
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
223
+ac_ct_GXX = @ac_ct_GXX@
223 224
 am__include = @am__include@
224 225
 am__leading_dot = @am__leading_dot@
225 226
 am__quote = @am__quote@
... ...
@@ -243,6 +247,7 @@ host_cpu = @host_cpu@
243 243
 host_os = @host_os@
244 244
 host_vendor = @host_vendor@
245 245
 htmldir = @htmldir@
246
+ifGNUmake = @ifGNUmake@
246 247
 includedir = @includedir@
247 248
 infodir = @infodir@
248 249
 install_sh = @install_sh@
... ...
@@ -263,6 +268,7 @@ psdir = @psdir@
263 263
 sbindir = @sbindir@
264 264
 sharedstatedir = @sharedstatedir@
265 265
 srcdir = @srcdir@
266
+subdirs = @subdirs@
266 267
 sys_symbol_underscore = @sys_symbol_underscore@
267 268
 sysconfdir = @sysconfdir@
268 269
 target = @target@
... ...
@@ -17,10 +17,12 @@
17 17
 #  MA 02110-1301, USA.
18 18
 
19 19
 AM_CPPFLAGS = -I$(top_srcdir) -I@srcdir@/nsis $(LTDLINCL)
20
-
21 20
 lib_LTLIBRARIES =
22 21
 EXTRA_DIST =
23 22
 
23
+if ENABLE_LLVM
24
+SUBDIRS = llvm
25
+endif
24 26
 
25 27
 if ENABLE_UNRAR
26 28
 
... ...
@@ -71,9 +71,10 @@ DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \
71 71
 	$(srcdir)/Makefile.in
72 72
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
73 73
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
74
-	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/fdpassing.m4 \
75
-	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
76
-	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
74
+	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/check_gnu_make.m4 \
75
+	$(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
76
+	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
77
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
77 78
 	$(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
78 79
 	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
79 80
 	$(top_srcdir)/m4/lt~obsolete.m4 \
... ...
@@ -304,10 +305,48 @@ DIST_SOURCES = $(am__libclamav_la_SOURCES_DIST) \
304 304
 	$(libclamav_internal_utils_nothreads_la_SOURCES) \
305 305
 	$(am__libclamunrar_la_SOURCES_DIST) \
306 306
 	$(am__libclamunrar_iface_la_SOURCES_DIST)
307
+RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
308
+	html-recursive info-recursive install-data-recursive \
309
+	install-dvi-recursive install-exec-recursive \
310
+	install-html-recursive install-info-recursive \
311
+	install-pdf-recursive install-ps-recursive install-recursive \
312
+	installcheck-recursive installdirs-recursive pdf-recursive \
313
+	ps-recursive uninstall-recursive
307 314
 HEADERS = $(include_HEADERS)
315
+RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
316
+  distclean-recursive maintainer-clean-recursive
317
+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
318
+	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
319
+	distdir
308 320
 ETAGS = etags
309 321
 CTAGS = ctags
322
+DIST_SUBDIRS = llvm
310 323
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
324
+am__relativize = \
325
+  dir0=`pwd`; \
326
+  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
327
+  sed_rest='s,^[^/]*/*,,'; \
328
+  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
329
+  sed_butlast='s,/*[^/]*$$,,'; \
330
+  while test -n "$$dir1"; do \
331
+    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
332
+    if test "$$first" != "."; then \
333
+      if test "$$first" = ".."; then \
334
+        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
335
+        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
336
+      else \
337
+        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
338
+        if test "$$first2" = "$$first"; then \
339
+          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
340
+        else \
341
+          dir2="../$$dir2"; \
342
+        fi; \
343
+        dir0="$$dir0"/"$$first"; \
344
+      fi; \
345
+    fi; \
346
+    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
347
+  done; \
348
+  reldir="$$dir2"
311 349
 ACLOCAL = @ACLOCAL@
312 350
 AMTAR = @AMTAR@
313 351
 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
... ...
@@ -347,8 +386,10 @@ FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
347 347
 GCOV = @GCOV@
348 348
 GENHTML = @GENHTML@
349 349
 GETENT = @GETENT@
350
+GMAKE = @GMAKE@
350 351
 GPERF = @GPERF@
351 352
 GREP = @GREP@
353
+GXX = @GXX@
352 354
 INCLTDL = @INCLTDL@
353 355
 INSTALL = @INSTALL@
354 356
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -412,6 +453,7 @@ abs_top_builddir = @abs_top_builddir@
412 412
 abs_top_srcdir = @abs_top_srcdir@
413 413
 ac_ct_CC = @ac_ct_CC@
414 414
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
415
+ac_ct_GXX = @ac_ct_GXX@
415 416
 am__include = @am__include@
416 417
 am__leading_dot = @am__leading_dot@
417 418
 am__quote = @am__quote@
... ...
@@ -435,6 +477,7 @@ host_cpu = @host_cpu@
435 435
 host_os = @host_os@
436 436
 host_vendor = @host_vendor@
437 437
 htmldir = @htmldir@
438
+ifGNUmake = @ifGNUmake@
438 439
 includedir = @includedir@
439 440
 infodir = @infodir@
440 441
 install_sh = @install_sh@
... ...
@@ -455,6 +498,7 @@ psdir = @psdir@
455 455
 sbindir = @sbindir@
456 456
 sharedstatedir = @sharedstatedir@
457 457
 srcdir = @srcdir@
458
+subdirs = @subdirs@
458 459
 sys_symbol_underscore = @sys_symbol_underscore@
459 460
 sysconfdir = @sysconfdir@
460 461
 target = @target@
... ...
@@ -472,6 +516,7 @@ EXTRA_DIST = $(am__append_4) regex/engine.c libclamav.map \
472 472
 	jsparse/generated/operators.h jsparse/generated/keywords.h \
473 473
 	jsparse/future_reserved_words.list jsparse/keywords.list \
474 474
 	jsparse/special_keywords.list jsparse/operators.gperf
475
+@ENABLE_LLVM_TRUE@SUBDIRS = llvm
475 476
 @ENABLE_UNRAR_TRUE@libclamunrar_la_LDFLAGS = @TH_SAFE@ -version-info \
476 477
 @ENABLE_UNRAR_TRUE@	@LIBCLAMAV_VERSION@ -no-undefined \
477 478
 @ENABLE_UNRAR_TRUE@	$(am__append_2)
... ...
@@ -595,7 +640,7 @@ COMMON_CLEANFILES = version.h version.h.tmp *.gcda *.gcno
595 595
 @MAINTAINER_MODE_FALSE@CLEANFILES = $(COMMON_CLEANFILES)
596 596
 @MAINTAINER_MODE_TRUE@CLEANFILES = $(COMMON_CLEANFILES) @srcdir@/jsparse/generated/operators.h @srcdir@/jsparse/generated/keywords.h
597 597
 all: $(BUILT_SOURCES)
598
-	$(MAKE) $(AM_MAKEFLAGS) all-am
598
+	$(MAKE) $(AM_MAKEFLAGS) all-recursive
599 599
 
600 600
 .SUFFIXES:
601 601
 .SUFFIXES: .c .lo .o .obj
... ...
@@ -1808,6 +1853,76 @@ uninstall-includeHEADERS:
1808 1808
 	echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
1809 1809
 	cd "$(DESTDIR)$(includedir)" && rm -f $$files
1810 1810
 
1811
+# This directory's subdirectories are mostly independent; you can cd
1812
+# into them and run `make' without going through this Makefile.
1813
+# To change the values of `make' variables: instead of editing Makefiles,
1814
+# (1) if the variable is set in `config.status', edit `config.status'
1815
+#     (which will cause the Makefiles to be regenerated when you run `make');
1816
+# (2) otherwise, pass the desired values on the `make' command line.
1817
+$(RECURSIVE_TARGETS):
1818
+	@failcom='exit 1'; \
1819
+	for f in x $$MAKEFLAGS; do \
1820
+	  case $$f in \
1821
+	    *=* | --[!k]*);; \
1822
+	    *k*) failcom='fail=yes';; \
1823
+	  esac; \
1824
+	done; \
1825
+	dot_seen=no; \
1826
+	target=`echo $@ | sed s/-recursive//`; \
1827
+	list='$(SUBDIRS)'; for subdir in $$list; do \
1828
+	  echo "Making $$target in $$subdir"; \
1829
+	  if test "$$subdir" = "."; then \
1830
+	    dot_seen=yes; \
1831
+	    local_target="$$target-am"; \
1832
+	  else \
1833
+	    local_target="$$target"; \
1834
+	  fi; \
1835
+	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1836
+	  || eval $$failcom; \
1837
+	done; \
1838
+	if test "$$dot_seen" = "no"; then \
1839
+	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
1840
+	fi; test -z "$$fail"
1841
+
1842
+$(RECURSIVE_CLEAN_TARGETS):
1843
+	@failcom='exit 1'; \
1844
+	for f in x $$MAKEFLAGS; do \
1845
+	  case $$f in \
1846
+	    *=* | --[!k]*);; \
1847
+	    *k*) failcom='fail=yes';; \
1848
+	  esac; \
1849
+	done; \
1850
+	dot_seen=no; \
1851
+	case "$@" in \
1852
+	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
1853
+	  *) list='$(SUBDIRS)' ;; \
1854
+	esac; \
1855
+	rev=''; for subdir in $$list; do \
1856
+	  if test "$$subdir" = "."; then :; else \
1857
+	    rev="$$subdir $$rev"; \
1858
+	  fi; \
1859
+	done; \
1860
+	rev="$$rev ."; \
1861
+	target=`echo $@ | sed s/-recursive//`; \
1862
+	for subdir in $$rev; do \
1863
+	  echo "Making $$target in $$subdir"; \
1864
+	  if test "$$subdir" = "."; then \
1865
+	    local_target="$$target-am"; \
1866
+	  else \
1867
+	    local_target="$$target"; \
1868
+	  fi; \
1869
+	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1870
+	  || eval $$failcom; \
1871
+	done && test -z "$$fail"
1872
+tags-recursive:
1873
+	list='$(SUBDIRS)'; for subdir in $$list; do \
1874
+	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
1875
+	done
1876
+ctags-recursive:
1877
+	list='$(SUBDIRS)'; for subdir in $$list; do \
1878
+	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
1879
+	done
1880
+
1811 1881
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
1812 1882
 	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
1813 1883
 	unique=`for i in $$list; do \
... ...
@@ -1818,10 +1933,23 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
1818 1818
 	mkid -fID $$unique
1819 1819
 tags: TAGS
1820 1820
 
1821
-TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
1821
+TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
1822 1822
 		$(TAGS_FILES) $(LISP)
1823 1823
 	set x; \
1824 1824
 	here=`pwd`; \
1825
+	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
1826
+	  include_option=--etags-include; \
1827
+	  empty_fix=.; \
1828
+	else \
1829
+	  include_option=--include; \
1830
+	  empty_fix=; \
1831
+	fi; \
1832
+	list='$(SUBDIRS)'; for subdir in $$list; do \
1833
+	  if test "$$subdir" = .; then :; else \
1834
+	    test ! -f $$subdir/TAGS || \
1835
+	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
1836
+	  fi; \
1837
+	done; \
1825 1838
 	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
1826 1839
 	unique=`for i in $$list; do \
1827 1840
 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
... ...
@@ -1840,7 +1968,7 @@ TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
1840 1840
 	  fi; \
1841 1841
 	fi
1842 1842
 ctags: CTAGS
1843
-CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
1843
+CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
1844 1844
 		$(TAGS_FILES) $(LISP)
1845 1845
 	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
1846 1846
 	unique=`for i in $$list; do \
... ...
@@ -1890,24 +2018,53 @@ distdir: $(DISTFILES)
1890 1890
 	    || exit 1; \
1891 1891
 	  fi; \
1892 1892
 	done
1893
+	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1894
+	  if test "$$subdir" = .; then :; else \
1895
+	    test -d "$(distdir)/$$subdir" \
1896
+	    || $(MKDIR_P) "$(distdir)/$$subdir" \
1897
+	    || exit 1; \
1898
+	  fi; \
1899
+	done
1900
+	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1901
+	  if test "$$subdir" = .; then :; else \
1902
+	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
1903
+	    $(am__relativize); \
1904
+	    new_distdir=$$reldir; \
1905
+	    dir1=$$subdir; dir2="$(top_distdir)"; \
1906
+	    $(am__relativize); \
1907
+	    new_top_distdir=$$reldir; \
1908
+	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1909
+	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1910
+	    ($(am__cd) $$subdir && \
1911
+	      $(MAKE) $(AM_MAKEFLAGS) \
1912
+	        top_distdir="$$new_top_distdir" \
1913
+	        distdir="$$new_distdir" \
1914
+		am__remove_distdir=: \
1915
+		am__skip_length_check=: \
1916
+		am__skip_mode_fix=: \
1917
+	        distdir) \
1918
+	      || exit 1; \
1919
+	  fi; \
1920
+	done
1893 1921
 check-am: all-am
1894 1922
 check: $(BUILT_SOURCES)
1895
-	$(MAKE) $(AM_MAKEFLAGS) check-am
1923
+	$(MAKE) $(AM_MAKEFLAGS) check-recursive
1896 1924
 all-am: Makefile $(LTLIBRARIES) $(HEADERS)
1897
-installdirs:
1925
+installdirs: installdirs-recursive
1926
+installdirs-am:
1898 1927
 	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \
1899 1928
 	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1900 1929
 	done
1901 1930
 install: $(BUILT_SOURCES)
1902
-	$(MAKE) $(AM_MAKEFLAGS) install-am
1903
-install-exec: install-exec-am
1904
-install-data: install-data-am
1905
-uninstall: uninstall-am
1931
+	$(MAKE) $(AM_MAKEFLAGS) install-recursive
1932
+install-exec: install-exec-recursive
1933
+install-data: install-data-recursive
1934
+uninstall: uninstall-recursive
1906 1935
 
1907 1936
 install-am: all-am
1908 1937
 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1909 1938
 
1910
-installcheck: installcheck-am
1939
+installcheck: installcheck-recursive
1911 1940
 install-strip:
1912 1941
 	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1913 1942
 	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
... ...
@@ -1926,94 +2083,97 @@ maintainer-clean-generic:
1926 1926
 	@echo "This command is intended for maintainers to use"
1927 1927
 	@echo "it deletes files that may require special tools to rebuild."
1928 1928
 	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1929
-clean: clean-am
1929
+clean: clean-recursive
1930 1930
 
1931 1931
 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
1932 1932
 	clean-noinstLTLIBRARIES mostlyclean-am
1933 1933
 
1934
-distclean: distclean-am
1934
+distclean: distclean-recursive
1935 1935
 	-rm -rf ./$(DEPDIR)
1936 1936
 	-rm -f Makefile
1937 1937
 distclean-am: clean-am distclean-compile distclean-generic \
1938 1938
 	distclean-tags
1939 1939
 
1940
-dvi: dvi-am
1940
+dvi: dvi-recursive
1941 1941
 
1942 1942
 dvi-am:
1943 1943
 
1944
-html: html-am
1944
+html: html-recursive
1945 1945
 
1946 1946
 html-am:
1947 1947
 
1948
-info: info-am
1948
+info: info-recursive
1949 1949
 
1950 1950
 info-am:
1951 1951
 
1952 1952
 install-data-am: install-includeHEADERS
1953 1953
 
1954
-install-dvi: install-dvi-am
1954
+install-dvi: install-dvi-recursive
1955 1955
 
1956 1956
 install-dvi-am:
1957 1957
 
1958 1958
 install-exec-am: install-libLTLIBRARIES
1959 1959
 
1960
-install-html: install-html-am
1960
+install-html: install-html-recursive
1961 1961
 
1962 1962
 install-html-am:
1963 1963
 
1964
-install-info: install-info-am
1964
+install-info: install-info-recursive
1965 1965
 
1966 1966
 install-info-am:
1967 1967
 
1968 1968
 install-man:
1969 1969
 
1970
-install-pdf: install-pdf-am
1970
+install-pdf: install-pdf-recursive
1971 1971
 
1972 1972
 install-pdf-am:
1973 1973
 
1974
-install-ps: install-ps-am
1974
+install-ps: install-ps-recursive
1975 1975
 
1976 1976
 install-ps-am:
1977 1977
 
1978 1978
 installcheck-am:
1979 1979
 
1980
-maintainer-clean: maintainer-clean-am
1980
+maintainer-clean: maintainer-clean-recursive
1981 1981
 	-rm -rf ./$(DEPDIR)
1982 1982
 	-rm -f Makefile
1983 1983
 maintainer-clean-am: distclean-am maintainer-clean-generic
1984 1984
 
1985
-mostlyclean: mostlyclean-am
1985
+mostlyclean: mostlyclean-recursive
1986 1986
 
1987 1987
 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1988 1988
 	mostlyclean-libtool
1989 1989
 
1990
-pdf: pdf-am
1990
+pdf: pdf-recursive
1991 1991
 
1992 1992
 pdf-am:
1993 1993
 
1994
-ps: ps-am
1994
+ps: ps-recursive
1995 1995
 
1996 1996
 ps-am:
1997 1997
 
1998 1998
 uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES
1999 1999
 
2000
-.MAKE: all check install install-am install-strip
2000
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
2001
+	ctags-recursive install install-am install-strip \
2002
+	tags-recursive
2001 2003
 
2002
-.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
2004
+.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
2005
+	all all-am check check-am clean clean-generic \
2003 2006
 	clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES \
2004
-	ctags distclean distclean-compile distclean-generic \
2005
-	distclean-libtool distclean-tags distdir dvi dvi-am html \
2006
-	html-am info info-am install install-am install-data \
2007
-	install-data-am install-dvi install-dvi-am install-exec \
2008
-	install-exec-am install-html install-html-am \
2007
+	ctags ctags-recursive distclean distclean-compile \
2008
+	distclean-generic distclean-libtool distclean-tags distdir dvi \
2009
+	dvi-am html html-am info info-am install install-am \
2010
+	install-data install-data-am install-dvi install-dvi-am \
2011
+	install-exec install-exec-am install-html install-html-am \
2009 2012
 	install-includeHEADERS install-info install-info-am \
2010 2013
 	install-libLTLIBRARIES install-man install-pdf install-pdf-am \
2011 2014
 	install-ps install-ps-am install-strip installcheck \
2012
-	installcheck-am installdirs maintainer-clean \
2015
+	installcheck-am installdirs installdirs-am maintainer-clean \
2013 2016
 	maintainer-clean-generic mostlyclean mostlyclean-compile \
2014 2017
 	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
2015
-	tags uninstall uninstall-am uninstall-includeHEADERS \
2016
-	uninstall-libLTLIBRARIES
2018
+	tags tags-recursive uninstall uninstall-am \
2019
+	uninstall-includeHEADERS uninstall-libLTLIBRARIES
2017 2020
 
2018 2021
 
2019 2022
 .PHONY: version.h.tmp
... ...
@@ -47,9 +47,10 @@ DIST_COMMON = README $(am__include_HEADERS_DIST) \
47 47
 	$(srcdir)/Makefile.in COPYING.LIB
48 48
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
49 49
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
50
-	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/fdpassing.m4 \
51
-	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
52
-	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
50
+	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/check_gnu_make.m4 \
51
+	$(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
52
+	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
53
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
53 54
 	$(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
54 55
 	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
55 56
 	$(top_srcdir)/m4/lt~obsolete.m4 \
... ...
@@ -227,8 +228,10 @@ FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
227 227
 GCOV = @GCOV@
228 228
 GENHTML = @GENHTML@
229 229
 GETENT = @GETENT@
230
+GMAKE = @GMAKE@
230 231
 GPERF = @GPERF@
231 232
 GREP = @GREP@
233
+GXX = @GXX@
232 234
 INCLTDL = @INCLTDL@
233 235
 INSTALL = @INSTALL@
234 236
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -292,6 +295,7 @@ abs_top_builddir = @abs_top_builddir@
292 292
 abs_top_srcdir = @abs_top_srcdir@
293 293
 ac_ct_CC = @ac_ct_CC@
294 294
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
295
+ac_ct_GXX = @ac_ct_GXX@
295 296
 am__include = @am__include@
296 297
 am__leading_dot = @am__leading_dot@
297 298
 am__quote = @am__quote@
... ...
@@ -315,6 +319,7 @@ host_cpu = @host_cpu@
315 315
 host_os = @host_os@
316 316
 host_vendor = @host_vendor@
317 317
 htmldir = @htmldir@
318
+ifGNUmake = @ifGNUmake@
318 319
 includedir = @includedir@
319 320
 infodir = @infodir@
320 321
 install_sh = @install_sh@
... ...
@@ -335,6 +340,7 @@ psdir = @psdir@
335 335
 sbindir = @sbindir@
336 336
 sharedstatedir = @sharedstatedir@
337 337
 srcdir = @srcdir@
338
+subdirs = @subdirs@
338 339
 sys_symbol_underscore = @sys_symbol_underscore@
339 340
 sysconfdir = @sysconfdir@
340 341
 target = @target@
... ...
@@ -1614,6 +1614,9 @@ lt_dlopenadvise (const char *filename, lt_dladvise advise)
1614 1614
 {
1615 1615
   lt_dlhandle	handle	= 0;
1616 1616
   int		errors	= 0;
1617
+  const char *	saved_error	= 0;
1618
+
1619
+  LT__GETERROR (saved_error);
1617 1620
 
1618 1621
   /* Can't have symbols hidden and visible at the same time!  */
1619 1622
   if (advise && advise->is_symlocal && advise->is_symglobal)
... ...
@@ -1650,6 +1653,7 @@ lt_dlopenadvise (const char *filename, lt_dladvise advise)
1650 1650
 
1651 1651
 #if defined(LT_MODULE_EXT)
1652 1652
       /* Try appending SHLIB_EXT.   */
1653
+      LT__SETERRORSTR (saved_error);
1653 1654
       errors = try_dlopen (&handle, filename, shlib_ext, advise);
1654 1655
 
1655 1656
       /* As before, if the file was found but loading failed, return now
... ...
@@ -2485,6 +2485,18 @@ linux* | k*bsd*-gnu)
2485 2485
   dynamic_linker='GNU/Linux ld.so'
2486 2486
   ;;
2487 2487
 
2488
+netbsdelf*-gnu)
2489
+  version_type=linux
2490
+  need_lib_prefix=no
2491
+  need_version=no
2492
+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2493
+  soname_spec='${libname}${release}${shared_ext}$major'
2494
+  shlibpath_var=LD_LIBRARY_PATH
2495
+  shlibpath_overrides_runpath=no
2496
+  hardcode_into_libs=yes
2497
+  dynamic_linker='NetBSD ld.elf_so'
2498
+  ;;
2499
+
2488 2500
 netbsd*)
2489 2501
   version_type=sunos
2490 2502
   need_lib_prefix=no
... ...
@@ -3076,7 +3088,7 @@ linux* | k*bsd*-gnu)
3076 3076
   lt_cv_deplibs_check_method=pass_all
3077 3077
   ;;
3078 3078
 
3079
-netbsd*)
3079
+netbsd* | netbsdelf*-gnu)
3080 3080
   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
3081 3081
     lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
3082 3082
   else
... ...
@@ -3757,7 +3769,7 @@ m4_if([$1], [CXX], [
3757 3757
 	    ;;
3758 3758
 	esac
3759 3759
 	;;
3760
-      netbsd*)
3760
+      netbsd* | netbsdelf*-gnu)
3761 3761
 	;;
3762 3762
       *qnx* | *nto*)
3763 3763
         # QNX uses GNU C++, but need to define -shared option too, otherwise
... ...
@@ -4182,6 +4194,9 @@ m4_if([$1], [CXX], [
4182 4182
   cygwin* | mingw* | cegcc*)
4183 4183
     _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
4184 4184
   ;;
4185
+  linux* | k*bsd*-gnu)
4186
+    _LT_TAGVAR(link_all_deplibs, $1)=no
4187
+  ;;
4185 4188
   *)
4186 4189
     _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
4187 4190
   ;;
... ...
@@ -4246,6 +4261,9 @@ dnl Note also adjust exclude_expsyms for C++ above.
4246 4246
   openbsd*)
4247 4247
     with_gnu_ld=no
4248 4248
     ;;
4249
+  linux* | k*bsd*-gnu)
4250
+    _LT_TAGVAR(link_all_deplibs, $1)=no
4251
+    ;;
4249 4252
   esac
4250 4253
 
4251 4254
   _LT_TAGVAR(ld_shlibs, $1)=yes
... ...
@@ -4428,7 +4446,7 @@ _LT_EOF
4428 4428
       fi
4429 4429
       ;;
4430 4430
 
4431
-    netbsd*)
4431
+    netbsd* | netbsdelf*-gnu)
4432 4432
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4433 4433
 	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
4434 4434
 	wlarc=
... ...
@@ -4603,6 +4621,7 @@ _LT_EOF
4603 4603
 	if test "$aix_use_runtimelinking" = yes; then
4604 4604
 	  shared_flag="$shared_flag "'${wl}-G'
4605 4605
 	fi
4606
+	_LT_TAGVAR(link_all_deplibs, $1)=no
4606 4607
       else
4607 4608
 	# not using gcc
4608 4609
 	if test "$host_cpu" = ia64; then
... ...
@@ -4841,7 +4860,7 @@ _LT_EOF
4841 4841
       _LT_TAGVAR(link_all_deplibs, $1)=yes
4842 4842
       ;;
4843 4843
 
4844
-    netbsd*)
4844
+    netbsd* | netbsdelf*-gnu)
4845 4845
       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
4846 4846
 	_LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
4847 4847
       else
... ...
@@ -487,7 +487,7 @@ AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
487 487
     # at 6.2 and later dlopen does load deplibs.
488 488
     lt_cv_sys_dlopen_deplibs=yes
489 489
     ;;
490
-  netbsd*)
490
+  netbsd* | netbsdelf*-gnu)
491 491
     lt_cv_sys_dlopen_deplibs=yes
492 492
     ;;
493 493
   openbsd*)
... ...
@@ -58,9 +58,10 @@ subdir = sigtool
58 58
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
59 59
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
60 60
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
61
-	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/fdpassing.m4 \
62
-	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
63
-	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
61
+	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/check_gnu_make.m4 \
62
+	$(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
63
+	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
64
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
64 65
 	$(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
65 66
 	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
66 67
 	$(top_srcdir)/m4/lt~obsolete.m4 \
... ...
@@ -152,8 +153,10 @@ FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
152 152
 GCOV = @GCOV@
153 153
 GENHTML = @GENHTML@
154 154
 GETENT = @GETENT@
155
+GMAKE = @GMAKE@
155 156
 GPERF = @GPERF@
156 157
 GREP = @GREP@
158
+GXX = @GXX@
157 159
 INCLTDL = @INCLTDL@
158 160
 INSTALL = @INSTALL@
159 161
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -217,6 +220,7 @@ abs_top_builddir = @abs_top_builddir@
217 217
 abs_top_srcdir = @abs_top_srcdir@
218 218
 ac_ct_CC = @ac_ct_CC@
219 219
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
220
+ac_ct_GXX = @ac_ct_GXX@
220 221
 am__include = @am__include@
221 222
 am__leading_dot = @am__leading_dot@
222 223
 am__quote = @am__quote@
... ...
@@ -240,6 +244,7 @@ host_cpu = @host_cpu@
240 240
 host_os = @host_os@
241 241
 host_vendor = @host_vendor@
242 242
 htmldir = @htmldir@
243
+ifGNUmake = @ifGNUmake@
243 244
 includedir = @includedir@
244 245
 infodir = @infodir@
245 246
 install_sh = @install_sh@
... ...
@@ -260,6 +265,7 @@ psdir = @psdir@
260 260
 sbindir = @sbindir@
261 261
 sharedstatedir = @sharedstatedir@
262 262
 srcdir = @srcdir@
263
+subdirs = @subdirs@
263 264
 sys_symbol_underscore = @sys_symbol_underscore@
264 265
 sysconfdir = @sysconfdir@
265 266
 target = @target@
... ...
@@ -38,9 +38,10 @@ subdir = test
38 38
 DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39 39
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40 40
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
41
-	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/fdpassing.m4 \
42
-	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
43
-	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
41
+	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/check_gnu_make.m4 \
42
+	$(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
43
+	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
44
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
44 45
 	$(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
45 46
 	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
46 47
 	$(top_srcdir)/m4/lt~obsolete.m4 \
... ...
@@ -100,8 +101,10 @@ FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
100 100
 GCOV = @GCOV@
101 101
 GENHTML = @GENHTML@
102 102
 GETENT = @GETENT@
103
+GMAKE = @GMAKE@
103 104
 GPERF = @GPERF@
104 105
 GREP = @GREP@
106
+GXX = @GXX@
105 107
 INCLTDL = @INCLTDL@
106 108
 INSTALL = @INSTALL@
107 109
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -165,6 +168,7 @@ abs_top_builddir = @abs_top_builddir@
165 165
 abs_top_srcdir = @abs_top_srcdir@
166 166
 ac_ct_CC = @ac_ct_CC@
167 167
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
168
+ac_ct_GXX = @ac_ct_GXX@
168 169
 am__include = @am__include@
169 170
 am__leading_dot = @am__leading_dot@
170 171
 am__quote = @am__quote@
... ...
@@ -188,6 +192,7 @@ host_cpu = @host_cpu@
188 188
 host_os = @host_os@
189 189
 host_vendor = @host_vendor@
190 190
 htmldir = @htmldir@
191
+ifGNUmake = @ifGNUmake@
191 192
 includedir = @includedir@
192 193
 infodir = @infodir@
193 194
 install_sh = @install_sh@
... ...
@@ -208,6 +213,7 @@ psdir = @psdir@
208 208
 sbindir = @sbindir@
209 209
 sharedstatedir = @sharedstatedir@
210 210
 srcdir = @srcdir@
211
+subdirs = @subdirs@
211 212
 sys_symbol_underscore = @sys_symbol_underscore@
212 213
 sysconfdir = @sysconfdir@
213 214
 target = @target@
... ...
@@ -41,9 +41,10 @@ subdir = unit_tests
41 41
 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
42 42
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43 43
 am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
44
-	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/fdpassing.m4 \
45
-	$(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
46
-	$(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
44
+	$(top_srcdir)/m4/argz.m4 $(top_srcdir)/m4/check_gnu_make.m4 \
45
+	$(top_srcdir)/m4/fdpassing.m4 $(top_srcdir)/m4/lib-ld.m4 \
46
+	$(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
47
+	$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/llvm.m4 \
47 48
 	$(top_srcdir)/m4/ltdl.m4 $(top_srcdir)/m4/ltoptions.m4 \
48 49
 	$(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
49 50
 	$(top_srcdir)/m4/lt~obsolete.m4 \
... ...
@@ -173,8 +174,10 @@ FRESHCLAM_LIBS = @FRESHCLAM_LIBS@
173 173
 GCOV = @GCOV@
174 174
 GENHTML = @GENHTML@
175 175
 GETENT = @GETENT@
176
+GMAKE = @GMAKE@
176 177
 GPERF = @GPERF@
177 178
 GREP = @GREP@
179
+GXX = @GXX@
178 180
 INCLTDL = @INCLTDL@
179 181
 INSTALL = @INSTALL@
180 182
 INSTALL_DATA = @INSTALL_DATA@
... ...
@@ -238,6 +241,7 @@ abs_top_builddir = @abs_top_builddir@
238 238
 abs_top_srcdir = @abs_top_srcdir@
239 239
 ac_ct_CC = @ac_ct_CC@
240 240
 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
241
+ac_ct_GXX = @ac_ct_GXX@
241 242
 am__include = @am__include@
242 243
 am__leading_dot = @am__leading_dot@
243 244
 am__quote = @am__quote@
... ...
@@ -261,6 +265,7 @@ host_cpu = @host_cpu@
261 261
 host_os = @host_os@
262 262
 host_vendor = @host_vendor@
263 263
 htmldir = @htmldir@
264
+ifGNUmake = @ifGNUmake@
264 265
 includedir = @includedir@
265 266
 infodir = @infodir@
266 267
 install_sh = @install_sh@
... ...
@@ -281,6 +286,7 @@ psdir = @psdir@
281 281
 sbindir = @sbindir@
282 282
 sharedstatedir = @sharedstatedir@
283 283
 srcdir = @srcdir@
284
+subdirs = @subdirs@
284 285
 sys_symbol_underscore = @sys_symbol_underscore@
285 286
 sysconfdir = @sysconfdir@
286 287
 target = @target@