On 2009-02-20 02:12, Stephen Gran wrote: > Hopefully this will be a useful patch. > > Cheers, > > [PATCH] Modify build system to conditionally use system install of > libtommath - > it will be used if it is installed, or if it is explicitly enabled in > configure > Signed-off-by: Stephen Gran <[email protected]> > >
Does this prefer the included tommath over the system one? Using the system one by default would be bad, because we had to make some changes to workaround compiler problems. For example OpenBSD 4.3 comes with gcc3.3, that has a broken __udivti3 in libgcc2 on amd64 (see https://wwws.clamav.net/bugzilla/show_bug.cgi?id=1409), so MP64_BIT is turned off, to avoid using __attribute__((mode(TI))). Best regards, --Edwin _______________________________________________ http://lurker.clamav.net/list/clamav-devel.html Please submit your patches to our Bugzilla: http://bugs.clamav.net
