Commit Graph

55 Commits

Author SHA1 Message Date
aCaB
814bc241e9 make fpu endianess manually configurable
git-svn: trunk@3653
2008-02-18 20:50:19 +00:00
Török Edvin
b309ed2f61 AC_TRY_COMPILE already wraps its args with int main(){}, don't do it twice This fixes a build failure on HP-UX
git-svn: trunk@3645
2008-02-16 11:58:06 +00:00
aCaB
f97245ae57 bb#842
git-svn: trunk@3640
2008-02-15 12:30:06 +00:00
Török Edvin
e1bb690579 don't use EXIT_SUCCESS if <stdlib.h> is not included;
include <sys/select.h> only if needed for fd_set (bb #452)


git-svn: trunk@3604
2008-02-10 08:44:14 +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
183f9e7571 enhance CLI_ISCONTAINED checks, reorder checks
git-svn: trunk@3586
2008-02-05 21:09:56 +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
7d39618297 fix quoting of version.
git-svn: trunk@3565
2008-01-30 21:33:27 +00:00
Török Edvin
8b46ba3f1c add AC_C_RESTRICT (bb #452)
git-svn: trunk@3564
2008-01-30 21:12:43 +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
Tomasz Kojm
9f71410ad3 if available use dscl on Mac OS X (bb#753)
git-svn: trunk@3524
2008-01-22 14:52:08 +00:00
Tomasz Kojm
ad08b903a5 don't link with nsl if not needed (bb#754)
git-svn: trunk@3522
2008-01-22 10:49:50 +00:00
Tomasz Kojm
1d643803e5 drop internal snprintf implementation
git-svn: trunk@3518
2008-01-21 17:38:42 +00:00
Török Edvin
4e1127c594 AC_TRY_LINK already adds a main(), remove duplicate main()
entconv improvements to improve security and performance
	Part I for  (bb #686, #386)
	TODO:
	* optimize entity_norm
	* create testfiles for unicode encoding variants
	* create a regression test
	* check for memory leaks


git-svn: trunk@3511
2008-01-20 22:18:14 +00:00
aCaB
ace28304ad byteswapped testfiles - bb#398
git-svn: trunk@3506
2008-01-18 11:41:02 +00:00
Török Edvin
6eac0e0612 improve iconv() detection, by actually trying to link a test-program (bb #599).
git-svn: trunk@3485
2008-01-06 18:06:56 +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
aCaB
c528900f5e reenable canadian cross in configure
git-svn: trunk@3483
2008-01-06 15:07:52 +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
Török Edvin
097455e1c4 add ld version script support.
cl_ symbols are exported with a CLAMAV_PUBLIC version,
 cli_ symbols with a CLAMAV_PRIVATE version.
TODO: reduce number of cli_* symbols exported.
clamav-milter/Makefile.in/am: fix out-of-tree builds of manpage.


git-svn: trunk@3463
2007-12-28 21:59:48 +00:00
Török Edvin
ff75dedb3d strcasestr() check and replacement.
git-svn: trunk@3461
2007-12-28 15:13:12 +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
510f59248e bump f-level and revision
git-svn: trunk@3399
2007-12-12 23:19:44 +00:00
Tomasz Kojm
5ca7fd1813 re-include RAR code
git-svn: trunk@3396
2007-12-12 21:46:34 +00:00
Tomasz Kojm
fe31e308d0 bump revision
git-svn: trunk@3378
2007-12-06 15:16:36 +00:00
Tomasz Kojm
067ecc29a3 temporarily remove the RAR code
git-svn: trunk@3371
2007-12-06 14:48:48 +00:00
aCaB
ed93f138f3 preliminary autoit support (ea05/ea06)
minor fixes coming up later

git-svn: trunk@3340
2007-10-30 18:53:25 +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
d13fdf0315 update
git-svn: trunk@3284
2007-10-08 21:25:37 +00:00
Török Edvin
8fffd0ed51 don't use stdint.h in configure.in tests (bb #673)
git-svn: trunk@3241
2007-09-23 17:05:57 +00:00
Török Edvin
6295dc5cdc configure, configure.in: add comment on origin of testcases.
git-svn: trunk@3237
2007-09-21 16:26:26 +00:00
Török Edvin
cbc69ae811 add check to detect certain compiler bugs that cause incorrect code generation for CLI_ISCONTAINED.
So we avoid having bugs like #613, and #670 reported over and over.


git-svn: trunk@3234
2007-09-20 22:00:04 +00:00
Török Edvin
53ff1b0490 add regcomp(), regexec() impl. from OpenBSD's libc.
This code is licensed under the 3-clause BSD.
This will be used instead of system provided regexec()/regcomp() to
have consistent behaviour across platforms.


git-svn: trunk@3225
2007-09-17 18:54:56 +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
Tomasz Kojm
18ac2256e4 update
git-svn: trunk@3135
2007-07-10 23:15:32 +00:00
aCaB
35eb635417 compiler indepenedent sign-extended signed right shift macroes
git-svn: trunk@3126
2007-07-08 16:43:56 +00:00
Tomasz Kojm
4fbe95ed57 update
git-svn: trunk@3111
2007-06-24 15:13:41 +00:00
Tomasz Kojm
e66402f5db update
git-svn: trunk@3092
2007-05-30 23:48:41 +00:00
Tomasz Kojm
a6d4c3f95e fix compilation issues under FreeBSD 4.x and 5.x (bb#455)
git-svn: trunk@3072
2007-05-28 16:27:51 +00:00
Tomasz Kojm
73224c705e remove libcurl checks
git-svn: trunk@3041
2007-05-01 12:01:12 +00:00
Tomasz Kojm
a39ae4686d use actual version and user names in man pages (bb#408)
git-svn: trunk@2963
2007-03-21 02:12:51 +00:00
Tomasz Kojm
d6d9e527da use -lthr instead of -pthread on FreeBSD 6.x
git-svn: trunk@2948
2007-03-16 22:54:32 +00:00
Tomasz Kojm
71dd1750fd don't link against libcurl in experimental mode
git-svn: trunk@2907
2007-03-05 20:21:56 +00:00
Tomasz Kojm
8bead9a17d add GNU/Hurd support (bb#363)
git-svn: trunk@2906
2007-03-05 20:04:36 +00:00
Tomasz Kojm
e8e9d02e0a update libclamav version number
git-svn: trunk@2895
2007-03-02 01:58:52 +00:00
Tomasz Kojm
34f71e0e12 clamscan: merge win32 patches from NJH
git-svn: trunk@2864
2007-02-25 02:54:38 +00:00
Tomasz Kojm
ef38c83d47 add support for HP-UX 11.11
git-svn: trunk@2856
2007-02-24 03:30:27 +00:00