Commit f51ae346 authored by bellard's avatar bellard

simplified version handling - set win32 install path


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2262 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0a459cc8
...@@ -504,6 +504,7 @@ if test "$mingw32" = "yes" ; then ...@@ -504,6 +504,7 @@ if test "$mingw32" = "yes" ; then
audio_oss="no" audio_oss="no"
dv1394="no" dv1394="no"
network="no" network="no"
prefix="/c/Progra~1/FFmpeg"
fi fi
cc="${cross_prefix}${cc}" cc="${cross_prefix}${cc}"
...@@ -957,8 +958,9 @@ if test "$lshared" = "yes" ; then ...@@ -957,8 +958,9 @@ if test "$lshared" = "yes" ; then
echo "PIC=-fPIC" >> config.mak echo "PIC=-fPIC" >> config.mak
fi fi
echo "EXTRALIBS=$extralibs" >> config.mak echo "EXTRALIBS=$extralibs" >> config.mak
echo "VERSION=`head $source_path/VERSION`" >>config.mak version=`grep '#define FFMPEG_VERSION ' $source_path/libavcodec/avcodec.h |
echo "" >>config.mak cut -d '"' -f 2`
echo "VERSION=$version" >>config.mak
# if you do not want to use encoders, disable that. # if you do not want to use encoders, disable that.
echo "#define CONFIG_ENCODERS 1" >> $TMPH echo "#define CONFIG_ENCODERS 1" >> $TMPH
echo "CONFIG_ENCODERS=yes" >> config.mak echo "CONFIG_ENCODERS=yes" >> config.mak
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment