Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
ca9118c8
Commit
ca9118c8
authored
Jul 30, 2001
by
Fabrice Bellard
Browse files
added --disable-mp3lib
Originally committed as revision 16 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
a12e4610
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
configure
configure
+8
-2
No files found.
configure
View file @
ca9118c8
...
...
@@ -15,6 +15,7 @@ case "$cpu" in
;;
esac
gprof
=
"no"
mp3lib
=
"yes"
if
[
"
$1
"
=
"-h"
-o
"
$1
"
=
"--help"
]
;
then
cat
<<
EOF
...
...
@@ -29,6 +30,7 @@ echo " --cc=CC use C compiler CC [$cc]"
echo
" --cpu=CPU force cpu to CPU [
$cpu
]"
echo
" --disable-mmx disable mmx usage"
echo
" --enable-gprof enable profiling with gprof [
$gprof
]"
echo
" --disable-mp3lib disable mp3 lib compiling"
exit
1
fi
...
...
@@ -44,6 +46,8 @@ for opt do
;;
--enable-gprof
)
gprof
=
"yes"
;;
--disable-mp3lib
)
mp3lib
=
"no"
;;
esac
done
...
...
@@ -94,5 +98,7 @@ echo "CONFIG_DECODERS=yes" >> config.mak
echo
"#define CONFIG_AC3 1"
>>
config.h
echo
"CONFIG_AC3=yes"
>>
config.mak
echo
"#define CONFIG_MPGLIB 1"
>>
config.h
echo
"CONFIG_MPGLIB=yes"
>>
config.mak
if
[
"
$mp3lib
"
=
"yes"
]
;
then
echo
"#define CONFIG_MPGLIB 1"
>>
config.h
echo
"CONFIG_MPGLIB=yes"
>>
config.mak
fi
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