[FFmpeg-cvslog] r21334 - trunk/configure

Michael Kostylev michael.kostylev
Wed Jan 20 15:14:51 CET 2010


On Wed Jan 20 13:04:08 2010
M?ns Rullg?rd 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?

Of course, it worked perfectly before. Thanks for fixing again.

Michael



More information about the ffmpeg-cvslog mailing list