[pulseaudio-discuss] [PATCH] build-sys: test for cxx-11 after AC_USE_SYSTEM_EXTENSIONS

Tanu Kaskinen tanuk at iki.fi
Fri Oct 13 22:55:59 UTC 2017


On Fri, 2017-10-13 at 12:23 -0300, Felipe Sateler wrote:
> This avoids the following autoconf warning:
> configure.ac:89: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
> ../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from...
> configure.ac:89: the top level
> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 77b5ff5d..0c38fbb5 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -84,9 +84,9 @@ AM_PROG_CC_C_O
>  # Only required if you want the WebRTC canceller -- no runtime dep on
>  # libstdc++ otherwise
>  AC_PROG_CXX
> -AX_CXX_COMPILE_STDCXX_11([ext],[optional])
>  AC_PROG_GCC_TRADITIONAL
>  AC_USE_SYSTEM_EXTENSIONS
> +AX_CXX_COMPILE_STDCXX_11([ext],[optional])
>  
>  # M4

Thanks! Applied. One step closer to a build without warnings :)

-- 
Tanu

https://www.patreon.com/tanuk


More information about the pulseaudio-discuss mailing list