On 10/20/17 12:37, Paolo Bonzini wrote:
> On 20/10/2017 12:27, Laszlo Ersek wrote:
>>> +if compile_object "-Werror" "" ; then
>>> +  :
>>> +else
>> Is this an established idiom for the configure script, in place of:
>>
>>   if ! compile_object "-Werror" "" ; then
>>
>> ?
>>
>> Looks good to me otherwise.
> 
> I tend not use "if !".  In general that's just me, but in this case I
> think it's useful to point out that a successful compile does nothing;
> generally it's the successful compile that adjusts command line arguments.

Thanks for the explanation.

Reviewed-by: Laszlo Ersek <ler...@redhat.com>

Cheers
Laszlo

Reply via email to