Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
3dc7174e
Commit
3dc7174e
authored
Jul 11, 2006
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify list processing
Originally committed as revision 5717 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
fce53524
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
configure
configure
+11
-5
No files found.
configure
View file @
3dc7174e
...
...
@@ -299,6 +299,12 @@ require(){
check_lib
$header
$func
"
$@
"
||
die
"ERROR:
$name
not found"
}
filter_out
(){
pattern
=
"
$1
"
shift
echo
"
$@
"
|
sed
"s%
\\
<
$pattern
\\
>%%g"
}
if
test
x
"
$1
"
=
x
"-h"
-o
x
"
$1
"
=
x
"--help"
;
then
show_help
fi
...
...
@@ -817,9 +823,9 @@ for opt do
;;
--enable-decoder
=
*
)
DECODER_LIST
=
"
$DECODER_LIST
${
optval
}
_decoder"
;;
--disable-encoder
=
*
)
ENCODER_LIST
=
"
`
echo
$ENCODER_LIST
|
sed
-e
\"
s#
${
optval
}
_encoder##
\"
`
"
--disable-encoder
=
*
)
ENCODER_LIST
=
"
`
filter_out
${
optval
}
_encoder
$ENCODER_LIST
`
"
;;
--disable-decoder
=
*
)
DECODER_LIST
=
"
`
echo
$DECODER_LIST
|
sed
-e
\"
s#
${
optval
}
_decoder##
\"
`
"
--disable-decoder
=
*
)
DECODER_LIST
=
"
`
filter_out
${
optval
}
_decoder
$DECODER_LIST
`
"
;;
--disable-encoders
)
ENCODER_LIST
=
""
;;
...
...
@@ -827,19 +833,19 @@ for opt do
;;
--enable-muxer
=
*
)
MUXER_LIST
=
"
$MUXER_LIST
${
optval
}
_muxer"
;;
--disable-muxer
=
*
)
MUXER_LIST
=
"
`
echo
$MUXER_LIST
|
sed
-e
\"
s#
${
opt
#*=
}
_muxer##
\"
`
"
--disable-muxer
=
*
)
MUXER_LIST
=
"
`
filter_out
${
optval
}
_muxer
$MUXER_LIST
`
"
;;
--disable-muxers
)
MUXER_LIST
=
""
;
ffserver
=
"no"
;;
--enable-demuxer
=
*
)
DEMUXER_LIST
=
"
$DEMUXER_LIST
${
optval
}
_demuxer"
;;
--disable-demuxer
=
*
)
DEMUXER_LIST
=
"
`
echo
$DEMUXER_LIST
|
sed
-e
\"
s#
${
optval
}
_demuxer##
\"
`
"
--disable-demuxer
=
*
)
DEMUXER_LIST
=
"
`
filter_out
${
optval
}
_demuxer
$DEMUXER_LIST
`
"
;;
--disable-demuxers
)
DEMUXER_LIST
=
""
;;
--enable-parser
=
*
)
PARSER_LIST
=
"
$PARSER_LIST
${
optval
}
_parser"
;;
--disable-parser
=
*
)
PARSER_LIST
=
"
`
echo
$PARSER_LIST
|
sed
-e
\"
s#
${
optval
}
_parser##
\"
`
"
--disable-parser
=
*
)
PARSER_LIST
=
"
`
filter_out
${
optval
}
_parser
$PARSER_LIST
`
"
;;
--disable-parsers
)
PARSER_LIST
=
""
;;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment