diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 39efc328..cbf2b272 100644 --- a/configure.ac +++ b/configure.ac @@ -411,6 +411,20 @@ return 0; AC_SUBST(FAAD_LIBS) ]) +dnl *** FLAC *** +translit(dnm, m, l) AM_CONDITIONAL(USE_FLAC, true) +GST_CHECK_FEATURE(FLAC, [FLAC lossless audio], flacenc flacdec, [ + GST_CHECK_LIBHEADER(FLAC, FLAC, FLAC__seekable_stream_encoder_new, -lm, FLAC/all.h, FLAC_LIBS="-lFLAC -lm") + dnl API change in FLAC 1.1.1, so require that... + if test x$HAVE_FLAC = xyes; then + AC_CHECK_DECL(FLAC__SEEKABLE_STREAM_ENCODER_TELL_ERROR, + HAVE_FLAC="yes", HAVE_FLAC="no", [ +#include <FLAC/seekable_stream_encoder.h> + ]) + fi + AC_SUBST(FLAC_LIBS) +]) + dnl *** lame *** translit(dnm, m, l) AM_CONDITIONAL(USE_LAME, true) GST_CHECK_FEATURE(LAME, [lame mp3 encoder library], lame, [ @@ -653,6 +667,7 @@ sys/oss/Makefile ext/Makefile ext/aalib/Makefile ext/dv/Makefile +ext/flac/Makefile ext/gconf/Makefile ext/lame/Makefile ext/libcaca/Makefile |