if test "$use_librtmp" != "no"; then
PKG_CHECK_MODULES([LIBRTMP], [librtmp],
[INCLUDES="$INCLUDES $LIBRTMP_CFLAGS"; LIBS="$LIBS $LIBRTMP_LIBS";
+ XB_FIND_SONAME([RTMP], [rtmp], [use_librtmp])
AC_DEFINE([HAS_LIBRTMP], [1], [Whether to use libRTMP library.])
RTMP_ALL_LIBS=$(${PKG_CONFIG} --static --libs-only-l --silence-errors librtmp)
test "$use_static_ffmpeg" = "yes" && LIBS="$LIBS $RTMP_ALL_LIBS"],