make --enable-coverage depends on unit tests being activated
fix a typo in bzip2 configure check
remove temporary log files on make clean
git-svn: trunk@3953
fix configure test for check: if it is not available, and we didn't pass
--enable-check, do not complain
add unit test for jsnorm bug
git-svn: trunk@3949
enable unit tests by default (if check is available)
add --enable-coverage to run gcov/lcov
add --enable-tests-install to install test files
git-svn: trunk@3935
m4/fdpassing.m4: move all FD passing checks here
clamd/session.[ch], scanner.[ch]:
contrib/clamd_fdscan:
add rfc2292/bsd4.4 style file descriptor passing support
this code is from Marc Balmer <marc*msys.ch>, with some portability
fixes applied
git-svn: trunk@3849
This caused all executables to be linked against libcheck on some platforms.
We only need to link with libcheck the unit-test, so avoid this by specifying a command as 3rd arg.
Regenerate configure & Makefiles.
git-svn: trunk@3773
test for attribute((packed)) only on GNUC compilers, because Sun's cc ignores it
move iconv check after zlib/bzip2 checks
use ../ to avoid problems with spaces in directory names
git-svn: trunk@3671
by default current prefix is also searched
allow to specify libb2 location, by using --with-bz2-prefix,
by default current prefix is also searched
locating gmp and bz2 works by default on OpenBSD (bb #301)
move local m4 macros to m4/
import lib-link.m4 and dependent files
quoting for autoconf macros (bb #452)
git-svn: trunk@3566
Markus Elfring <Markus.Elfring*web.de> in bb #452)
* use AC_CONFIG_HEADER, since AM_CONFIG_HEADER is obsolete
* put configure files into auxiliary directory
* fix main declaration in FD_SETSIZE test
* check for failure on fopen in FD_SETSIZE test
* move version from AM_INIT_AUTOMAKE to AC_INIT, old form was obsolete
* eliminate automake warnings, update Makefile.am
* rename .splitted to .split (requested by aCaB)
git-svn: trunk@3563
entconv improvements to improve security and performance
Part I for (bb #686, #386)
TODO:
* optimize entity_norm
* create testfiles for unicode encoding variants
* create a regression test
* check for memory leaks
git-svn: trunk@3511
use $GREP to grep binary files, needed for autoit to build on Solaris.
add support for both GNU and Sun ld version scripts.
add version script maps to libclamunrar, libclamunrar_iface. Enumerate all symbols, Sun's ld doesn't support cl_* (only *).
cli_decodesig needs a dummy definition on Solaris.
git-svn: trunk@3474
cl_ symbols are exported with a CLAMAV_PUBLIC version,
cli_ symbols with a CLAMAV_PRIVATE version.
TODO: reduce number of cli_* symbols exported.
clamav-milter/Makefile.in/am: fix out-of-tree builds of manpage.
git-svn: trunk@3463