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
6ed7422a
Commit
6ed7422a
authored
23 years ago
by
Fabrice Bellard
Browse files
Options
Downloads
Patches
Plain Diff
added arm support - added --disable-grab
Originally committed as revision 80 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
92651f67
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure
+18
-0
18 additions, 0 deletions
configure
with
18 additions
and
0 deletions
configure
+
18
−
0
View file @
6ed7422a
...
...
@@ -10,12 +10,17 @@ case "$cpu" in
cpu
=
"x86"
mmx
=
"yes"
;;
armv4l
)
cpu
=
"armv4l"
mmx
=
"no"
;;
*
)
mmx
=
"no"
;;
esac
gprof
=
"no"
mp3lib
=
"yes"
grab
=
"yes"
if
[
"
$1
"
=
"-h"
-o
"
$1
"
=
"--help"
]
;
then
cat
<<
EOF
...
...
@@ -31,6 +36,7 @@ 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"
echo
" --disable-grab disable audio/video grabbing code"
exit
1
fi
...
...
@@ -48,6 +54,8 @@ for opt do
;;
--disable-mp3lib
)
mp3lib
=
"no"
;;
--disable-grab
)
grab
=
"no"
;;
esac
done
...
...
@@ -56,6 +64,7 @@ echo "C compiler $cc"
echo
"CPU
$cpu
"
echo
"MMX enabled
$mmx
"
echo
"gprof enabled
$gprof
"
echo
"grab enabled
$grab
"
echo
"Creating config.mak and config.h"
...
...
@@ -76,6 +85,10 @@ if [ "$cpu" = "x86" ] ; then
echo
"TARGET_ARCH_X86=yes"
>>
config.mak
echo
"#define ARCH_X86 1"
>>
config.h
fi
if
[
"
$cpu
"
=
"armv4l"
]
;
then
echo
"TARGET_ARCH_ARMV4L=yes"
>>
config.mak
echo
"#define ARCH_ARMV4L 1"
>>
config.h
fi
if
[
"
$mmx
"
=
"yes"
]
;
then
echo
"TARGET_MMX=yes"
>>
config.mak
echo
"#define HAVE_MMX 1"
>>
config.h
...
...
@@ -102,3 +115,8 @@ if [ "$mp3lib" = "yes" ] ; then
echo
"#define CONFIG_MPGLIB 1"
>>
config.h
echo
"CONFIG_MPGLIB=yes"
>>
config.mak
fi
if
[
"
$grab
"
=
"yes"
]
;
then
echo
"#define CONFIG_GRAB 1"
>>
config.h
echo
"CONFIG_GRAB=yes"
>>
config.mak
fi
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