dnl
dnl Gettext stuff
dnl
-AM_GNU_GETTEXT_VERSION([0.18.3])
+AM_GNU_GETTEXT_VERSION([0.19.2])
AM_GNU_GETTEXT([external], [need-ngettext])
dnl
VLC_RESTORE_FLAGS
AS_IF([test -n "$SOCKET_LIBS"], [
- VLC_ADD_LIBS([access_rtmp access_output_shout sap stream_out_standard stream_out_rtp stream_out_raop vod_rtsp oldrc netsync ts remoteosd audiobargraph_a],[${SOCKET_LIBS}])
+ VLC_ADD_LIBS([access_rtmp access_output_shout sap stream_out_standard stream_out_rtp stream_out_raop stream_out_chromecast oldrc netsync ts remoteosd audiobargraph_a],[${SOCKET_LIBS}])
])
AC_SUBST(SOCKET_LIBS)
LIBDL=""
have_dynamic_objects="no"
VLC_SAVE_FLAGS
-AC_SEARCH_LIBS(dlopen, [dl svld], [
- AS_IF([test "$ac_cv_search_dlopen" != "none required"], [
- LIBDL="$ac_cv_search_dlopen"
+AC_SEARCH_LIBS(dlsym, [dl svld], [
+ AS_IF([test "$ac_cv_search_dlsym" != "none required"], [
+ LIBDL="$ac_cv_search_dlsym"
])
have_dynamic_objects="yes"
])
dnl Compiler warnings
dnl
-RDC_PROG_CC_WFLAGS([all extra sign-compare undef pointer-arith bad-function-cast write-strings missing-prototypes volatile-register-var error-implicit-function-declaration])
+RDC_PROG_CC_WFLAGS([all extra sign-compare undef pointer-arith bad-function-cast write-strings missing-prototypes volatile-register-var error-implicit-function-declaration init-self logical-op])
RDC_PROG_CC_FLAGS([-pipe])
AC_LANG_PUSH([C++])
RDC_PROG_CXX_WFLAGS([all extra sign-compare undef pointer-arith volatile-register-var])
dnl
dnl Daala decoder plugin
dnl
-PKG_ENABLE_MODULES_VLC([DAALA], [], [ogg daaladec], [experimental daala codec], [disabled])
+PKG_ENABLE_MODULES_VLC([DAALA], [], [ogg daaladec daalaenc], [experimental daala codec], [disabled])
dnl
dnl schroedinger decoder plugin (for dirac format video)
AC_ARG_ENABLE(wayland,
[AS_HELP_STRING([--enable-wayland], [Wayland support (default auto)])])
have_wayland="no"
+AC_ARG_VAR([WAYLAND_SCANNER], [Wayland scanner utility])
+
AS_IF([test "${enable_wayland}" != "no"], [
+ AC_MSG_CHECKING([for the Wayland scanner])
+ AS_IF([test -z "$WAYLAND_SCANNER"], [
+ PKG_CHECK_EXISTS([wayland-scanner], [
+ WAYLAND_SCANNER="$(${PKG_CONFIG} wayland-scanner --variable wayland_scanner)"
+ ], [
+ WAYLAND_SCANNER="wayland-scanner"
+ ])
+ ])
+ AC_MSG_RESULT([$WAYLAND_SCANNER])
+
PKG_CHECK_MODULES([WAYLAND_CLIENT], [wayland-client >= 1.5.91], [
have_wayland="yes"
], [
if test "${SYS}" != "darwin"; then
VLC_ADD_PLUGIN([vout_sdl])
fi
- if test "${SYS}" != "mingw32" -a "${SYS}" != "os2"; then
- VLC_ADD_LIBS([vout_sdl],[${X_LIBS} ${X_PRE_LIBS} -lX11])
- fi
- VLC_ADD_CFLAGS([vout_sdl],[${SDL_CFLAGS}])
- VLC_ADD_LIBS([vout_sdl],[${SDL_LIBS}])
# SDL_image
AS_IF([ test "${enable_sdl_image}" != "no"],[
AC_ARG_ENABLE(android-surface,
[ --enable-android-surface Android Surface video output module (default disabled)])
if test "${enable_android_surface}" = "yes"; then
- if test "${HAVE_ANDROID}" = "1"; then
VLC_ADD_PLUGIN([android_surface])
- VLC_ADD_LIBS([android_surface], [-ldl])
VLC_ADD_PLUGIN([android_opaque])
- VLC_ADD_LIBS([android_opaque], [-ldl])
- fi
fi
dnl
if test "${have_aa}" = "true"
then
VLC_ADD_PLUGIN([aa])
- VLC_ADD_LIBS([aa],[-laa])
- if test "${SYS}" != "mingw32"; then
- VLC_ADD_LIBS([aa],[${X_LIBS} ${X_PRE_LIBS} -lX11])
- fi
fi
fi
[(Chromaprint based audio fingerprinter)],[auto])
m4_popdef([libchromaprint_version])
+dnl
+dnl Chromecast streaming support
+dnl
+m4_pushdef([protobuf_lite_version], 2.5.0)
+PKG_WITH_MODULES([CHROMECAST],[protobuf-lite >= protobuf_lite_version], [
+ AC_CHECK_PROGS(PROTOC, protoc)
+ AS_IF([test "${PROTOC}" = "protoc"], [
+ VLC_ADD_PLUGIN([stream_out_chromecast])
+ VLC_ADD_CXXFLAGS([stream_out_chromecast],[${CHROMECAST_CFLAGS}] [-I./chromecast])
+ VLC_ADD_LIBS([stream_out_chromecast],[${CHROMECAST_LIBS}])
+ build_chromecast="yes"
+ ], [
+ AC_MSG_ERROR(protoc compiler needed for [chromecast] was not found)
+ ])
+], [
+ AS_IF([test "${enable_chromecast}" = "yes"],
+ AC_MSG_ERROR(Library [protobuf-lite >= protobuf_lite_version] needed for [chromecast] was not found),
+ AC_MSG_WARN(Library [protobuf-lite >= protobuf_lite_version] needed for [chromecast] was not found)
+ )
+ enable_chromecast="no"
+], [(Chromecast streaming support)], [auto])
+AM_CONDITIONAL([BUILD_CHROMECAST], [test "${build_chromecast}" = "yes"])
+m4_popdef([protobuf_lite_version])
+
dnl
dnl Interface plugins
dnl
modules/gui/macosx_dialog_provider/Makefile
modules/gui/qt4/Makefile
modules/gui/skins2/Makefile
- modules/misc/Makefile
modules/mux/Makefile
modules/packetizer/Makefile
modules/stream_out/Makefile
modules/text_renderer/Makefile
modules/video_filter/Makefile
- modules/video_output/Makefile
modules/visualization/Makefile
- modules/hw/vdpau/Makefile
modules/hw/mmal/Makefile
])