Commit Graph

41 Commits

Author SHA1 Message Date
Török Edvin
2c7d5adc15 If C++ compiler is not available, don't build LLVM.
This is tricky, because autoconf provides no way to do this automatically
(AC_PROG_CXX fails if no C++ compiler).
One could override AC_MSG_ERROR/FAILURE for AC_PROG_CXX, but that causes all
sorts of problems later (like sys/types.h not found).

So instead create yet another configure in libclamav/c++,
but teach autoconf not to fail if the subconfigure fails
(by overriding AC_MSG_ERROR to set a variable instead of exiting).

This seems to work with shared and static builds, "-all-static" builds
don't work yet, will fix that later.
2009-08-31 15:49:41 +03:00
Török Edvin
8771ff1860 rename libclamav/{llvm->c++} 2009-08-31 11:39:46 +03:00
Török Edvin
d1487222f7 Draft of libclamav <-> jit communication. 2009-08-25 19:06:32 +03:00
Török Edvin
731d647a7a Regenerate build system files. 2009-08-24 19:39:51 +03:00
Török Edvin
441eaf95d0 Add llvm autoconf glue. 2009-08-24 19:39:25 +03:00
aCaB
295f1d1f8b build system upgrade - bb#1528 2009-08-21 00:57:55 +02:00
aCaB
86d59b249e fix portability issues for fseeko, sysconf(_SC_PAGESIZE), getpagesize() (bb#1658) 2009-07-16 14:21:25 +02:00
Török Edvin
997a1efeb2 Draft of bytecode loader. 2009-06-26 16:30:46 +03:00
Török Edvin
59cd8739d1 add missing file
git-svn: trunk@5002
2009-04-01 18:36:20 +00:00
Török Edvin
2480ce633a CMSG_SPACE/CMSG_LEN compat macros for Solaris 8 (bb #1439).
git-svn: trunk@4897
2009-03-04 15:51:28 +00:00
Török Edvin
e4fb91da32 attempt to fix AC_C_BIGENDIAN action-if-universal, regenerate files.
git-svn: trunk@4887
2009-03-02 20:12:13 +00:00
Török Edvin
6d92d9debb add missing AC_RESULT.
git-svn: trunk@4857
2009-02-24 20:18:47 +00:00
Török Edvin
8db0a3463d clamdtop moved to toplevel + manpage.
git-svn: trunk@4846
2009-02-23 12:35:34 +00:00
aCaB
e4ea04d5db mpool config check workaround for openbsd
git-svn: trunk@4824
2009-02-18 17:41:15 +00:00
aCaB
3be4ac3f65 drop useless checks
git-svn: trunk@4545
2008-12-07 15:12:07 +00:00
Török Edvin
27a135f5d2 more multiarch dir fixes (bb #1277)
git-svn: trunk@4453
2008-11-20 19:53:14 +00:00
Török Edvin
64071d250a search in non-multiarch dir (bb #1277)
git-svn: trunk@4451
2008-11-20 14:21:59 +00:00
aCaB
8462fc2f1a typo in mmap check
git-svn: trunk@4375
2008-11-10 19:00:34 +00:00
aCaB
f7483b1082 merge dlopen branch
git-svn: trunk@4371
2008-11-10 17:53:36 +00:00
Török Edvin
674cc586f0 fix build on AIX: for some odd reason echo target.h was producing 'x', so don't use echo ifelse(..., since ifelse is expanded by aclocal anyway
git-svn: trunk@4365
2008-11-10 14:09:31 +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
aCaB
946bd26646 merge mempool branch
git-svn: trunk@4320
2008-11-01 02:39:00 +00:00
Török Edvin
d4c8adb3c0 Try to make a difference between failing to link the bzip2 testcase and the testcase failing (bb #1240)
git-svn: trunk@4306
2008-10-29 19:19:48 +00:00
Török Edvin
48432955a5 fix typo in previous commit
git-svn: trunk@4288
2008-10-22 14:20:21 +00:00
Török Edvin
2c9248cb84 When user has overriden --libdir, we still need to find out the correct
acl_libdirstem

git-svn: trunk@4287
2008-10-22 14:18:54 +00:00
Török Edvin
9d444ac69b use -print-multi-os-directory to set default libdir (bb #1240)
WARNING: On a 64-bit multiarch OS, this will by default install libclamav
into /usr/local/lib64, if your system uses /usr/local/lib for 32bit apps.
If the system uses /usr/local/lib for 64-bit apps and lib32 for 32bit apps,
there is no change (unless you use -m32).

git-svn: trunk@4284
2008-10-20 14:00:07 +00:00
Török Edvin
e54e2ce176 fix typo
git-svn: trunk@4191
2008-09-18 11:27:45 +00:00
Török Edvin
73aeb57efe add a script to contrib that builds clamav with mudflap and other checks (bb #1092)
fix ac_cv usage in m4/acinclude.m4
fixes for unit_tests/

git-svn: trunk@4177
2008-09-15 16:23:19 +00:00
Török Edvin
8622d6b360 fix typo causing build failure
git-svn: trunk@4174
2008-09-13 12:30:18 +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
8f4cf10fc6 fix bzip2 cve test link problems (bb #1158)
git-svn: trunk@4168
2008-09-04 09:53:09 +00:00
Török Edvin
9d1f26b918 forgot to add file
git-svn: trunk@4146
2008-08-28 09:36:44 +00:00
Török Edvin
f7e2294c17 fix compiler warnings, and adjust cflags (bb #1142)
configure: if SENDMAIL_VERSION_A cannot be determined, check for
smfi_opensocket, and assume version 8.13.
 For example this happens if you have postfix installed instead of sendmail

git-svn: trunk@4139
2008-08-25 12:50:09 +00:00
aCaB
80ecc71ec9 reenable dns in freebsd
git-svn: trunk@4104
2008-08-11 22:19:05 +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
cb4e478c1a remove duplicate code, and fix build error (bb #1034)
git-svn: trunk@3859
2008-05-24 19:27:48 +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
aCaB
440fcf67fa CVE-2008-1372 - bb#903
git-svn: trunk@3794
2008-04-16 18:09:47 +00:00
aCaB
814bc241e9 make fpu endianess manually configurable
git-svn: trunk@3653
2008-02-18 20:50:19 +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