summaryrefslogtreecommitdiffstats
path: root/compat/float
diff options
context:
space:
mode:
authorAndreas Cadhalpun <[email protected]>2016-10-11 20:28:35 +0200
committerAndreas Cadhalpun <[email protected]>2016-10-17 17:22:01 +0200
commitada229e66fea11e33a11df2f02dc287304842a48 (patch)
treebcea92a8bec2660e46749bdd4a83f5deb9a0fdda /compat/float
parent047e0049d1ccf4e6d62eb22fcc88725e1f43170c (diff)
configure: fix detection of libopenjpeg
Use check_lib2 to test the header together with the function. This is necessary, because '-DOPJ_STATIC' changes what the included header does. Also add '-DOPJ_STATIC' to CPPFLAGS, so that it isn't necessary to hardcode this in libavcodec/libopenjpeg{dec,enc}.c. Finally, check for non-static openjpeg 2.1, too. Reviewed-by: Michael Bradshaw <[email protected]> Signed-off-by: Andreas Cadhalpun <[email protected]> (cherry picked from commit 7a65aef00d113a38e0d1a54df49eead9df6aa15c) Signed-off-by: Andreas Cadhalpun <[email protected]>
Diffstat (limited to 'compat/float')
0 files changed, 0 insertions, 0 deletions