Index: configure =================================================================== --- configure.orig +++ configure @@ -1425,7 +1425,7 @@ EOF fi if test "$_vorbis" = yes ; then _def_vorbis='#define USE_VORBIS' - LIBS="$LIBS $OGG_LIBS $VORBIS_LIBS -lvorbisfile -lvorbis -logg" + LIBS="$LIBS $OGG_LIBS $VORBIS_LIBS -lvorbisfile" INCLUDES="$INCLUDES $OGG_CFLAGS $VORBIS_CFLAGS" else _def_vorbis='#undef USE_VORBIS' @@ -1475,11 +1475,7 @@ EOF fi if test "$_flac" = yes ; then _def_flac='#define USE_FLAC' - if test "$_vorbis" = yes ; then - LIBS="$LIBS $FLAC_LIBS $OGG_LIBS -lFLAC -logg" - else - LIBS="$LIBS $FLAC_LIBS -lFLAC" - fi + LIBS="$LIBS $FLAC_LIBS -lFLAC" INCLUDES="$INCLUDES $FLAC_CFLAGS" else _def_flac='#undef USE_FLAC'