id3tag_ldflags := @id3tag_ldflags@
ogg_ldflags := @ogg_ldflags@
+vorbis_ldflags := @vorbis_ldflags@
build_date := $(shell date)
uname_s := $(shell uname -s 2>/dev/null || echo "UNKNOWN_OS")
para_play \
para_afh \
para_recv \
-: LDFLAGS += $(ogg_ldflags)
+: LDFLAGS += $(ogg_ldflags) $(vorbis_ldflags)
+
para_recv: $(recv_objs)
@[ -z "$(Q)" ] || echo 'LD $@'
if test "$have_vorbis" = "yes"; then
AC_DEFINE(HAVE_OGGVORBIS, 1, define to 1 to turn on ogg/vorbis support)
filters="$filters oggdec"
- vorbis_libs="-lvorbis -lvorbisfile"
- server_ldflags="$server_ldflags $vorbis_libs"
- filter_ldflags="$filter_ldflags $vorbis_libs"
- audiod_ldflags="$audiod_ldflags $vorbis_libs"
- play_ldflags="$play_ldflags $vorbis_libs"
- afh_ldflags="$afh_ldflags $vorbis_libs"
- recv_ldflags="$recv_ldflags $vorbis_libs"
+ vorbis_ldflags="$vorbis_libs -lvorbis -lvorbisfile"
+ AC_SUBST(vorbis_ldflags)
server_errlist_objs="$server_errlist_objs ogg_afh"
filter_errlist_objs="$filter_errlist_objs oggdec_filter"
audiod_audio_formats="$audiod_audio_formats ogg"
audio_format_handlers="$audio_format_handlers ogg"
-else
- AC_MSG_WARN([no ogg/vorbis $msg])
fi
if test "$have_speex" = "yes"; then
AC_DEFINE(HAVE_SPEEX, 1, define to 1 to turn on ogg/speex support)