[FFmpeg-cvslog] r20397 - trunk/configure

Måns Rullgård mans
Wed Oct 28 21:33:47 CET 2009


Michael Kostylev <michael.kostylev at gmail.com> writes:

> On Wed Oct 28 20:41:05 2009
> Reimar D?ffinger wrote:
>
>>>>> +elif $cc -V 2>&1 | grep -q Sun; then
>>>>> +    cc_type=suncc
>>>>> +    cc_version="AV_STRINGIFY(__SUNPRO_C)"
>>>>> +    DEPEND_CMD='$(DEPCC) $(DEPFLAGS) $< | sed -e "1s,^.*: ,$@: ," -e "\$$!s,\$$, \\\\\\," -e "1!s,^.*: , ," > $(@:.o=.d)'
>>>> 
>>>> Hmm.. are you sure those sed expressions are right?
>>>> At least running on OpenSolaris I get
>>>>> sed: -e expression #2, char 11: unterminated 's' command
>>>> and it seem that it is GNU sed that is in the path...
>>> 
>>> % which sed
>>> /usr/xpg4/bin/sed
>> 
>> Uh, sed expressions that don't work with POSIX sed surely aren't a good
>> idea I'd say...
>> However going by FATE it works with x86_64 / Linux / suncc, so something
>> sure is strange here.
>
> config.mak generated with bash:
> CCDEP=$(DEPCC) $(DEPFLAGS) $< | sed -e "1s,^.*: ,$@: ," -e "\$$!s,\$$, \\\\\\," -e "1!s,^.*: , ," > $(@:.o=.d
>
> config.mak generated with POSIX sh:
> CCDEP=$(DEPCC) $(DEPFLAGS) $< | sed -e "1s,^.*: ,$@: ," -e "\$$!s,\$$, \\\," -e "1!s,^.*: , ," > $(@:.o=.d)

Which shell did that?

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



More information about the ffmpeg-cvslog mailing list