summaryrefslogtreecommitdiff
path: root/audio/flac123/patches/patch-aa
blob: af0b318e22d36228ba4b5e4fee98b23e2948cde0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$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!)