diff options
author | James Almer <jamrial@gmail.com> | 2017-05-04 06:26:13 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-05-04 06:26:13 +0300 |
commit | c53bf8c9b8ad7a2dc786d5749598c4ac67c4ad2d (patch) | |
tree | bfb962404a4f41ff538a52c1e79c8e31298b0f62 /configure | |
parent | 14e092448f2ecf2e872821db13d625273c9eb33c (diff) |
configure: fix libopus detection
Prevents compilation failures on libopus < 1.0.3
Regression since 37941878.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -5806,7 +5806,14 @@ enabled libopenjpeg && { { check_lib libopenjpeg openjpeg-2.1/openjpeg.h o { check_lib libopenjpeg openjpeg.h opj_version -lopenjpeg -DOPJ_STATIC && add_cppflags -DOPJ_STATIC; } || die "ERROR: libopenjpeg not found"; } enabled libopenmpt && require_pkg_config "libopenmpt >= 0.2.6557" libopenmpt/libopenmpt.h openmpt_module_create -enabled libopus && require_pkg_config opus opus_multistream.h opus_multistream_decoder_create +enabled libopus && { + enabled libopus_decoder && { + require_pkg_config opus opus_multistream.h opus_multistream_decoder_create + } + enabled libopus_encoder && { + require_pkg_config opus opus_multistream.h opus_multistream_surround_encoder_create + } +} enabled libpulse && require_pkg_config libpulse pulse/pulseaudio.h pa_context_new enabled librtmp && require_pkg_config librtmp librtmp/rtmp.h RTMP_Socket enabled librubberband && require_pkg_config "rubberband >= 1.8.1" rubberband/rubberband-c.h rubberband_new |