[Clamav-devel] Linux, configure.ac: automake 1.16, AC_SYS_LARGEFILE

Sergey a_s_y at sama.ru
Sat Apr 13 02:45:46 EDT 2019


Hello.

It about two different problems but in one file.

1. automake 1.16

ClamAV isn't built if autoreconf was used. AC_CONFIG_AUX_DIR([config])
should be placed after AC_INIT before all other.

2. AC_SYS_LARGEFILE.

It is needed for i586. What do you think about to add it globally?
There's the one problem: glibc version check is needed. 

For example glibc 2.17 contains (in include/fts.h):

#ifdef __USE_FILE_OFFSET64
# error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64"
#endif

I don't know when it was removed but glibc 2.23 isn't contains it
and AC_SYS_LARGEFILE works.

-- 
Regards,
Sergey


More information about the clamav-devel mailing list