diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2014-12-07 08:21:19 +1100 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2014-12-07 08:21:22 +1100 |
commit | 9f1fbafb56c5b985bce9589ad81c5f7b4a1a3418 (patch) | |
tree | a74f0c7c58b5fbbf1e5d825b3327fb5efff673f0 | |
parent | 47239eb1268816a502bdfb6f128f6c6c69bfe4f0 (diff) |
configure.ac : Require flac >= 1.3.1.
Earlier versions of FLAC had a couple of CVEs.
Also AC_SUBST the HAVE_EXTERNAL_LIBS variable.
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index f8f213d..52bc3e1 100644 --- a/configure.ac +++ b/configure.ac @@ -306,7 +306,7 @@ if test -n "$PKG_CONFIG" ; then if test x$enable_external_libs = xno ; then AC_MSG_WARN([[*** External libs (FLAC, Ogg, Vorbis) disabled. ***]]) else - PKG_CHECK_MOD_VERSION(FLAC, flac >= 1.2.1, ac_cv_flac=yes, ac_cv_flac=no) + PKG_CHECK_MOD_VERSION(FLAC, flac >= 1.3.1, ac_cv_flac=yes, ac_cv_flac=no) # Make sure the FLAC_CFLAGS value is sane. FLAC_CFLAGS=`echo $FLAC_CFLAGS | $SED "s|include/FLAC|include|"` @@ -637,6 +637,7 @@ AC_SUBST(SHARED_VERSION_INFO) AC_SUBST(CLEAN_VERSION) AC_SUBST(WIN_RC_VERSION) +AC_SUBST(HAVE_EXTERNAL_LIBS) AC_SUBST(OS_SPECIFIC_CFLAGS) AC_SUBST(OS_SPECIFIC_LINKS) AC_SUBST(ALSA_LIBS) |