>>>> "Stephen" == Stephen J Turnbull
<stephen(a)xemacs.org> writes:
Stephen> Raymond Toy writes:
>
> In a recent update to handle the issue with makeinfo version,
> configure calls sed with the option -rn. On my Mac the system
> version of sed does not support the -rn option.
>
> While I can probably easily update my macports installation to add gnu
> sed, it seems that if we must use -rn, we should at least check if gnu
> sed is available.
Stephen> Can you be more specific as to where this gets called? Grepping for
Stephen> '-rn' in configure-related files gives me two hits as argument to
Stephen> 'print' in generated code, not in configure.ac, not as an argument
to
Stephen> 'sed'. Grepping for -rn in a recent configure log give no hits
at
Stephen> all.
Did I update my tree incorrectly? Anyway, for me, look in
configure.ac and search for "a recent version of makeinfo". A few
lines down from there is
mi_verstr=[`$prog --version | sed -rn '1s/.*+[[:blank:]]([^[:blank:]]+)$/\1/p'`]
I guess this is searching for the makeinfo version number and just
extracting the version number from the version info.
I can't think of an equivalent plain sed version, but I could probably
come with something using expr.
Ray
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta