ref: 3b57d674ed62ccb7adf36a033f3b620ab33e537d
parent: 1e445a1071f009ebcf554c98f9a97261863ef769
author: Timothy B. Terriberry <tterribe@xiph.org>
date: Thu Feb 7 03:33:11 EST 2013
Require libFLAC >= 1.1.3 in the no-pkg-config case
--- a/configure.ac
+++ b/configure.ac
@@ -199,7 +199,7 @@
then
dnl fall back to AC_CHECK_LIB
AC_CHECK_LIB(m,log,FLAC_LIBS="-lm")
- AC_CHECK_LIB(FLAC, [FLAC__stream_decoder_process_single],
+ AC_CHECK_LIB(FLAC, [FLAC__stream_decoder_init_ogg_stream],
[
HAVE_FLAC="yes"
FLAC_LIBS="-lFLAC $FLAC_LIBS"
@@ -206,7 +206,7 @@
],
[
AC_MSG_ERROR([
- FLAC is required to build this package!
+ FLAC 1.1.3 or later is required to build this package!
Please install it or configure with --disable-flac.
])
HAVE_FLAC="no"