On 12/11/2015 17:29, John Snow wrote:
> I broke this when adding checks for clang++.
> 
> Reported-by: Laurent Vivier <lviv...@redhat.com>
> Signed-off-by: John Snow <js...@redhat.com>
> 
> ---
>  configure | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index 46fd8bd..f75df4b 100755
> --- a/configure
> +++ b/configure
> @@ -4435,7 +4435,8 @@ fi
>  if test "$fortify_source" != "no"; then
>    if echo | $cc -dM -E - | grep __clang__ > /dev/null 2>&1 ; then
>      fortify_source="no";
> -  elif echo | $cxx -dM -E - | grep __clang__ > /dev/null 2>&1 ; then
> +  elif test -n "$cxx" &&
> +       echo | $cxx -dM -E - | grep __clang__ >/dev/null 2>&1 ; then
>      fortify_source="no";
>    else
>      fortify_source="yes"
> 

This fixes the problem: no more error message.

Thanks,
Laurent

Reply via email to