summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2017-10-19 16:36:17 +0200
committerSebastian Dröge <sebastian@centricular.com>2017-10-20 12:27:30 +0200
commitbff2d834a4a38f64e555cee3d0144fde6c515acd (patch)
tree39c1ca8256f899cc5089774d5f6e61197804354b /configure.ac
parentd1cbeb4fe7f97e08c1522b6d7e9d88c0e10f77e6 (diff)
downloadgstreamer-plugins-bad-bff2d834a4a38f64e555cee3d0144fde6c515acd.tar.gz
openjpeg: Support building with openjpeg 2.3, simpler
OpenJPEG 2.3 installs its headers to /usr/include/openjpeg-2.3. However, since libopenjp2.pc seems to provide the right includedir CFLAGS at least since version 2.1, instead of adding yet another version check, just remove the subdir and the check for 2.2. https://bugzilla.gnome.org/show_bug.cgi?id=788703
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 0 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index a54af0f09..7bef68816 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2870,11 +2870,6 @@ AG_GST_CHECK_FEATURE(OPENJPEG, [openjpeg library], openjpeg, [
AG_GST_PKG_CHECK_MODULES(OPENJPEG_2_1, libopenjp2 >= 2.1)
if test x"$HAVE_OPENJPEG_2_1" = x"yes"; then
AC_DEFINE([HAVE_OPENJPEG_2_1], 1, [Define if OpenJPEG 2.1 is used])
- dnl include paths changed for v2.2
- AG_GST_PKG_CHECK_MODULES(OPENJPEG_2_2, libopenjp2 >= 2.2)
- if test x"$HAVE_OPENJPEG_2_2" = x"yes"; then
- AC_DEFINE([HAVE_OPENJPEG_2_2], 1, [Define if OpenJPEG 2.2 is used])
- fi
fi
else
# Fallback to v1.5