Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
30fd06be
Commit
30fd06be
authored
18 years ago
by
Måns Rullgård
Browse files
Options
Downloads
Patches
Plain Diff
check dependencies before setting CONFIG_*/ENABLE_*
Originally committed as revision 7616 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
053185c2
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure
+51
-0
51 additions, 0 deletions
configure
with
51 additions
and
0 deletions
configure
+
51
−
0
View file @
30fd06be
...
...
@@ -235,6 +235,15 @@ enabled_any(){
done
}
check_deps
(){
for
cfg
;
do
eval
dep_all
=
"
\$
${
cfg
}
_deps"
eval
dep_any
=
"
\$
${
cfg
}
_deps_any"
enabled_all
$dep_all
||
disable
$cfg
enabled_any
$dep_any
||
disable
$cfg
done
}
print_config
(){
pfx
=
$1
header
=
$2
...
...
@@ -484,6 +493,45 @@ HAVE_LIST='
w32threads
'
flashsv_decoder_deps
=
"zlib"
mpeg_xvmc_decoder_deps
=
"xvmc"
png_decoder_deps
=
"zlib"
png_encoder_deps
=
"zlib"
x264_encoder_deps
=
"x264"
xvid_encoder_deps
=
"xvid"
zmbv_decoder_deps
=
"zlib"
zmbv_encoder_deps
=
"zlib"
aac_decoder_deps
=
"libfaad"
mpeg4aac_decoder_deps
=
"libfaad"
ac3_decoder_deps
=
"liba52"
amr_nb_decoder_deps_any
=
"amr_nb amr_nb_fixed"
amr_nb_encoder_deps_any
=
"amr_nb amr_nb_fixed"
amr_wb_decoder_deps
=
"amr_wb"
amr_wb_encoder_deps
=
"amr_wb"
dts_decoder_deps
=
"libdts"
faac_encoder_deps
=
"libfaac"
gsm_decoder_deps
=
"libgsm"
gsm_encoder_deps
=
"libgsm"
mp3lame_encoder_deps
=
"libmp3lame"
oggvorbis_decoder_deps
=
"libvorbis"
oggvorbis_encoder_deps
=
"libvorbis"
audio_demuxer_deps_any
=
"audio_oss audio_beos"
audio_muxer_deps_any
=
"audio_oss audio_beos"
dc1394_demuxer_deps
=
"dc1394"
dv1394_demuxer_deps
=
"dv1394"
gxf_muxer_deps
=
"gpl"
nut_muxer_deps
=
"libnut"
ogg_muxer_deps
=
"libogg"
redir_demuxer_deps
=
"network"
rtp_muxer_deps
=
"network"
rtsp_demuxer_deps
=
"network"
sdp_demuxer_deps
=
"network"
v4l2_demuxer_deps
=
"video4linux2"
video_gram_device_demuxer_deps_any
=
"video4linux bktr"
x11_grab_device_demuxer_deps
=
"x11grab"
# set temporary file name
if
test
!
-z
"
$TMPDIR
"
;
then
TMPDIR1
=
"
${
TMPDIR
}
"
...
...
@@ -1985,6 +2033,9 @@ enabled_any $DEMUXER_LIST && enable demuxers
enabled_any pthreads beosthreads os2threads w32threads
&&
enable
threads
check_deps
$CONFIG_LIST
$HAVE_LIST
$DECODER_LIST
$ENCODER_LIST
$PARSER_LIST
\
$DEMUXER_LIST
$MUXER_LIST
print_config HAVE_
$TMPH
config.mak
$HAVE_LIST
print_config CONFIG_
$TMPH
config.mak
$CONFIG_LIST
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment