... | ... |
@@ -43,7 +43,7 @@ endif |
43 | 43 |
|
44 | 44 |
DEFS = @DEFS@ -DCL_NOTHREADS -DCL_NOLIBCLAMAV |
45 | 45 |
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/clamscan -I$(top_srcdir)/shared -I$(top_srcdir)/libclamav |
46 |
-LIBS = $(top_builddir)/libclamav/libclamav_internal_utils_nothreads.la @FRESHCLAM_LIBS@ |
|
46 |
+LIBS = $(top_builddir)/libclamav/libclamav_internal_utils_nothreads.la @CLAMDSCAN_LIBS@ |
|
47 | 47 |
|
48 | 48 |
AM_INSTALLCHECK_STD_OPTIONS_EXEMPT=clamdscan$(EXEEXT) |
49 | 49 |
CLEANFILES=*.gcda *.gcno |
... | ... |
@@ -144,6 +144,7 @@ CHECK_LIBS = @CHECK_LIBS@ |
144 | 144 |
CLAMAVGROUP = @CLAMAVGROUP@ |
145 | 145 |
CLAMAVUSER = @CLAMAVUSER@ |
146 | 146 |
CLAMAV_MILTER_LIBS = @CLAMAV_MILTER_LIBS@ |
147 |
+CLAMDSCAN_LIBS = @CLAMDSCAN_LIBS@ |
|
147 | 148 |
CLAMD_LIBS = @CLAMD_LIBS@ |
148 | 149 |
CPP = @CPP@ |
149 | 150 |
CPPFLAGS = @CPPFLAGS@ |
... | ... |
@@ -187,7 +188,7 @@ LIBCLAMAV_VERSION = @LIBCLAMAV_VERSION@ |
187 | 187 |
LIBLTDL = @LIBLTDL@ |
188 | 188 |
LIBM = @LIBM@ |
189 | 189 |
LIBOBJS = @LIBOBJS@ |
190 |
-LIBS = $(top_builddir)/libclamav/libclamav_internal_utils_nothreads.la @FRESHCLAM_LIBS@ |
|
190 |
+LIBS = $(top_builddir)/libclamav/libclamav_internal_utils_nothreads.la @CLAMDSCAN_LIBS@ |
|
191 | 191 |
LIBTOOL = @LIBTOOL@ |
192 | 192 |
LIPO = @LIPO@ |
193 | 193 |
LN_S = @LN_S@ |
... | ... |
@@ -768,6 +768,7 @@ BUILD_CLAMD_FALSE |
768 | 768 |
BUILD_CLAMD_TRUE |
769 | 769 |
THREAD_LIBS |
770 | 770 |
TH_SAFE |
771 |
+CLAMDSCAN_LIBS |
|
771 | 772 |
FRESHCLAM_LIBS |
772 | 773 |
CLAMAV_MILTER_LIBS |
773 | 774 |
CLAMD_LIBS |
... | ... |
@@ -5181,13 +5182,13 @@ if test "${lt_cv_nm_interface+set}" = set; then : |
5181 | 5181 |
else |
5182 | 5182 |
lt_cv_nm_interface="BSD nm" |
5183 | 5183 |
echo "int some_variable = 0;" > conftest.$ac_ext |
5184 |
- (eval echo "\"\$as_me:5184: $ac_compile\"" >&5) |
|
5184 |
+ (eval echo "\"\$as_me:5185: $ac_compile\"" >&5) |
|
5185 | 5185 |
(eval "$ac_compile" 2>conftest.err) |
5186 | 5186 |
cat conftest.err >&5 |
5187 |
- (eval echo "\"\$as_me:5187: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
|
5187 |
+ (eval echo "\"\$as_me:5188: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
|
5188 | 5188 |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
5189 | 5189 |
cat conftest.err >&5 |
5190 |
- (eval echo "\"\$as_me:5190: output\"" >&5) |
|
5190 |
+ (eval echo "\"\$as_me:5191: output\"" >&5) |
|
5191 | 5191 |
cat conftest.out >&5 |
5192 | 5192 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
5193 | 5193 |
lt_cv_nm_interface="MS dumpbin" |
... | ... |
@@ -6382,7 +6383,7 @@ ia64-*-hpux*) |
6382 | 6382 |
;; |
6383 | 6383 |
*-*-irix6*) |
6384 | 6384 |
# Find out which ABI we are using. |
6385 |
- echo '#line 6385 "configure"' > conftest.$ac_ext |
|
6385 |
+ echo '#line 6386 "configure"' > conftest.$ac_ext |
|
6386 | 6386 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
6387 | 6387 |
(eval $ac_compile) 2>&5 |
6388 | 6388 |
ac_status=$? |
... | ... |
@@ -7909,11 +7910,11 @@ else |
7909 | 7909 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
7910 | 7910 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
7911 | 7911 |
-e 's:$: $lt_compiler_flag:'` |
7912 |
- (eval echo "\"\$as_me:7912: $lt_compile\"" >&5) |
|
7912 |
+ (eval echo "\"\$as_me:7913: $lt_compile\"" >&5) |
|
7913 | 7913 |
(eval "$lt_compile" 2>conftest.err) |
7914 | 7914 |
ac_status=$? |
7915 | 7915 |
cat conftest.err >&5 |
7916 |
- echo "$as_me:7916: \$? = $ac_status" >&5 |
|
7916 |
+ echo "$as_me:7917: \$? = $ac_status" >&5 |
|
7917 | 7917 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
7918 | 7918 |
# The compiler can only warn and ignore the option if not recognized |
7919 | 7919 |
# So say no if there are warnings other than the usual output. |
... | ... |
@@ -8248,11 +8249,11 @@ else |
8248 | 8248 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8249 | 8249 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8250 | 8250 |
-e 's:$: $lt_compiler_flag:'` |
8251 |
- (eval echo "\"\$as_me:8251: $lt_compile\"" >&5) |
|
8251 |
+ (eval echo "\"\$as_me:8252: $lt_compile\"" >&5) |
|
8252 | 8252 |
(eval "$lt_compile" 2>conftest.err) |
8253 | 8253 |
ac_status=$? |
8254 | 8254 |
cat conftest.err >&5 |
8255 |
- echo "$as_me:8255: \$? = $ac_status" >&5 |
|
8255 |
+ echo "$as_me:8256: \$? = $ac_status" >&5 |
|
8256 | 8256 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
8257 | 8257 |
# The compiler can only warn and ignore the option if not recognized |
8258 | 8258 |
# So say no if there are warnings other than the usual output. |
... | ... |
@@ -8353,11 +8354,11 @@ else |
8353 | 8353 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8354 | 8354 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8355 | 8355 |
-e 's:$: $lt_compiler_flag:'` |
8356 |
- (eval echo "\"\$as_me:8356: $lt_compile\"" >&5) |
|
8356 |
+ (eval echo "\"\$as_me:8357: $lt_compile\"" >&5) |
|
8357 | 8357 |
(eval "$lt_compile" 2>out/conftest.err) |
8358 | 8358 |
ac_status=$? |
8359 | 8359 |
cat out/conftest.err >&5 |
8360 |
- echo "$as_me:8360: \$? = $ac_status" >&5 |
|
8360 |
+ echo "$as_me:8361: \$? = $ac_status" >&5 |
|
8361 | 8361 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8362 | 8362 |
then |
8363 | 8363 |
# The compiler can only warn and ignore the option if not recognized |
... | ... |
@@ -8408,11 +8409,11 @@ else |
8408 | 8408 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
8409 | 8409 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
8410 | 8410 |
-e 's:$: $lt_compiler_flag:'` |
8411 |
- (eval echo "\"\$as_me:8411: $lt_compile\"" >&5) |
|
8411 |
+ (eval echo "\"\$as_me:8412: $lt_compile\"" >&5) |
|
8412 | 8412 |
(eval "$lt_compile" 2>out/conftest.err) |
8413 | 8413 |
ac_status=$? |
8414 | 8414 |
cat out/conftest.err >&5 |
8415 |
- echo "$as_me:8415: \$? = $ac_status" >&5 |
|
8415 |
+ echo "$as_me:8416: \$? = $ac_status" >&5 |
|
8416 | 8416 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
8417 | 8417 |
then |
8418 | 8418 |
# The compiler can only warn and ignore the option if not recognized |
... | ... |
@@ -10792,7 +10793,7 @@ else |
10792 | 10792 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10793 | 10793 |
lt_status=$lt_dlunknown |
10794 | 10794 |
cat > conftest.$ac_ext <<_LT_EOF |
10795 |
-#line 10795 "configure" |
|
10795 |
+#line 10796 "configure" |
|
10796 | 10796 |
#include "confdefs.h" |
10797 | 10797 |
|
10798 | 10798 |
#if HAVE_DLFCN_H |
... | ... |
@@ -10888,7 +10889,7 @@ else |
10888 | 10888 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
10889 | 10889 |
lt_status=$lt_dlunknown |
10890 | 10890 |
cat > conftest.$ac_ext <<_LT_EOF |
10891 |
-#line 10891 "configure" |
|
10891 |
+#line 10892 "configure" |
|
10892 | 10892 |
#include "confdefs.h" |
10893 | 10893 |
|
10894 | 10894 |
#if HAVE_DLFCN_H |
... | ... |
@@ -11560,7 +11561,7 @@ else |
11560 | 11560 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
11561 | 11561 |
lt_status=$lt_dlunknown |
11562 | 11562 |
cat > conftest.$ac_ext <<_LT_EOF |
11563 |
-#line 11563 "configure" |
|
11563 |
+#line 11564 "configure" |
|
11564 | 11564 |
#include "confdefs.h" |
11565 | 11565 |
|
11566 | 11566 |
#if HAVE_DLFCN_H |
... | ... |
@@ -15000,6 +15001,8 @@ $as_echo "$ZLIB_HOME" >&6; } |
15000 | 15000 |
fi |
15001 | 15001 |
|
15002 | 15002 |
|
15003 |
+CLAMDSCAN_LIBS="$FRESHCLAM_LIBS" |
|
15004 |
+ |
|
15003 | 15005 |
# Check whether --enable-zlib-vcheck was given. |
15004 | 15006 |
if test "${enable_zlib_vcheck+set}" = set; then : |
15005 | 15007 |
enableval=$enable_zlib_vcheck; zlib_check=$enableval |
... | ... |
@@ -16843,6 +16846,7 @@ $as_echo "#define CLAMUKO 1" >>confdefs.h |
16843 | 16843 |
fi |
16844 | 16844 |
;; |
16845 | 16845 |
solaris*) |
16846 |
+ CLAMDSCAN_LIBS="$CLAMDSCAN_LIBS -lresolv" |
|
16846 | 16847 |
FRESHCLAM_LIBS="$FRESHCLAM_LIBS -lresolv" |
16847 | 16848 |
if test "$have_pthreads" = "yes"; then |
16848 | 16849 |
THREAD_LIBS="-lpthread" |
... | ... |
@@ -16953,6 +16957,7 @@ $as_echo "#define BIND_8_COMPAT 1" >>confdefs.h |
16953 | 16953 |
use_netinfo="yes" |
16954 | 16954 |
;; |
16955 | 16955 |
os2*) |
16956 |
+ CLAMDSCAN_LIBS="$CLAMDSCAN_LIBS -lsyslog" |
|
16956 | 16957 |
FRESHCLAM_LIBS="$FRESHCLAM_LIBS -lsyslog" |
16957 | 16958 |
CLAMD_LIBS="$CLAMD_LIBS -lsyslog" |
16958 | 16959 |
CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lsyslog" |
... | ... |
@@ -17048,6 +17053,7 @@ esac |
17048 | 17048 |
|
17049 | 17049 |
|
17050 | 17050 |
|
17051 |
+ |
|
17051 | 17052 |
if test "$have_milter" = "yes"; then |
17052 | 17053 |
|
17053 | 17054 |
save_LIBS="$LIBS" |
... | ... |
@@ -528,6 +528,8 @@ fi |
528 | 528 |
AC_MSG_RESULT([$ZLIB_HOME]) |
529 | 529 |
]) |
530 | 530 |
|
531 |
+CLAMDSCAN_LIBS="$FRESHCLAM_LIBS" |
|
532 |
+ |
|
531 | 533 |
AC_ARG_ENABLE([zlib-vcheck], |
532 | 534 |
[ --disable-zlib-vcheck do not check for buggy zlib version ], |
533 | 535 |
zlib_check=$enableval, zlib_check="yes") |
... | ... |
@@ -972,6 +974,7 @@ kfreebsd*-gnu) |
972 | 972 |
fi |
973 | 973 |
;; |
974 | 974 |
solaris*) |
975 |
+ CLAMDSCAN_LIBS="$CLAMDSCAN_LIBS -lresolv" |
|
975 | 976 |
FRESHCLAM_LIBS="$FRESHCLAM_LIBS -lresolv" |
976 | 977 |
if test "$have_pthreads" = "yes"; then |
977 | 978 |
THREAD_LIBS="-lpthread" |
... | ... |
@@ -1050,6 +1053,7 @@ darwin*) |
1050 | 1050 |
use_netinfo="yes" |
1051 | 1051 |
;; |
1052 | 1052 |
os2*) |
1053 |
+ CLAMDSCAN_LIBS="$CLAMDSCAN_LIBS -lsyslog" |
|
1053 | 1054 |
FRESHCLAM_LIBS="$FRESHCLAM_LIBS -lsyslog" |
1054 | 1055 |
CLAMD_LIBS="$CLAMD_LIBS -lsyslog" |
1055 | 1056 |
CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lsyslog" |
... | ... |
@@ -1126,6 +1130,7 @@ AC_SUBST([LIBCLAMAV_LIBS]) |
1126 | 1126 |
AC_SUBST([CLAMD_LIBS]) |
1127 | 1127 |
AC_SUBST([CLAMAV_MILTER_LIBS]) |
1128 | 1128 |
AC_SUBST([FRESHCLAM_LIBS]) |
1129 |
+AC_SUBST([CLAMDSCAN_LIBS]) |
|
1129 | 1130 |
AC_SUBST([TH_SAFE]) |
1130 | 1131 |
AC_SUBST([THREAD_LIBS]) |
1131 | 1132 |
|