Commit graph

45 commits

Author SHA1 Message Date
Török Edvin
909407e70b Regenerate build system after clamconf change. 2010-04-19 17:14:57 +03:00
Török Edvin
57cb0075d9 regenerate build files.
using automake 1.11.1
2010-01-26 10:10:56 +02:00
Török Edvin
5b5e4e6ef0 Merge branch 'bytecode'
* bytecode: (99 commits)
  Update to autoconf 2.65, and libtool 2.2.6b.
  Disable LLVM's make check for now.
  Output trace messages to stderr, to ensure its flushed.
  Support for bytecode lines >8k.
  Print llvm's version too when printing clambc's.
  Fix global initializer bitcasts.
  Allow controlling trace level from cmdline.
  Refactor trace API, so that trace printing happens in clambc.
  Add support for null constant.
  Trace formatting fixes.
  Add support for tracing (if bytecode compiled with support).
  Drop extra {} and "".
  Fix compiler version check for C++: autoconf needs [] to be escaped.
  change bytecode format to allow structs with more than 16 fields.
  Fix after merge: update to fmap API.
  Support for scanning files created by bytecode.
  read optional debug metadata.
  Sync headers with clamav bytecode compiler.
  Print better error message when wrong function is called.
  Update to new LLVM API.
  ...

Conflicts:
	Makefile.am
	Makefile.in
	configure
	configure.in
	libclamav/Makefile.am
	libclamav/Makefile.in
	libclamav/pe.h
2009-12-11 18:21:04 +02:00
aCaB
7ab261a02b properly check for lm 2009-12-07 19:52:36 +01:00
Török Edvin
2c4c464098 Regenerate the buildfiles. 2009-08-31 15:52:44 +03:00
Török Edvin
d13f148a9c Regenerate build stuff. 2009-08-25 19:06:35 +03:00
Török Edvin
731d647a7a Regenerate build system files. 2009-08-24 19:39:51 +03:00
aCaB
295f1d1f8b build system upgrade - bb#1528 2009-08-21 00:57:55 +02:00
aCaB
f333d0bccb introduce new lzma 2009-08-05 16:20:29 +02:00
Török Edvin
997a1efeb2 Draft of bytecode loader. 2009-06-26 16:30:46 +03:00
Török Edvin
4b93f2b633 check for mallinfo availability (bb #1445).
git-svn: trunk@5001
2009-04-01 17:51:44 +00:00
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
2009-03-02 16:39:54 +00:00
Török Edvin
8db0a3463d clamdtop moved to toplevel + manpage.
git-svn: trunk@4846
2009-02-23 12:35:34 +00:00
Tomasz Kojm
47d40feb7a libclamav: use LibTomMath by Tom St Denis instead of libgmp for multiple precision integer arithmetic (bb#1366)
git-svn: trunk@4650
2009-01-26 19:47:02 +00:00
aCaB
3be4ac3f65 drop useless checks
git-svn: trunk@4545
2008-12-07 15:12:07 +00:00
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
2008-11-09 18:23:04 +00:00
Török Edvin
ae685a75c1 link to libclamunrar_iface explicitly to
allow non-rpath builds to work. (bb #1203)
Thanks to James Ralston <ralston*pobox.com>

git-svn: trunk@4224
2008-10-03 17:11:59 +00:00
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
2008-09-11 11:02:12 +00:00
aCaB
6d48ea885a update libtool - bb#1162
git-svn: trunk@4170
2008-09-10 16:09:20 +00:00
Török Edvin
2d75763208 revert last commit, it breaks bzip2 detection in /usr/local
git-svn: trunk@4163
2008-09-02 11:52:53 +00:00
Török Edvin
8179270b95 if pkg-config cannot find check look in standard places for check
(such as /usr/local/lib)

git-svn: trunk@4162
2008-09-02 08:40:27 +00:00
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
2008-08-26 12:45:20 +00:00
aCaB
55144c4766 work around non reentrant lresolv
git-svn: trunk@4087
2008-08-06 00:27:36 +00:00
Török Edvin
1eb943f3fc use automake for a basic check that the installed programs work.
currently only tests clamscan and sigtool

database: 0 sized .cvd files were still installed, because exit 0 didn't stop
the entire rule. fixed


git-svn: trunk@4042
2008-07-31 13:58:30 +00:00
Török Edvin
b6927a7c77 fix 'make distcheck':
add missing files to EXTRA_DIST, SOURCES
update CLEANFILES
.conf files and .cvd files are not removed during uninstall on purpose =>
whitelist them in distuninstallcheck


git-svn: trunk@4040
2008-07-31 13:13:48 +00:00
Tomasz Kojm
87c60307d4 database/Makefile.am: add check for .cld files (bb#1088)
git-svn: trunk@4007
2008-07-28 11:08:14 +00:00
Török Edvin
d1d558c944 use pkg-config to locate check, if available (bb #1093)
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
2008-07-15 15:50:50 +00:00
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
2008-07-10 17:08:41 +00:00
Török Edvin
fd08e02ea3 add Javascript normalizer (not yet enabled)
git-svn: trunk@3917
2008-07-07 19:10:50 +00:00
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
2008-05-09 21:12:28 +00:00
Török Edvin
e5b0783922 -lcheck needs to be conditional, use @LCHECK@.
Regenerate Makefiles.


git-svn: trunk@3774
2008-04-08 12:57:55 +00:00
Török Edvin
282417339c quote macro arguments, group AC_C_* macros (bb #452),
thanks to Markus Elfring <Markus.Elfring*web.de>
move ld --version-script check after compiler checks
run autoreconf (new libtool)



git-svn: trunk@3598
2008-02-08 12:38:09 +00:00
Török Edvin
3064a5428c generic text normalizer (bb #241)
update automake files: automake complained that they were too old


git-svn: trunk@3583
2008-02-04 21:25:31 +00:00
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
2008-01-31 12:07:57 +00:00
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
2008-01-30 21:06:36 +00:00
Török Edvin
a0e5e84425 avoid bringing in checks for languages we don't use (decreases configure size by 300Kb+).
git-svn: trunk@3484
2008-01-06 16:58:25 +00:00
Török Edvin
80cf63099c add support for version scripts when using Sun's ld on Solaris.
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
2007-12-31 12:46:26 +00:00
aCaB
8ec38f70a0 changelog + reverted automake10
git-svn: trunk@3414
2007-12-13 21:49:38 +00:00
aCaB
f377e052cd Merging the post0.92 stuff
Please don't commit anything till I'm finished

A full changelog will come up later

Thanks


git-svn: trunk@3410
2007-12-13 19:45:38 +00:00
Tomasz Kojm
5ca7fd1813 re-include RAR code
git-svn: trunk@3396
2007-12-12 21:46:34 +00:00
Tomasz Kojm
067ecc29a3 temporarily remove the RAR code
git-svn: trunk@3371
2007-12-06 14:48:48 +00:00
Tomasz Kojm
6ce302428f by default don't build and link with libclamunrar;
use --enable-unrar to build with RAR support



git-svn: trunk@3324
2007-10-26 18:45:20 +00:00
Trog
2fda4dc0ea * libclamunrar: move unrar to a separate library, under an unrar license.
* libclamav/unarj: further bounds checking


git-svn: trunk@3310
2007-10-23 12:04:53 +00:00
Tomasz Kojm
09eab32afc move hardware acceleration code to contrib/hwaccel/hwaccel.patch
git-svn: trunk@3209
2007-09-07 14:22:10 +00:00
Sven Strickroth
a99111f050 remove old CVS-stuff and make the repository look more like SVN
git-svn: trunk@2755
2007-02-17 19:02:20 +00:00