... | ... |
@@ -381,6 +381,12 @@ |
381 | 381 |
/* Define to 1 if you have the `strlcpy' function. */ |
382 | 382 |
#undef HAVE_STRLCPY |
383 | 383 |
|
384 |
+/* Define to 1 if you have the `strndup' function. */ |
|
385 |
+#undef HAVE_STRNDUP |
|
386 |
+ |
|
387 |
+/* Define to 1 if you have the `strnlen' function. */ |
|
388 |
+#undef HAVE_STRNLEN |
|
389 |
+ |
|
384 | 390 |
/* Define to 1 if sysconf(_SC_PAGESIZE) is available */ |
385 | 391 |
#undef HAVE_SYSCONF_SC_PAGESIZE |
386 | 392 |
|
... | ... |
@@ -634,6 +634,7 @@ ac_includes_default="\ |
634 | 634 |
# include <unistd.h> |
635 | 635 |
#endif" |
636 | 636 |
|
637 |
+ac_func_list= |
|
637 | 638 |
enable_option_checking=no |
638 | 639 |
ac_subst_vars='ENABLE_YARA_FALSE |
639 | 640 |
ENABLE_YARA_TRUE |
... | ... |
@@ -692,6 +693,8 @@ LIBPRELUDE_CFLAGS |
692 | 692 |
LIBPRELUDE_CONFIG |
693 | 693 |
ENABLE_LIBFRESHCLAM_FALSE |
694 | 694 |
ENABLE_LIBFRESHCLAM_TRUE |
695 |
+ENABLE_CLAMSUBMIT_FALSE |
|
696 |
+ENABLE_CLAMSUBMIT_TRUE |
|
695 | 697 |
SYSTEM_LFS_FTS_FALSE |
696 | 698 |
SYSTEM_LFS_FTS_TRUE |
697 | 699 |
HAVE_YARA |
... | ... |
@@ -2567,6 +2570,23 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} |
2567 | 2567 |
>$cache_file |
2568 | 2568 |
fi |
2569 | 2569 |
|
2570 |
+as_fn_append ac_func_list " poll" |
|
2571 |
+as_fn_append ac_func_list " setsid" |
|
2572 |
+as_fn_append ac_func_list " memcpy" |
|
2573 |
+as_fn_append ac_func_list " snprintf" |
|
2574 |
+as_fn_append ac_func_list " vsnprintf" |
|
2575 |
+as_fn_append ac_func_list " strerror_r" |
|
2576 |
+as_fn_append ac_func_list " strlcpy" |
|
2577 |
+as_fn_append ac_func_list " strlcat" |
|
2578 |
+as_fn_append ac_func_list " strcasestr" |
|
2579 |
+as_fn_append ac_func_list " inet_ntop" |
|
2580 |
+as_fn_append ac_func_list " setgroups" |
|
2581 |
+as_fn_append ac_func_list " initgroups" |
|
2582 |
+as_fn_append ac_func_list " ctime_r" |
|
2583 |
+as_fn_append ac_func_list " mkstemp" |
|
2584 |
+as_fn_append ac_func_list " mallinfo" |
|
2585 |
+as_fn_append ac_func_list " madvise" |
|
2586 |
+as_fn_append ac_func_list " getnameinfo" |
|
2570 | 2587 |
# Check that the precious variables saved in the cache have kept the same |
2571 | 2588 |
# value. |
2572 | 2589 |
ac_cache_corrupted=false |
... | ... |
@@ -16285,7 +16305,10 @@ if test "$ac_res" != no; then : |
16285 | 16285 |
fi |
16286 | 16286 |
|
16287 | 16287 |
|
16288 |
-for ac_func in poll setsid memcpy snprintf vsnprintf strerror_r strlcpy strlcat strcasestr inet_ntop setgroups initgroups ctime_r mkstemp mallinfo madvise getnameinfo |
|
16288 |
+ |
|
16289 |
+ |
|
16290 |
+ |
|
16291 |
+ for ac_func in $ac_func_list |
|
16289 | 16292 |
do : |
16290 | 16293 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
16291 | 16294 |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
... | ... |
@@ -16297,6 +16320,63 @@ _ACEOF |
16297 | 16297 |
fi |
16298 | 16298 |
done |
16299 | 16299 |
|
16300 |
+ |
|
16301 |
+ |
|
16302 |
+ |
|
16303 |
+ |
|
16304 |
+ |
|
16305 |
+ |
|
16306 |
+ |
|
16307 |
+ |
|
16308 |
+ |
|
16309 |
+ |
|
16310 |
+ |
|
16311 |
+ |
|
16312 |
+ |
|
16313 |
+ |
|
16314 |
+ |
|
16315 |
+ |
|
16316 |
+ |
|
16317 |
+ |
|
16318 |
+ |
|
16319 |
+ |
|
16320 |
+ |
|
16321 |
+ |
|
16322 |
+ |
|
16323 |
+ |
|
16324 |
+ |
|
16325 |
+ |
|
16326 |
+ |
|
16327 |
+ |
|
16328 |
+ |
|
16329 |
+ |
|
16330 |
+ |
|
16331 |
+ |
|
16332 |
+ |
|
16333 |
+ |
|
16334 |
+ |
|
16335 |
+for ac_func in strndup |
|
16336 |
+do : |
|
16337 |
+ ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup" |
|
16338 |
+if test "x$ac_cv_func_strndup" = xyes; then : |
|
16339 |
+ cat >>confdefs.h <<_ACEOF |
|
16340 |
+#define HAVE_STRNDUP 1 |
|
16341 |
+_ACEOF |
|
16342 |
+ |
|
16343 |
+fi |
|
16344 |
+done |
|
16345 |
+ |
|
16346 |
+for ac_func in strnlen |
|
16347 |
+do : |
|
16348 |
+ ac_fn_c_check_func "$LINENO" "strnlen" "ac_cv_func_strnlen" |
|
16349 |
+if test "x$ac_cv_func_strnlen" = xyes; then : |
|
16350 |
+ cat >>confdefs.h <<_ACEOF |
|
16351 |
+#define HAVE_STRNLEN 1 |
|
16352 |
+_ACEOF |
|
16353 |
+ |
|
16354 |
+fi |
|
16355 |
+done |
|
16356 |
+ |
|
16300 | 16357 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5 |
16301 | 16358 |
$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; } |
16302 | 16359 |
if ${ac_cv_sys_largefile_source+:} false; then : |
... | ... |
@@ -24255,6 +24335,15 @@ $as_echo "#define HAVE_SYSTEM_LFS_FTS 0" >>confdefs.h |
24255 | 24255 |
lfs_fts_msg="internal, libc's is not LFS compatible" |
24256 | 24256 |
fi |
24257 | 24257 |
|
24258 |
+ if test "$have_curl" = "yes"; then |
|
24259 |
+ ENABLE_CLAMSUBMIT_TRUE= |
|
24260 |
+ ENABLE_CLAMSUBMIT_FALSE='#' |
|
24261 |
+else |
|
24262 |
+ ENABLE_CLAMSUBMIT_TRUE='#' |
|
24263 |
+ ENABLE_CLAMSUBMIT_FALSE= |
|
24264 |
+fi |
|
24265 |
+ |
|
24266 |
+ |
|
24258 | 24267 |
# Check whether --enable-libfreshclam was given. |
24259 | 24268 |
if test "${enable_libfreshclam+set}" = set; then : |
24260 | 24269 |
enableval=$enable_libfreshclam; enable_libfreshclam=$enableval |
... | ... |
@@ -25259,6 +25348,10 @@ if test -z "${SYSTEM_LFS_FTS_TRUE}" && test -z "${SYSTEM_LFS_FTS_FALSE}"; then |
25259 | 25259 |
as_fn_error $? "conditional \"SYSTEM_LFS_FTS\" was never defined. |
25260 | 25260 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
25261 | 25261 |
fi |
25262 |
+if test -z "${ENABLE_CLAMSUBMIT_TRUE}" && test -z "${ENABLE_CLAMSUBMIT_FALSE}"; then |
|
25263 |
+ as_fn_error $? "conditional \"ENABLE_CLAMSUBMIT\" was never defined. |
|
25264 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
25265 |
+fi |
|
25262 | 25266 |
if test -z "${ENABLE_LIBFRESHCLAM_TRUE}" && test -z "${ENABLE_LIBFRESHCLAM_FALSE}"; then |
25263 | 25267 |
as_fn_error $? "conditional \"ENABLE_LIBFRESHCLAM\" was never defined. |
25264 | 25268 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
... | ... |
@@ -27852,6 +27945,10 @@ if test -z "${SYSTEM_LFS_FTS_TRUE}" && test -z "${SYSTEM_LFS_FTS_FALSE}"; then |
27852 | 27852 |
as_fn_error $? "conditional \"SYSTEM_LFS_FTS\" was never defined. |
27853 | 27853 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
27854 | 27854 |
fi |
27855 |
+if test -z "${ENABLE_CLAMSUBMIT_TRUE}" && test -z "${ENABLE_CLAMSUBMIT_FALSE}"; then |
|
27856 |
+ as_fn_error $? "conditional \"ENABLE_CLAMSUBMIT\" was never defined. |
|
27857 |
+Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
27858 |
+fi |
|
27855 | 27859 |
if test -z "${ENABLE_LIBFRESHCLAM_TRUE}" && test -z "${ENABLE_LIBFRESHCLAM_FALSE}"; then |
27856 | 27860 |
as_fn_error $? "conditional \"ENABLE_LIBFRESHCLAM\" was never defined. |
27857 | 27861 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |