--- a/m4/linnsongcast.m4
+++ b/m4/linnsongcast.m4
@@ -5,4 +5,11 @@
 if test "$ac_cv_func_setsourceindex_in_linn" = "yes" ; then
   AC_DEFINE([HAVE_SETSOURCEINDEX_IN_LINN],1,[Set to 1 if the setSourceIndex function is found in libupnpp])
 fi
+
+AC_SINGLE_CXX_CHECK([ac_cv_func_setreceiversplaying_in_linn],
+                    [setReceiversPlaying], [<libupnpp/control/linnsongcast.hxx>],
+                    [const std::vector<std::string> v; UPnPClient::Songcast::setReceiversPlaying(v);])
+if test "$ac_cv_func_setreceiversplaying_in_linn" = "yes" ; then
+  AC_DEFINE([HAVE_SETRECEIVERSPLAYING_IN_LINN],1,[Set to 1 if the setReceiversPlaying function is found in libupnpp])
+fi
 ])