Commit c53bf8c9 authored by James Almer's avatar James Almer

configure: fix libopus detection

Prevents compilation failures on libopus < 1.0.3
Regression since 37941878.
parent 14e09244
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment