Commit Graph

62 Commits

Author SHA1 Message Date
Shawn Webb
ebc76d2620 Pass in CFLAGS needed for grabbing curl's headers 2014-01-30 11:57:02 -05:00
Shawn Webb
f310738305 Initial commit for clamsubmit app 2014-01-28 10:38:40 -05:00
David Raynor
b09a05e4c3 Rework configure code for libxml2 check 2013-09-20 17:01:48 -04:00
David Raynor
217295cc65 bb #1570: DMG TOC and striping (not reassembly yet), and libxml2 check 2013-09-13 10:40:58 -04:00
Shawn Webb
391c46d48b Revert "Fix autotools on FreeBSD"
This reverts commit ff060a0c3a.
2012-12-27 15:34:38 +00:00
Shawn Webb
ff060a0c3a Fix autotools on FreeBSD 2012-12-20 19:03:44 +00:00
Shawn Webb
dee0b8f95a bb1823 - Enable linking with custom zlib 2012-11-05 13:36:22 -05:00
Shawn webb
d1ffa04fe7 Add back in the Makefile.in files 2012-08-13 08:54:05 -04:00
Shawn webb
913826d168 Remove unnecessary autotools artifacts 2012-08-10 14:44:37 -04:00
Shawn webb
29b92a2d58 BB#5612 - Allow build on Interix 2012-08-09 09:59:56 -04:00
Shawn webb
3123aef04a Fix unit tests. Makefile.in doesn't need to be changed for the stats64 change. 2012-07-23 18:13:40 -04:00
Shawn webb
a2a004df25 BB#3737 - Value too large for specified data type
Create compile-time preprocessor defines for switching from calling
stat() to stat64(). Add --enable-stat64 switch in configure script.
2012-07-16 15:36:49 -04:00
Tom Judge
2304f7e256 Update configuration artificats. 2012-05-31 12:44:16 -04:00
Tomasz Kojm
d68aba83b6 clamd: ScanOnAccess now supports ClamAuth on OS X 2012-03-01 19:49:51 +01:00
Török Edvin
4fe129a313 build system: upgrade libtool and libltdl 2011-04-14 16:00:25 +03:00
Török Edvin
3694e4cb97 build system: regenerate.
With autoconf 2.67 and libtool 2.2.6b, not upgrading yet.
2011-04-14 13:53:06 +03:00
aCaB
14294b605d bb#2400 2011-01-19 12:17:34 +01:00
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