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
1ac9331a
Commit
1ac9331a
authored
18 years ago
by
Måns Rullgård
Browse files
Options
Downloads
Patches
Plain Diff
simplify setting of TARGET_* variables
Originally committed as revision 7728 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
266aa26c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure
+16
-23
16 additions, 23 deletions
configure
with
16 additions
and
23 deletions
configure
+
16
−
23
View file @
1ac9331a
...
...
@@ -465,10 +465,13 @@ CONFIG_LIST='
'
HAVE_LIST
=
'
altivec
altivec_h
armv5te
armv6
beosthreads
byteswap_h
cmov
dcbzl
dev_bktr_ioctl_bt848_h
dev_bktr_ioctl_meteor_h
...
...
@@ -481,6 +484,7 @@ HAVE_LIST='
gprof
imlib2
inet_aton
iwmmxt
localtime_r
lrintf
machine_ioctl_bt848_h
...
...
@@ -488,6 +492,8 @@ HAVE_LIST='
malloc_h
memalign
mlib
mmi
mmx
os2
os2threads
pthreads
...
...
@@ -497,6 +503,15 @@ HAVE_LIST='
w32threads
'
TARGET_LIST
=
'
altivec
armv5te
cmov
iwmmxt
mmi
mmx
'
flashsv_decoder_deps
=
"zlib"
flashsv_encoder_deps
=
"zlib"
mpeg_xvmc_decoder_deps
=
"xvmc"
...
...
@@ -1982,35 +1997,12 @@ if enabled bigendian; then
echo
"#define WORDS_BIGENDIAN 1"
>>
$TMPH
fi
if
enabled mmx
;
then
echo
"TARGET_MMX=yes"
>>
config.mak
echo
"#define HAVE_MMX 1"
>>
$TMPH
echo
"#define __CPU__ 586"
>>
$TMPH
fi
if
enabled cmov
;
then
echo
"TARGET_CMOV=yes"
>>
config.mak
echo
"#define HAVE_CMOV 1"
>>
$TMPH
fi
if
enabled cmov_is_fast
;
then
echo
"TARGET_CMOV_IS_FAST=yes"
>>
config.mak
echo
"#define CMOV_IS_FAST 1"
>>
$TMPH
fi
if
enabled armv5te
;
then
echo
"TARGET_ARMV5TE=yes"
>>
config.mak
echo
"#define HAVE_ARMV5TE 1"
>>
$TMPH
fi
if
enabled iwmmxt
;
then
echo
"TARGET_IWMMXT=yes"
>>
config.mak
echo
"#define HAVE_IWMMXT 1"
>>
$TMPH
fi
if
enabled mmi
;
then
echo
"TARGET_MMI=yes"
>>
config.mak
echo
"#define HAVE_MMI 1"
>>
$TMPH
fi
if
enabled altivec
;
then
echo
"TARGET_ALTIVEC=yes"
>>
config.mak
echo
"#define HAVE_ALTIVEC 1"
>>
$TMPH
fi
if
enabled sdl
;
then
echo
"SDL_LIBS=
`
"
${
SDL_CONFIG
}
"
--libs
`
"
>>
config.mak
...
...
@@ -2062,6 +2054,7 @@ check_deps $CONFIG_LIST $HAVE_LIST $DECODER_LIST $ENCODER_LIST $PARSER_LIST \
print_config HAVE_
$TMPH
config.mak
$HAVE_LIST
print_config CONFIG_
$TMPH
config.mak
$CONFIG_LIST
print_config TARGET_
$TMPH
config.mak
$TARGET_LIST
if
test
"
$targetos
"
=
"Darwin"
;
then
echo
"#define CONFIG_DARWIN 1"
>>
$TMPH
...
...
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