[vlc-commits] configure: simplify chromaprint dependency check
Marvin Scholz
git at videolan.org
Mon Dec 9 16:44:40 CET 2019
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Fri Nov 22 12:39:06 2019 +0100| [0d38d487088631435e40e48e9fdf9f93114ec476] | committer: Marvin Scholz
configure: simplify chromaprint dependency check
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0d38d487088631435e40e48e9fdf9f93114ec476
---
configure.ac | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1bf3411e46..e7379d2d91 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3859,15 +3859,7 @@ AM_CONDITIONAL([HAVE_KAI], [test "${have_kai}" = "yes"])
dnl
dnl chromaprint audio track fingerprinter
dnl
-m4_pushdef([libchromaprint_version], 0.6.0)
-PKG_WITH_MODULES([CHROMAPRINT],[libchromaprint >= libchromaprint_version],
- VLC_ADD_PLUGIN([stream_out_chromaprint]),
- AS_IF([test "${enable_chromaprint}" = "yes"],
- [AC_MSG_ERROR(Library [libchromaprint >= libchromaprint_version] needed for [chromaprint] was not found)],
- [AC_MSG_WARN(Library [libchromaprint >= libchromaprint_version] needed for [chromaprint] was not found)]
- ),
- [(Chromaprint based audio fingerprinter)],[auto])
-m4_popdef([libchromaprint_version])
+PKG_ENABLE_MODULES_VLC([SOXR], [stream_out_chromaprint], [libchromaprint >= 0.6.0], [Chromaprint audio fingeprinter], [auto])
dnl
dnl Chromecast streaming support
More information about the vlc-commits
mailing list