[PATCH v4] configure: Replaced obsolete AC_TRY_COMPILE

Mike Frysinger vapier@gentoo.org
Sat May 22 01:11:53 GMT 2021


On 11 May 2021 01:34, Naohiro Tamura wrote:
> --- a/configure.ac
> +++ b/configure.ac
> 
> -[AC_TRY_COMPILE([], [
> +[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
>  #ifdef _FORTIFY_SOURCE
>  # error bogon
> -#endif],
> +#endif]])],

this can be AC_PREPROC_IFELSE
-mike


More information about the Libc-alpha mailing list