Commit Graph

55 Commits

Author SHA1 Message Date
aCaB
e458124a11 bump autoconf, make test files on make check (bb#2339) 2010-11-04 00:22:34 +01:00
Török Edvin
dec93ea86f Fix bytecode and autoitea06 for Apple-style universal builds (bb #2030)
Bytecode needs to enable both PPC and X86, link in all targets,
and autoit needs fpu_endian == cpu_endian for universal builds.
2010-10-18 11:27:06 +03:00
aCaB
9f021791d1 bb#2287 2010-09-23 18:01:25 +02:00
aCaB
fcd8091474 bb#2230-2231 2010-09-20 14:20:04 +02:00
aCaB
32f05bd3f9 re-fix #1985 2010-06-01 17:29:40 +02:00
aCaB
4b4d7846fb bb#1940 2010-05-15 22:32:44 +02:00
aCaB
d8c6d2bf76 bb#1985 2010-05-01 02:06:36 +02:00
Török Edvin
9b2f14fa5c clamconf: print information about platform and build.
This should help diagnose bugs faster, since the user only needs to include
the output of 'clamconf -n' to get most of the needed info.
2010-04-19 17:14:57 +03:00
Török Edvin
fdb7b9e926 Print feature summary after configure is finished. 2010-01-29 14:39:02 +02:00
aCaB
76ce5b5336 Merge branch 'master' of git.clam.sourcefire.com:/var/lib/git/clamav-devel 2010-01-26 14:23:45 +01:00
aCaB
fbc00ddd38 win32 build stuff 2010-01-26 14:23:01 +01:00
Török Edvin
d0fab3c578 don't link clamdscan with -lz -ldl (bb #1474)
Apply a libltdl patch to avoid adding -ldl to LIBS.
Only add -lz to LIBCLAMAV_LIBS, libtool will add -lz as necessary
to programs linking libclamav.la.
Also add an export map to clamdscan, it only needs to export main.
Also remove the [1] from g++ version check to allow buildtesting with clang++.
2010-01-26 10:08:48 +02:00
Török Edvin
1b2396cabb Update to autoconf 2.65, and libtool 2.2.6b. 2009-12-11 18:11:56 +02:00
Török Edvin
bb7b9789a1 Avoid trailing slash in libdir for old gcc (bb #1738). 2009-10-30 14:05:26 +02:00
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