diff options
author | Aaron Levinson <alevinsn@aracnet.com> | 2017-05-05 18:16:03 -0700 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-05-09 03:24:58 +0200 |
commit | 164e2773261451ef33c4616296ec5bebecff42af (patch) | |
tree | bf30b9816557fca0e0baba00fe73263e6b668186 /libavutil/x86/fixed_dsp_init.c | |
parent | ae5b67ee64bec00c52881ff8426fddaf477341c1 (diff) | |
download | ffmpeg-164e2773261451ef33c4616296ec5bebecff42af.tar.gz |
configure: Added require alternative for libmfx to support alternate installation options
Purpose: Added require alternative for libmfx in the case that pkg-config
cannot find libmfx. On Linux, most people likely get libmfx via
https://github.com/lu-zero/mfx_dispatch , but on Windows, the most
well-known way to get libmfx is via the Intel Media SDK, which
provides a static build of libmfx.lib and also provides the source
code for building libmfx yourself. If built this way, there are no
pkg-config files to be found.
Comments:
-- configure: Altered enabled libmfx step to use use_pkg_config()
instead of require_pkg_config(), and, if use_pkg_config() fails, it
falls back to require(). Also added explanatory comment. Note
that the reason that require() is passed -llibmfx as the last
argument, instead of -lmfx, is the file name for the library
produced from the Intel Media SDK starts with "libmfx".
Apparently, the filename for the library produced via
https://github.com/lu-zero/mfx_dispatch starts with "mfx".
Signed-off-by: Aaron Levinson <alevinsn@aracnet.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/x86/fixed_dsp_init.c')
0 files changed, 0 insertions, 0 deletions