[FFmpeg-cvslog] r21334 - trunk/configure

Måns Rullgård mans
Wed Jan 20 15:09:55 CET 2010


M?ns Rullg?rd <mans at mansr.com> writes:

> Michael Kostylev <michael.kostylev at gmail.com> writes:
>
>> On Wed Jan 20 00:18:19 2010
>> mru wrote:
>>
>>> Log:
>>> configure: do not use character classes with awk
>>> 
>>> Some broken versions of awk (mawk, apparently used in debian)
>>> do not handle character classes in regular expressions.
>>> 
>>> Modified:
>>>    trunk/configure
>>> 
>>> Modified: trunk/configure
>>> ==============================================================================
>>> --- trunk/configure	Tue Jan 19 23:54:13 2010	(r21333)
>>> +++ trunk/configure	Wed Jan 20 00:18:19 2010	(r21334)
>>> @@ -2223,7 +2223,7 @@ enabled pic && enable_pic
>>>  check_cc <<EOF || die "Symbol mangling check failed."
>>>  int ff_extern;
>>>  EOF
>>> -sym=$($nm -g $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^[:blank:]]*ff_extern/)) }')
>>> +sym=$($nm -g $TMPO | awk '/ff_extern/{ print substr($0, match($0, /[^ \t]*ff_extern/)) }')
>>>  extern_prefix=${sym%%ff_extern*}
>>>  
>>>  check_cc <<EOF && enable inline_asm
>>
>> What happens on OpenSolaris:
>>
>> % which -a nm 
>> /usr/xpg4/bin/nm
>> /usr/bin/nm
>>
>> Both version return
>> [6]     |         4|         4|OBJT |GLOB |0    |COMMON |ff_extern
>
> See, that's what happens when you try being nice to BSD people.  Does
> Solaris nm accept the -P flag?

Fixed.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-cvslog mailing list