Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
external
libvpx
Commits
d6cf6eb5
Commit
d6cf6eb5
authored
10 years ago
by
James Zern
Committed by
Gerrit Code Review
10 years ago
Browse files
Options
Download
Plain Diff
Merge "Remove 'local' from configure and configure.sh"
parents
55f583f9
07fa6adf
v1.14.0-linphone
1.4.X
feature/update_to_v1.9.0-linphone
feature/uwp_nuget
highbitdepth
indianrunnerduck
javanwhistlingduck
khakicampbell
linphone
linphone-android
linphone-old
longtailedduck
m49-2623
m52-2743
m54-2840
m56-2924
m66-3359
m68-3440
mandarinduck
nextgen
nextgenv2
sandbox/Jingning/experimental
sandbox/Jingning/vpx
sandbox/aconverse@google.com/ansbench
sandbox/hkuang@google.com/decode
sandbox/jimbankoski@google.com/proposed-aom
sandbox/jingning@google.com/decoder_test_suite
sandbox/jingning@google.com/experimental
sandbox/jzern@google.com/test
sandbox/wangch@google.com/vp9
sandbox/yaowu@google.com/mergeaom
v1.12.0-linphone
v1.6.1_linphone
v1.7.0-linphone
v1.9.0-linphone
v1.9.0
v1.9.0-rc1
v1.8.2
v1.8.1
v1.8.0
v1.7.0
v1.6.1
v1.6.0
v1.5.0
v1.4.0
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/make/configure.sh
+20
-12
build/make/configure.sh
configure
+11
-11
configure
with
31 additions
and
23 deletions
build/make/configure.sh
100755 → 100644
+
20
−
12
View file @
d6cf6eb5
...
...
@@ -381,8 +381,8 @@ EOF
# tests for -m$1 toggling the feature given in $2. If $2 is empty $1 is used.
check_gcc_machine_option
()
{
local
opt
=
"
$1
"
local
feature
=
"
$2
"
opt
=
"
$1
"
feature
=
"
$2
"
[
-n
"
$feature
"
]
||
feature
=
"
$opt
"
if
enabled gcc
&&
!
disabled
"
$feature
"
&&
!
check_cflags
"-m
$opt
"
;
then
...
...
@@ -419,8 +419,8 @@ true
}
write_common_target_config_mk
()
{
local
CC
=
"
${
CC
}
"
local
CXX
=
"
${
CXX
}
"
saved_
CC
=
"
${
CC
}
"
saved_
CXX
=
"
${
CXX
}
"
enabled ccache
&&
CC
=
"ccache
${
CC
}
"
enabled ccache
&&
CXX
=
"ccache
${
CXX
}
"
print_webm_license
$1
"##"
""
...
...
@@ -470,6 +470,8 @@ EOF
enabled msvs
&&
echo
"CONFIG_VS_VERSION=
${
vs_version
}
"
>>
"
${
1
}
"
CC
=
"
${
saved_CC
}
"
CXX
=
"
${
saved_CXX
}
"
}
...
...
@@ -1314,8 +1316,9 @@ process_toolchain() {
}
print_config_mk
()
{
local
prefix
=
$1
local
makefile
=
$2
saved_prefix
=
"
${
prefix
}
"
prefix
=
$1
makefile
=
$2
shift
2
for
cfg
;
do
if
enabled
$cfg
;
then
...
...
@@ -1323,11 +1326,13 @@ print_config_mk() {
echo
"
${
prefix
}
_
${
upname
}
=yes"
>>
$makefile
fi
done
prefix
=
"
${
saved_prefix
}
"
}
print_config_h
()
{
local
prefix
=
$1
local
header
=
$2
saved_prefix
=
"
${
prefix
}
"
prefix
=
$1
header
=
$2
shift
2
for
cfg
;
do
upname
=
"
`
toupper
$cfg
`
"
...
...
@@ -1337,10 +1342,11 @@ print_config_h() {
echo
"#define
${
prefix
}
_
${
upname
}
0"
>>
$header
fi
done
prefix
=
"
${
saved_prefix
}
"
}
print_config_vars_h
()
{
local
header
=
$1
header
=
$1
shift
while
[
$#
-gt
0
]
;
do
upname
=
"
`
toupper
$1
`
"
...
...
@@ -1350,9 +1356,10 @@ print_config_vars_h() {
}
print_webm_license
()
{
local
destination
=
$1
local
prefix
=
"
$2
"
local
suffix
=
"
$3
"
saved_prefix
=
"
${
prefix
}
"
destination
=
$1
prefix
=
"
$2
"
suffix
=
"
$3
"
shift
3
cat
<<
EOF
>
${
destination
}
${
prefix
}
Copyright (c) 2011 The WebM project authors. All Rights Reserved.
${
suffix
}
...
...
@@ -1363,6 +1370,7 @@ ${prefix} tree. An additional intellectual property rights grant can be found${s
${
prefix
}
in the file PATENTS. All contributing project authors may
${
suffix
}
${
prefix
}
be found in the AUTHORS file in the root of the source tree.
${
suffix
}
EOF
prefix
=
"
${
saved_prefix
}
"
}
process_targets
()
{
...
...
This diff is collapsed.
Click to expand it.
configure
+
11
−
11
View file @
d6cf6eb5
...
...
@@ -67,10 +67,10 @@ Codecs:
EOF
#restore editor state '
local
family
;
local
last_family
;
local
c
;
local
str
;
family
=
""
;
last_family
=
""
;
c
=
""
;
str
=
""
;
for
c
in
${
CODECS
}
;
do
family
=
${
c
%_*
}
if
[
"
${
family
}
"
!=
"
${
last_family
}
"
]
;
then
...
...
@@ -412,7 +412,7 @@ process_cmdline() {
}
post_process_cmdline
()
{
local
c
c
=
""
# If the codec family is disabled, disable all components of that family.
# If the codec family is enabled, enable all components of that family.
...
...
@@ -459,8 +459,8 @@ process_targets() {
enabled universal
&&
echo
"FAT_ARCHS=
${
fat_bin_archs
}
"
>>
config.mk
# Calculate the default distribution name, based on the enabled features
local
cf
local
DIST_DIR
=
vpx
cf
=
""
DIST_DIR
=
vpx
for
cf
in
$CODEC_FAMILIES
;
do
if
enabled
${
cf
}
_encoder
&&
enabled
${
cf
}
_decoder
;
then
DIST_DIR
=
"
${
DIST_DIR
}
-
${
cf
}
"
...
...
@@ -482,7 +482,7 @@ process_targets() {
;;
esac
if
[
-f
"
${
source_path
}
/build/make/version.sh"
]
;
then
local
ver
=
`
"
$source_path
/build/make/version.sh"
--bare
"
$source_path
"
`
ver
=
`
"
$source_path
/build/make/version.sh"
--bare
"
$source_path
"
`
DIST_DIR
=
"
${
DIST_DIR
}
-
${
ver
}
"
VERSION_STRING
=
${
ver
}
ver
=
${
ver
%%-*
}
...
...
@@ -516,7 +516,7 @@ EOF
# Write makefiles for all enabled targets
#
for
tgt
in
libs examples docs solution
;
do
local
tgt_fn
=
"
$tgt
-
$toolchain
.mk"
tgt_fn
=
"
$tgt
-
$toolchain
.mk"
if
enabled
$tgt
;
then
echo
"Creating makefiles for
${
toolchain
}
${
tgt
}
"
...
...
@@ -555,7 +555,7 @@ process_detect() {
true
;
;;
*
)
local
result
=
false
result
=
false
for
d
in
"
$@
"
;
do
[
-f
"
${
d
##-I
}
/
$header
"
]
&&
result
=
true
&&
break
done
...
...
@@ -604,7 +604,7 @@ process_toolchain() {
# Handle universal binaries for this architecture
case
$toolchain
in
universal-darwin
*
)
local
darwin_ver
=
${
tgt_os
##darwin
}
darwin_ver
=
${
tgt_os
##darwin
}
# Snow Leopard (10.6/darwin10) dropped support for PPC
# Include PPC support for all prior versions
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets