[libav-devel] [PATCH] configure: Check whether MSVC requires using the C89-to-C99 converter
martin at martin.st
Tue Nov 12 22:11:52 CET 2013
On Tue, 12 Nov 2013, Diego Biurrun wrote:
> On Tue, Nov 12, 2013 at 06:03:06PM +0000, Derek Buitenhuis wrote:
>> On 11/12/2013 10:42 AM, Martin Storsjö wrote:
>>> This uses grep -o, which isn't a posix grep option, but is available
>>> on both OS X, gnu and msys (which uses gnu grep). Suggestions on
>>> a neater way to do the regexp matching are welcome.
> Yes, something along the lines of
> diego at nibbler:~$ echo "Microsoft C++ Compiler 18.00.88" | sed 's/Microsoft C++ Compiler \(..\).*/\1/'
> could work, of course w/o the made-up pattern I just came up with.
Yeah, although this requires hardcoding the preceding pattern (which is
different across the versions we support right now). The differences
aren't all that huge so it could be manageable, but if there's a way to do
it without it I'd prefer that.
More information about the libav-devel