[systemd-devel] [systemd-commits] m4/attributes.m4

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Tue Feb 24 08:54:18 PST 2015


On Tue, Feb 24, 2015 at 08:52:20AM -0800, David Herrmann wrote:
>  m4/attributes.m4 |    5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> New commits:
> commit 43bbf1acc8202de895e5449828a7b863c69fcc2f
> Author: David Herrmann <dh.herrmann at gmail.com>
> Date:   Tue Feb 24 17:49:48 2015 +0100
>                   AS_TR_SH([cc_cv_$2_$3]),
>            [eval "AS_TR_SH([cc_save_$2])='${$2}'"
> -           eval "AS_TR_SH([$2])='-Werror $3'"
> +           eval "AS_TR_SH([$2])='-Werror `echo "$3" | sed 's/^-Wno-/-W/'`'"
>             AC_LINK_IFELSE([AC_LANG_SOURCE([int main(void) { return 0; } ])],
>                            [eval "AS_TR_SH([cc_cv_$2_$3])='yes'"],
>                            [eval "AS_TR_SH([cc_cv_$2_$3])='no'"])
Nice, thanks!

Zbyszek


More information about the systemd-devel mailing list