Commit 2da025de authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

configure: enable RemoteOSD automatically, like RAOP

parent 66a9759e
...@@ -4107,24 +4107,22 @@ AS_IF([test "${enable_gnutls}" != "no"], [ ...@@ -4107,24 +4107,22 @@ AS_IF([test "${enable_gnutls}" != "no"], [
dnl dnl
dnl RemoteOSD plugin (VNC client as video filter) dnl RemoteOSD plugin (VNC client as video filter)
dnl dnl
AC_ARG_ENABLE(remoteosd, AC_MSG_CHECKING([whether to enable the RemoteOSD plugin])
[ --disable-remoteosd RemoteOSD plugin (default enabled)]) AS_IF([test "${have_libgcrypt}" = "yes"],[
AC_MSG_RESULT(yes)
AS_IF([test "${enable_remoteosd}" != "no"], [
AS_IF([test "${have_libgcrypt}" = "yes"],[
VLC_ADD_PLUGIN([remoteosd]) VLC_ADD_PLUGIN([remoteosd])
VLC_ADD_LIBS([remoteosd], ${GCRYPT_LIBS}) VLC_ADD_LIBS([remoteosd], ${GCRYPT_LIBS})
VLC_ADD_CFLAGS([remoteosd], ${GCRYPT_CFLAGS}) VLC_ADD_CFLAGS([remoteosd], ${GCRYPT_CFLAGS})
], [ ], [
AC_MSG_ERROR([libgcrypt support required for RemoteOSD plugin]) AC_MSG_RESULT(no)
]) AC_MSG_WARN([libgcrypt support required for RemoteOSD plugin])
]) ])
dnl dnl
dnl RAOP plugin dnl RAOP plugin
dnl dnl
AC_MSG_CHECKING([whether to enable RAOP plugin]) AC_MSG_CHECKING([whether to enable the RAOP plugin])
AS_IF([test "${have_libgcrypt}" = "yes"], [ AS_IF([test "${have_libgcrypt}" = "yes"], [
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
VLC_ADD_PLUGIN([stream_out_raop]) VLC_ADD_PLUGIN([stream_out_raop])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment