From 67661ce3c08659979ef5a58dfb024407bb17b194 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 27 Feb 2012 13:44:26 +0100 Subject: [PATCH] configure.ac: Try to link against libogg and lm if necessary. This seems to be necessary on FreeBSD, and does hopefully not hurt on other systems. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 89242d96..b5898ac8 100644 --- a/configure.ac +++ b/configure.ac @@ -748,7 +748,7 @@ if test -n "$with_flac_libs"; then LDFLAGS="$LDFLAGS $flac_libs" fi AC_CHECK_HEADER(FLAC/stream_decoder.h, [], have_flac=no) -AC_CHECK_LIB([FLAC], [FLAC__stream_decoder_init_file], [], have_flac=no) +AC_CHECK_LIB([FLAC], [FLAC__stream_decoder_init_file], [], have_flac=no, -logg -lm) if test "$have_flac" = "yes"; then AC_DEFINE(HAVE_FLAC, 1, define to 1 if you want to build the flacdec filter) all_errlist_objs="$all_errlist_objs flacdec_filter flac_afh" -- 2.39.5