diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-09-11 22:43:29 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-09-11 22:43:29 +0000 |
commit | 258207b7fcb3505c7a5d0185b984f1eef8aca847 (patch) | |
tree | 9b6560dd49e20623596f009a5b0d727ccdccfa68 /configure | |
parent | e9cc5211a44eea44c7c52b85005551ded3c9f8b9 (diff) | |
download | ffmpeg-258207b7fcb3505c7a5d0185b984f1eef8aca847.tar.gz |
simplified version handling - set win32 install path
Originally committed as revision 2262 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -504,6 +504,7 @@ if test "$mingw32" = "yes" ; then audio_oss="no" dv1394="no" network="no" + prefix="/c/Progra~1/FFmpeg" fi cc="${cross_prefix}${cc}" @@ -957,8 +958,9 @@ if test "$lshared" = "yes" ; then echo "PIC=-fPIC" >> config.mak fi echo "EXTRALIBS=$extralibs" >> config.mak -echo "VERSION=`head $source_path/VERSION`" >>config.mak -echo "" >>config.mak +version=`grep '#define FFMPEG_VERSION ' $source_path/libavcodec/avcodec.h | + cut -d '"' -f 2` +echo "VERSION=$version" >>config.mak # if you do not want to use encoders, disable that. echo "#define CONFIG_ENCODERS 1" >> $TMPH echo "CONFIG_ENCODERS=yes" >> config.mak |