]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - configure.ac
configure.ac: Try to link against libogg and lm if necessary.
[paraslash.git] / configure.ac
index 89242d969bbab440a8ac085262b3de45ea3d3392..b5898ac833e10cefabcdc84d398d55a5cd387c83 100644 (file)
@@ -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"