[FFmpeg-cvslog] r21334 - trunk/configure
Michael Kostylev
michael.kostylev
Wed Jan 20 09:34:10 CET 2010
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
% gcc -print-prog-name=nm
/usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/../../../../i386-pc-solaris2.11/bin/nm
This one is the same as /usr/sfw/bin/gnm (from GNU Binutils). OTOH:
% gcc-4.3.2 -print-prog-name=nm
/usr/ccs/bin/nm
% gcc-4.4 -print-prog-name=nm
/usr/ccs/bin/nm
% ls -l /usr/ccs/bin/nm
lrwxrwxrwx 1 root root 12 Feb 18 2009 /usr/ccs/bin/nm -> ../../bin/nm
So, should I use --nm=gnm or would it be better to adjust the regexp?
Michael
More information about the ffmpeg-cvslog
mailing list