qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 07/12] configure: fix TPM logic


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 07/12] configure: fix TPM logic
Date: Mon, 15 Apr 2013 18:14:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

Il 15/04/2013 18:09, Peter Maydell ha scritto:
>> > +if test "$targetos" = Linux && test "$cpu" = i386 -o "$cpu" = x86_64; then
> test -o is deprecated by POSIX; better to use
>   if test ... && ( test ... || test ... ); then
> 
> in new code.

True, on the other hand "(.*test" has no match at all in configure; and
since we know that $cpu does not begin with a dash, it is portable in
practice.

I would agree with you, but it looks like convention trumps the
suggested practice.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]