[Ffmpeg-devel] configure script broken with dash as sh

matthieu castet castet.matthieu
Tue Aug 15 11:43:18 CEST 2006


Hi,

John Dalgliesh wrote:
> On Mon, 14 Aug 2006, Alan Curry wrote:
> 
>> Diego Biurrun writes:
>>
>>> On Mon, Aug 14, 2006 at 11:56:26PM +0200, matthieu castet wrote:
>>>
>>>> if dash is used as sh instead of bash, the configure script put in 
>>>> config.h
>>>>
>>>> #define ASMALIGN(ZEROBITS) ".align 1<<" #ZEROBITS "
>>>>     "
>>>> instead of :
>>>> #define ASMALIGN(ZEROBITS) ".align 1<<" #ZEROBITS "\n\t"
> 
> ...
> 
>> You can't portably echo a backslash.
> 
> 
> OK. Does the attached patch fix the problem?
> 
Yes,
I now got
#define ASMALIGN(ZEROBITS) ".align 1<<" #ZEROBITS " \n\t"

thanks

Matthieu




More information about the ffmpeg-devel mailing list