aCaB
e458124a11
bump autoconf, make test files on make check (bb#2339)
15 years ago
aCaB
4b4d7846fb
bb#1940
15 years ago
aCaB
16b28d07ec
collect sha256
...
compute sha256
sha collector - build system
15 years ago
Török Edvin
909407e70b
Regenerate build system after clamconf change.
15 years ago
Török Edvin
92a08a03bf
--enable-unsigned-bytecode.
...
Use this instead of --enable-debug to enable load of unsigned bytecode.
15 years ago
aCaB
43a4b81684
remove dead check for HAVE_CONTROL_IN_MSGHDR
16 years ago
aCaB
15fbe96ff6
removed r_gethostbyname which was not used
16 years ago
aCaB
2de5c29b1b
check for madvise()
16 years ago
aCaB
be4bf7f4ab
win32
16 years ago
aCaB
f333d0bccb
introduce new lzma
16 years ago
aCaB
86d59b249e
fix portability issues for fseeko, sysconf(_SC_PAGESIZE), getpagesize() (bb#1658)
16 years ago
Török Edvin
997a1efeb2
Draft of bytecode loader.
16 years ago
Török Edvin
75ce59c12f
errno is not thread-safe on AIX by default, ask for thread-safe version. (bb #1480 )
...
Default stack size on AIX is too small, define BIGSTACK by default. (bb #1481 ).
git-svn: trunk@5054
16 years ago
Török Edvin
4b93f2b633
check for mallinfo availability (bb #1445 ).
...
git-svn: trunk@5001
16 years ago
Török Edvin
cd0a934f67
Prefer libclamunrar_iface that matches version (bb #1491 ).
...
Add $libdir to ltdl searchpath (bb #1476 ).
git-svn: trunk@4992
16 years ago
Tomasz Kojm
0b4c0baae0
configure: don't define HAVE_ZLIB_H
...
git-svn: trunk@4987
16 years ago
Török Edvin
e4fb91da32
attempt to fix AC_C_BIGENDIAN action-if-universal, regenerate files.
...
git-svn: trunk@4887
16 years ago
aCaB
5348fa8d28
bb#1443
...
please don't touch the build stuff for a coupel of hours so i can easily revert this commit
git-svn: trunk@4884
16 years ago
Török Edvin
8db0a3463d
clamdtop moved to toplevel + manpage.
...
git-svn: trunk@4846
16 years ago
aCaB
15b3dc2367
add --with-system-tommath
...
git-svn: trunk@4843
17 years ago
Tomasz Kojm
47d40feb7a
libclamav: use LibTomMath by Tom St Denis instead of libgmp for multiple precision integer arithmetic (bb#1366)
...
git-svn: trunk@4650
17 years ago
aCaB
3be4ac3f65
drop useless checks
...
git-svn: trunk@4545
17 years ago
aCaB
094104a7ac
preliminary dlopen support for libclamunrar - this is mostly libtool stuff
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/dlopen@4360 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
6a21552ef2
have configure define NDEBUG unless we use --enable-debug, instead of having
...
to #ifndef CL_DEBUG #define NDEBUG #endif in each .c file that uses assert.
If you want assertions enabled you'll need to use --enable-debug to configure,
as until now, no change there.
git-svn: trunk@4343
17 years ago
aCaB
0281fb4d9c
32 and 64 bit pools
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/mpool@4301 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
b105842c5c
when --disable-gcc-vcheck is set, set CFLAGS to O0 and
...
append -broken-compiler to the VERSION (bb #684 )
introduce VERSION_SUFFIX for easier handling, and convert -exp to use it
git-svn: trunk@4239
17 years ago
Török Edvin
15d67313c4
allow 'make check' to work even if check is not installed
...
by skipping checks that require it. (bb #1157 )
if configure is not able to find check, you can use
--with-libcheck-prefix, instead of CHECK_CFLAGS and
CHECK_LIBS.
remove accidental AC_DEFINE GETHOSTBYNAME_R_6 from last commit.
git-svn: trunk@4172
17 years ago
Tomasz Kojm
3027857c52
configure: use getaddrinfo() whenever available (can be disabled with
...
--disable-getaddrinfo); --disable-ipv6 now only disables support for
IPv6 addresses in getaddrinfo() (bb#1165)
git-svn: trunk@4171
17 years ago
aCaB
6d48ea885a
update libtool - bb#1162
...
git-svn: trunk@4170
17 years ago
Török Edvin
4a40b66cf0
replace AC_FUNC_MMAP: check only for MAP_PRIVATE and not MAP_FIXED (bb #1140 ) HP-UX: zlib in non-standard path, LIBS got set to -lz, but -L was missing, just restore LIBS and don't touch it
...
git-svn: trunk@4145
17 years ago
aCaB
55144c4766
work around non reentrant lresolv
...
git-svn: trunk@4087
17 years ago
Tomasz Kojm
b54eb319c6
freshclam: IPv6 support (bb#715)
...
git-svn: trunk@3940
17 years ago
Török Edvin
232c4b7016
add unit tests for binaries
...
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
17 years ago
Tomasz Kojm
600a7f2b08
configure, clamd: fix compilation error on systems without pthread_yield() (bb#1058)
...
git-svn: trunk@3910
17 years ago
Török Edvin
725a296922
build system: add configure checks for FD passing
...
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
17 years ago
Török Edvin
e8d1666f5a
configure: explicitly link freshclam with zlib, better zlib checks (bb
...
#935 )
git-svn: trunk@3804
17 years ago
Török Edvin
71a282f021
AC_CHECK_LIB 3rd argument was empty, and this causes '-lcheck' to be added to LIBS.
...
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
17 years ago
Tomasz Kojm
fe473bcb07
add initial support for unit tests
...
git-svn: trunk@3710
17 years ago
aCaB
2455584143
sync to trunk
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/newlimits@3599 77e5149b-7576-45b1-b177-96237e5ba77b
18 years ago
Török Edvin
6053d09a36
allow to specify libgmp location, by using --with-libgmp-prefix,
...
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
18 years ago
Török Edvin
7d39618297
fix quoting of version.
...
git-svn: trunk@3565
18 years ago
Török Edvin
8b46ba3f1c
add AC_C_RESTRICT (bb #452 )
...
git-svn: trunk@3564
18 years ago
Török Edvin
4c56bffa3b
build system modernization: (based on suggestion from
...
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
18 years ago
Tomasz Kojm
1d643803e5
drop internal snprintf implementation
...
git-svn: trunk@3518
18 years ago
Török Edvin
6eac0e0612
improve iconv() detection, by actually trying to link a test-program (bb #599 ).
...
git-svn: trunk@3485
18 years ago
Török Edvin
ff75dedb3d
strcasestr() check and replacement.
...
git-svn: trunk@3461
18 years ago
Tomasz Kojm
5ca7fd1813
re-include RAR code
...
git-svn: trunk@3396
18 years ago
Tomasz Kojm
067ecc29a3
temporarily remove the RAR code
...
git-svn: trunk@3371
18 years ago
aCaB
ed93f138f3
preliminary autoit support (ea05/ea06)
...
minor fixes coming up later
git-svn: trunk@3340
18 years ago
Tomasz Kojm
6ce302428f
by default don't build and link with libclamunrar;
...
use --enable-unrar to build with RAR support
git-svn: trunk@3324
18 years ago