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

Sergey a_s_y at sama.ru
Wed May 8 11:35:56 EDT 2019


On Friday 26 April 2019, Micah Snyder (micasnyd) wrote:

>    > 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.
>     
> Do you suggest this? 
> 
> diff --git a/configure.ac b/configure.ac
> index b333e3eb2..fbb62526c 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -23,13 +23,13 @@ AC_PREREQ([2.59])
>  dnl For a release change [devel] to the real version [0.xy]
>  dnl also change VERSION below
>  AC_INIT([ClamAV], [0.102.0-devel], [https://bugzilla.clamav.net/], [clamav], [https://www.clamav.net/])
> +AC_CONFIG_AUX_DIR([config])
> 
>  dnl enable C++
>  AC_PROG_CXX()
> 
>  AH_BOTTOM([#include "platform.h"])
>  dnl put configure auxiliary into config
> -AC_CONFIG_AUX_DIR([config])
>  AC_CONFIG_HEADERS([clamav-config.h libclammspack/config.h:libclammspack/config.h.in])
> 
>  dnl safety check, this used to be a parameter to AC_INIT

Yes. And with comment "dnl put configure auxiliary into config"

-- 
Regards,
Sergey


More information about the clamav-devel mailing list