$NetBSD: patch-aa,v 1.1 2007/01/09 23:36:45 wiz Exp $ --- configure.ac.orig 2005-05-07 23:05:24.000000000 +0000 +++ configure.ac @@ -40,9 +40,9 @@ fi AC_PROG_CC # Checks for libraries. -AC_CHECK_LIB(FLAC, FLAC__file_decoder_new, [haveflac=yes], [haveflac=no], -lm) +AC_CHECK_LIB(FLAC, FLAC__stream_decoder_new, [haveflac=yes], [haveflac=no], -lm -logg) if test "$haveflac" = "yes"; then - FLAC_LIBS="-lFLAC -lm" + FLAC_LIBS="-lFLAC -logg -lm" AC_SUBST(FLAC_LIBS) else AC_MSG_ERROR(FLAC required!)