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
ae90119c
Commit
ae90119c
authored
Jul 25, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Simplify license incompatibility check
parent
e46a6fb7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
35 deletions
+36
-35
configure
configure
+36
-35
No files found.
configure
View file @
ae90119c
...
@@ -1219,12 +1219,15 @@ EXAMPLE_LIST="
...
@@ -1219,12 +1219,15 @@ EXAMPLE_LIST="
transcode_aac_example
transcode_aac_example
"
"
HWACCEL_LIBRARY_LIST
=
"
HWACCEL_LIBRARY_
NONFREE_
LIST
=
"
cuda
cuda
libnpp
"
HWACCEL_LIBRARY_LIST
=
"
$HWACCEL_LIBRARY_NONFREE_LIST
d3d11va
d3d11va
dxva2
dxva2
libmfx
libmfx
libnpp
mmal
mmal
nvenc
nvenc
omx
omx
...
@@ -1233,25 +1236,45 @@ HWACCEL_LIBRARY_LIST="
...
@@ -1233,25 +1236,45 @@ HWACCEL_LIBRARY_LIST="
vdpau
vdpau
"
"
EXTERNAL_LIBRARY_GPL_LIST
=
"
libcdio
libx264
libx265
libxavs
libxvid
x11grab
"
EXTERNAL_LIBRARY_NONFREE_LIST
=
"
libfaac
libfdk_aac
openssl
"
EXTERNAL_LIBRARY_VERSION3_LIST
=
"
libopencore_amrnb
libopencore_amrwb
libvo_aacenc
libvo_amrwbenc
"
EXTERNAL_LIBRARY_LIST
=
"
EXTERNAL_LIBRARY_LIST
=
"
$EXTERNAL_LIBRARY_GPL_LIST
$EXTERNAL_LIBRARY_NONFREE_LIST
$EXTERNAL_LIBRARY_VERSION3_LIST
avisynth
avisynth
bzlib
bzlib
frei0r
frei0r
gnutls
gnutls
libbs2b
libbs2b
libcdio
libdc1394
libdc1394
libdcadec
libdcadec
libfaac
libfdk_aac
libfontconfig
libfontconfig
libfreetype
libfreetype
libgsm
libgsm
libilbc
libilbc
libkvazaar
libkvazaar
libmp3lame
libmp3lame
libopencore_amrnb
libopencore_amrwb
libopencv
libopencv
libopenh264
libopenh264
libopenjpeg
libopenjpeg
...
@@ -1263,21 +1286,13 @@ EXTERNAL_LIBRARY_LIST="
...
@@ -1263,21 +1286,13 @@ EXTERNAL_LIBRARY_LIST="
libspeex
libspeex
libtheora
libtheora
libtwolame
libtwolame
libvo_aacenc
libvo_amrwbenc
libvorbis
libvorbis
libvpx
libvpx
libwavpack
libwavpack
libwebp
libwebp
libx264
libx265
libxavs
libxcb
libxcb
libxcb_shm
libxcb_shm
libxcb_xfixes
libxcb_xfixes
libxvid
openssl
x11grab
zlib
zlib
"
"
...
@@ -4087,26 +4102,12 @@ EOF
...
@@ -4087,26 +4102,12 @@ EOF
fi
fi
die_license_disabled
()
{
die_license_disabled
()
{
enabled
$1
||
{
enabled
$2
&&
die
"
$2
is
$1
and --enable-
$1
is not specified."
;
}
enabled
$1
||
{
enabled
$v
&&
die
"
$v
is
$1
and --enable-
$1
is not specified."
;
}
}
}
die_license_disabled gpl libcdio
map
"die_license_disabled gpl"
$EXTERNAL_LIBRARY_GPL_LIST
die_license_disabled gpl libx264
map
"die_license_disabled nonfree"
$EXTERNAL_LIBRARY_NONFREE_LIST
$HWACCEL_LIBRARY_NONFREE_LIST
die_license_disabled gpl libx265
map
"die_license_disabled version3"
$EXTERNAL_LIBRARY_VERSION3_LIST
die_license_disabled gpl libxavs
die_license_disabled gpl libxvid
die_license_disabled gpl x11grab
die_license_disabled nonfree cuda
die_license_disabled nonfree libfaac
die_license_disabled nonfree libfdk_aac
die_license_disabled nonfree libnpp
die_license_disabled nonfree openssl
die_license_disabled version3 libopencore_amrnb
die_license_disabled version3 libopencore_amrwb
die_license_disabled version3 libvo_aacenc
die_license_disabled version3 libvo_amrwbenc
enabled version3
&&
{
enabled gpl
&&
enable
gplv3
||
enable
lgplv3
;
}
enabled version3
&&
{
enabled gpl
&&
enable
gplv3
||
enable
lgplv3
;
}
...
...
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