... | ... |
@@ -125,6 +125,7 @@ m4_include([m4/reorganization/distcheck.m4]) |
125 | 125 |
m4_include([m4/reorganization/llvm.m4]) |
126 | 126 |
m4_include([m4/reorganization/sha_collect.m4]) |
127 | 127 |
m4_include([m4/reorganization/yara.m4]) |
128 |
+m4_include([m4/reorganization/libfreshclam.m4]) |
|
128 | 129 |
|
129 | 130 |
m4_include([m4/reorganization/bsd.m4]) |
130 | 131 |
|
... | ... |
@@ -133,17 +134,6 @@ m4_include([m4/reorganization/libs/curl.m4]) |
133 | 133 |
|
134 | 134 |
m4_include([m4/reorganization/substitutions.m4]) |
135 | 135 |
|
136 |
-AM_CONDITIONAL([ENABLE_CLAMSUBMIT], [test "$have_curl" = "yes"]) |
|
137 |
- |
|
138 |
-AC_ARG_ENABLE([libfreshclam], |
|
139 |
- [AS_HELP_STRING([--enable-libfreshclam], [enable building of libfreshclam])], |
|
140 |
- enable_libfreshclam=$enableval, enable_libfreshclam="no") |
|
141 |
- |
|
142 |
-if test "$enable_libfreshclam" = "yes"; then |
|
143 |
- AC_DEFINE([ENABLE_LIBFRESHCLAM],1,[enable libfreshclam]) |
|
144 |
-fi |
|
145 |
-AM_CONDITIONAL([ENABLE_LIBFRESHCLAM], [test "$enable_libfreshclam" = "yes"]) |
|
146 |
- |
|
147 | 136 |
AC_CONFIG_FILES([ |
148 | 137 |
clamscan/Makefile |
149 | 138 |
database/Makefile |
150 | 139 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,10 @@ |
0 |
+AM_CONDITIONAL([ENABLE_CLAMSUBMIT], [test "$have_curl" = "yes"]) |
|
1 |
+ |
|
2 |
+AC_ARG_ENABLE([libfreshclam], |
|
3 |
+ [AS_HELP_STRING([--enable-libfreshclam], [enable building of libfreshclam])], |
|
4 |
+ enable_libfreshclam=$enableval, enable_libfreshclam="no") |
|
5 |
+ |
|
6 |
+if test "$enable_libfreshclam" = "yes"; then |
|
7 |
+ AC_DEFINE([ENABLE_LIBFRESHCLAM],1,[enable libfreshclam]) |
|
8 |
+fi |
|
9 |
+AM_CONDITIONAL([ENABLE_LIBFRESHCLAM], [test "$enable_libfreshclam" = "yes"]) |