VLC_ADD_LIBS([adjust wave ripple psychedelic gradient a52tofloat32 dtstofloat32 x264 goom visual panoramix rotate noise grain scene kate flac lua chorus_flanger],[-lm])
])
AC_CHECK_LIB(m,pow,[
- VLC_ADD_LIBS([avcodec avformat access_avio swscale postproc ffmpegaltivec i420_rgb faad twolame equalizer spatializer param_eq libvlccore freetype mod mpc dmo quicktime realvideo opengl],[-lm])
+ VLC_ADD_LIBS([avcodec avformat access_avio swscale postproc ffmpegaltivec i420_rgb faad twolame equalizer spatializer param_eq libvlccore freetype mod mpc dmo quicktime realvideo],[-lm])
])
AC_CHECK_LIB(m,sqrt,[
VLC_ADD_LIBS([headphone_channel_mixer normvol audiobargraph_a speex mono colorthres extract ball],[-lm])
dnl
AC_PATH_XTRA()
-AC_CHECK_HEADERS(X11/Xlib.h, [
- VLC_ADD_LIBS([omapfb],[${X_LIBS} ${X_PRE_LIBS} -lX11])
-])
+AC_CHECK_HEADERS(X11/Xlib.h)
dnl
dnl X C Bindings modules
AC_SUBST([GL_CFLAGS])
AC_SUBST([GL_LIBS])
-
-dnl
-dnl OpenGL module
-dnl (enabled by default except on beos)
-dnl
-AC_ARG_ENABLE(opengl,
- [ --enable-opengl OpenGL support (default enabled)])
-if test "${enable_opengl}" != "no" &&
- test "${SYS}" = "darwin"; then
- dnl OS X special case (no GL/gl.h but OpenGL/gl.h)
- VLC_ADD_PLUGIN([opengl])
- VLC_ADD_LIBS([opengl],[-Wl,-framework,OpenGL])
-fi
-
dnl
dnl SDL module
dnl
VLC_ADD_PLUGIN([snapshot])
fi
-dnl
-dnl Roku HD1000 Video output module
-dnl
-AC_ARG_ENABLE(hd1000v,
- [ --enable-hd1000v HD1000 Video Output module (default enabled on HD1000)])
-if test "${enable_hd1000v}" != "no" -a "${CXX}" != "" &&
- (test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce" ||
- test "${enable_hd1000v}" = "yes"); then
- AC_LANG_PUSH([C++])
- AC_CHECK_HEADERS([cascade/graphics/CascadeScreen.h cascade/graphics/CascadeBitmap.h],
- [
- can_build_roku="yes"
- ],
- [
- can_build_roku="no"
- AC_MSG_WARN([Not building Roku HD1000 compatible video output])
- ])
- if test "$can_build_roku" = "yes"
- then
- VLC_ADD_PLUGIN([hd1000v])
- VLC_ADD_LIBS([hd1000v],[-lCascade -ldvbpsi -lmad])
- fi
- AC_LANG_POP([C++])
-fi
-
dnl
dnl Windows DirectX module
dnl
])
fi
-dnl
-dnl OMAP Framebuffer module
-dnl
-AC_ARG_ENABLE(omapfb,
- [ --enable-omapfb OMAP framebuffer support (default disabled)])
- if test "${enable_omapfb}" = "yes"
- then
- AC_CHECK_HEADERS(asm/arch-omap/omapfb.h, [
- VLC_ADD_PLUGIN([omapfb])
- ])
- VLC_ADD_PLUGIN([swscale_omap])
- fi
-
dnl
dnl DirectFB module
dnl try to find using: 1 - given location; 2 - directfb-config; 3 - pkg-config