AC_TRY_RUN is obsolte and this is also bad for cross-compiling. The main
reason why I try get rid of it is because this code will segfault due to
the first NULL pointer.
In the end we what to figure out if the FTS implementation compiles with
LFS so there is no need to execute that. Just try to compile it.
Patch-Name: fts-no-use-AC_TRY_RUN.patch
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Mickey Sola <msola@sourcefire.com>
This file has been copied out of glibc and slightly modified.
The fts() implementation in current libc does not support LFS which
looks like a glibc (only) restriction. The code has been copied out of
glibc and the used functions (like fstat()) have been modified to use the
public exported libc function instead of the internal one. The libc
functions are are using the LFS version.
The fts() functions gained the _priv_ prefix so they do not clash with
glibc's functions.
This patch will be dropped once glibc's fts() implementations is LFS
safe which is glibc 2.23+, the bug is tracked in glibc's bugzilla as
11460 => https://sourceware.org/bugzilla/show_bug.cgi?id=11460
Patch-Name: clamav_add_private_fts_implementation.patch
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Mickey Sola <msola@sourcefire.com>
To enable prelude compile with ./configure --enable-prelude
In ClamAV configuration file set Prelude Enable on yes and choose an analyzer name with PreludeAnalyzerName (default ClamAV).
You need to have a prelude manager to use this module.
added additional information to llvm summary
added defaults "/usr/local" and "/usr" to with-system-llvm
enable-llvm defaults to "yes" if with-system-llvm specified, "auto" otherwise
updated help messages, added with-system-llvm to main configure help