X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=configure.ac;h=ce425402afedddc3c25c189e7c23a98e7d1b0f28;hb=12f23f648dbe01c8c362a24315020f59b90e3efe;hp=0dfc6891be2e317e2b9b2cc1b781b10cc3c970df;hpb=ebd3b8f316ef4c114eb5625372f11fd87bd809a5;p=vlc diff --git a/configure.ac b/configure.ac index 0dfc6891be..ce425402af 100644 --- a/configure.ac +++ b/configure.ac @@ -645,7 +645,7 @@ AC_CHECK_LIB(m,cos,[ VLC_ADD_LIBS([adjust wave ripple psychedelic gradient a52tofloat32 dtstofloat32 x264 goom visual panoramix rotate noise grain],[-lm]) ]) AC_CHECK_LIB(m,pow,[ - VLC_ADD_LIBS([ffmpeg ffmpegaltivec stream_out_transrate i420_rgb faad twolame equalizer spatializer param_eq libvlc vorbis freetype mod mpc dmo quicktime realaudio galaktos opengl],[-lm]) + VLC_ADD_LIBS([ffmpeg ffmpegaltivec stream_out_transrate i420_rgb faad twolame equalizer spatializer param_eq libvlc vorbis freetype mod mpc dmo quicktime realaudio realvideo galaktos opengl],[-lm]) ]) AC_CHECK_LIB(m,sqrt,[ VLC_ADD_LIBS([headphone_channel_mixer normvol speex mono colorthres extract],[-lm]) @@ -1137,6 +1137,10 @@ case "${host_cpu}" in ;; esac +dnl Check for backtrace() support +AC_CHECK_HEADERS(execinfo.h) +AC_CHECK_FUNCS(backtrace) + dnl dnl Enable profiling dnl @@ -1320,6 +1324,7 @@ if test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"; then VLC_ADD_PLUGIN([screensaver]) VLC_ADD_PLUGIN([motion]) VLC_ADD_PLUGIN([dynamicoverlay]) + VLC_ADD_PLUGIN([signals]) elif test "${SYS}" != "mingwce"; then VLC_ADD_PLUGIN([ntservice]) VLC_ADD_PLUGIN([access_smb]) @@ -2999,7 +3004,7 @@ if test "${enable_ffmpeg}" != "no" then dnl Trying with pkg-config - PKG_CHECK_MODULES(FFMPEG,[libavcodec, libavformat], + PKG_CHECK_MODULES(FFMPEG,[libavcodec, libavformat, libavutil], [ VLC_SAVE_FLAGS CPPFLAGS="${CPPFLAGS} ${FFMPEG_CFLAGS}" @@ -3033,18 +3038,19 @@ dnl Trying with pkg-config [${FFMPEG_LIBS}]) ], [${SWSCALE_LIBS}]) - VLC_RESTORE_FLAGS ],[AC_CHECK_LIB(avcodec,img_resample,[], [AC_MSG_ERROR([Your FFmpeg library doesn't have the needed img_resample() function. You should rebuild it with software scaler disabled, or install the swscale headers.])], [${FFMPEG_LIBS}]) ] ) + VLC_RESTORE_FLAGS ],[ dnl dnl last chance: at the default place dnl + VLC_SAVE_FLAGS CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_ffmpeg}" LDFLAGS="${LDFLAGS_save} ${LDFLAGS_ffmpeg} ${LIBS_ffmpeg}" AC_CHECK_HEADERS(ffmpeg/avcodec.h libavcodec/avcodec.h) @@ -3071,8 +3077,7 @@ dnl Trying with pkg-config AC_CHECK_LIB(avformat, av_open_input_stream, [ VLC_ADD_LIBS([ffmpeg],[-lavformat -lz]) ], [], [-lavcodec -lz $LDAVUTIL]) - LDFLAGS="${LDFLAGS_save}" - CPPFLAGS="${CPPFLAGS_save}" + VLC_RESTORE_FLAGS AC_CHECK_LIB(swscale, sws_getContext, [ AC_CHECK_HEADERS(ffmpeg/swscale.h libswscale/swscale.h) @@ -3080,10 +3085,10 @@ dnl Trying with pkg-config [AC_CHECK_LIB(avcodec,img_resample,[], [AC_MSG_ERROR([Your FFmpeg library doesn't have the needed img_resample() function. You should rebuild it with software scaler disabled, or install the swscale headers.])], [-lavcodec $LDAVUTIL]) - LDFLAGS="${LDFLAGS_save}" - CPPFLAGS="${CPPFLAGS_save}" ], [${SWSCALE_LIBS}]) + + VLC_RESTORE_FLAGS ]) fi @@ -3203,9 +3208,10 @@ dnl dnl Real plugin dnl AC_ARG_ENABLE(real, - [ --enable-real Real audio module (default disabled)]) + [ --enable-real Real media module (default disabled)]) if test "${enable_real}" = "yes"; then VLC_ADD_PLUGIN([realaudio]) + VLC_ADD_PLUGIN([realvideo]) fi dnl @@ -5632,6 +5638,8 @@ AS_IF([test "${enable_loader}" = "yes"], VLC_ADD_LIBS([quicktime],[../../libs/loader/libloader.la -lpthread]) VLC_ADD_CPPFLAGS([realaudio],[-I../../@top_srcdir@/libs/loader -DLOADER]) VLC_ADD_LIBS([realaudio],[../../libs/loader/libloader.la]) + VLC_ADD_CPPFLAGS([realvideo],[-I../../@top_srcdir@/libs/loader -DLOADER]) + VLC_ADD_LIBS([realvideo],[../../libs/loader/libloader.la]) ]) AC_ARG_WITH(,[Components:])