On 05/16/2013 11:30 PM, Alex Smith wrote:
> On Thu, May 16, 2013 at 5:10 PM, Luca Barbato <[email protected]> wrote:
>> On 05/16/2013 11:08 PM, Alex Smith wrote:
>>> While the current one works and it's unlikely it would cause any trouble
>>> it's probably a good idea to use a slightly less generic string to grep
>>> against.
>>> ---
>>>  configure | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/configure b/configure
>>> index 7bcaac3..cbde7c0 100755
>>> --- a/configure
>>> +++ b/configure
>>> @@ -2525,7 +2525,7 @@ probe_cc(){
>>>          _cflags_size="-O2 -Munroll=c:1 $opt_common"
>>>          _cflags_noopt="-O1"
>>>          _flags_filter=pgi_flags
>>> -    elif $_cc 2>&1 | grep -q Microsoft; then
>>> +    elif $_cc 2>&1 | grep -q 'Microsoft (R) \(32-bit \)\?C/C++ Optimizing 
>>> Compiler'; then
>>
>> why 32bit there isn't a 64bit version ?
> 
> The 64-bit version has nothing there.
> 
> There are two options:
> Microsoft (R) 32-bit C/C++ Optimizing Compiler
> or
> Microsoft (R) C/C++ Optimizing Compiler

So we should match Microsoft (R) [^C]* C/C++ Optimizing Compiler or
something along those lines, right?

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to