From: Andre Noll Date: Mon, 27 Feb 2012 12:44:26 +0000 (+0100) Subject: configure.ac: Try to link against libogg and lm if necessary. X-Git-Tag: v0.4.10~9 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=67661ce3c08659979ef5a58dfb024407bb17b194;p=paraslash.git 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. --- 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"