Displaying 1 result from an estimated 1 matches for "use_flac".
Did you mean:
use_f2c
2002 Sep 11
1
patch for FLAC
...-------
+
+dnl check for FLAC
+dnl disabled by default
+dnl defines HAVE_FLAC to 1 for use in source code
+dnl sets FLAC_LIBS to the right libs if found for Makefile.am
+dnl sets HAVE_FLAC to yes or no for Makefile.am
+
+AC_ARG_ENABLE(flac, [ --enable-flac Build in FLAC support],
+ use_flac="$enableval", use_flac="no")
+have_flac="no"
+if test "x$use_flac" = xyes; then
+
+ AC_CHECK_LIB(FLAC, FLAC__stream_decoder_new, have_flac=yes, have_flac=no, -lm)
+ AC_CHECK_HEADER(FLAC/all.h, have_flac=yes, have_flac=no)
+
+ if test "x$have_flac&quo...