[FFmpeg-devel] [PATCH] Define FFMPEG_PREFIX in config.h

Måns Rullgård mans
Tue Oct 7 23:55:54 CEST 2008


Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:

> On date Sunday 2008-10-05 18:04:48 +0200, Stefano Sabatini encoded:
>> On date Thursday 2008-10-02 23:17:57 +0200, Stefano Sabatini encoded:
>> > Index: configure
>> > ===================================================================
>> > --- configure	(revision 15522)
>> > +++ configure	(working copy)
>> > @@ -636,6 +636,10 @@
>> >      "$@" < "$file" > "$file.tmp" && mv "$file.tmp" "$file" || rm "$file.tmp"
>> >  }
>> >  
>> > +c_stringify(){
>> > +    echo \"$(echo "$1" | sed -e 's/\(["\]\)/\\\1/g')\"
>> > +}
>> > +
>> >  # CONFIG_LIST contains configurable options, while HAVE_LIST is for
>> >  # system-dependent things.
>> >  
>> > @@ -2059,6 +2063,7 @@
>> >  echo "#define FFMPEG_CONFIGURATION \"$FFMPEG_CONFIGURATION\"" >> $TMPH
>> >  
>> >  echo "FFMPEG_CONFIGURATION=$FFMPEG_CONFIGURATION" >> config.mak
>> > +echo "#define FFMPEG_PREFIX" `c_stringify "$prefix"` >> $TMPH
>> >  echo "prefix=$prefix" >> config.mak
>> >  echo "LIBDIR=\$(DESTDIR)$libdir" >> config.mak
>> >  echo "SHLIBDIR=\$(DESTDIR)$shlibdir" >> config.mak
>> 
>> Ping?
>
> I'll apply it on the weekend if no one will object.

I do object.

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




More information about the ffmpeg-devel mailing list