]> git.sesse.net Git - vlc/commitdiff
configure: enable RemoteOSD automatically, like RAOP
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 15 Feb 2011 16:25:18 +0000 (18:25 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 15 Feb 2011 17:20:36 +0000 (19:20 +0200)
configure.ac

index ed19b0e318de072f006a070964593c825a6d2534..2d2d17b5378a2bd423f98d05bda0a65a91949cb7 100644 (file)
@@ -4107,24 +4107,22 @@ AS_IF([test "${enable_gnutls}" != "no"], [
 dnl
 dnl RemoteOSD plugin (VNC client as video filter)
 dnl
-AC_ARG_ENABLE(remoteosd,
-  [  --disable-remoteosd     RemoteOSD plugin (default enabled)])
-
-AS_IF([test "${enable_remoteosd}" != "no"], [
-  AS_IF([test "${have_libgcrypt}" = "yes"],[
-    VLC_ADD_PLUGIN([remoteosd])
-    VLC_ADD_LIBS([remoteosd], ${GCRYPT_LIBS})
-    VLC_ADD_CFLAGS([remoteosd], ${GCRYPT_CFLAGS})
-  ], [
-    AC_MSG_ERROR([libgcrypt support required for RemoteOSD plugin])
-  ])
+AC_MSG_CHECKING([whether to enable the RemoteOSD plugin])
+AS_IF([test "${have_libgcrypt}" = "yes"],[
+  AC_MSG_RESULT(yes)
+  VLC_ADD_PLUGIN([remoteosd])
+  VLC_ADD_LIBS([remoteosd], ${GCRYPT_LIBS})
+  VLC_ADD_CFLAGS([remoteosd], ${GCRYPT_CFLAGS})
+], [
+  AC_MSG_RESULT(no)
+  AC_MSG_WARN([libgcrypt support required for RemoteOSD plugin])
 ])
 
 
 dnl
 dnl RAOP plugin
 dnl
-AC_MSG_CHECKING([whether to enable RAOP plugin])
+AC_MSG_CHECKING([whether to enable the RAOP plugin])
 AS_IF([test "${have_libgcrypt}" = "yes"], [
   AC_MSG_RESULT(yes)
   VLC_ADD_PLUGIN([stream_out_raop])