]> git.sesse.net Git - vlc/blobdiff - configure.ac
video_filter: clean up and sort build rules
[vlc] / configure.ac
index 7d662beba55379785a0787385fe8c478c2b6a51d..9292df7af8756790630d4c3d293ed25f4348f284 100644 (file)
@@ -699,7 +699,7 @@ AC_CHECK_FUNC(getopt_long,, [
 AC_SUBST(GNUGETOPT_LIBS)
 
 AC_CHECK_LIB(m,cos,[
-  VLC_ADD_LIBS([adjust wave ripple psychedelic gradient x264 goom noise grain scene swscale postproc mpc qt4 audiobargraph_v colorthres extract ball mosaic gaussianblur x262 x26410b hqdn3d anaglyph ncurses oldmovie glspectrum smooth],[-lm])
+  VLC_ADD_LIBS([x264 goom noise swscale mpc qt4 x262 x26410b ncurses glspectrum smooth],[-lm])
   LIBM="-lm"
 ], [
   LIBM=""
@@ -2523,8 +2523,6 @@ then
       CFLAGS="${CFLAGS} ${POSTPROC_CFLAGS}"
       AC_CHECK_HEADERS(postproc/postprocess.h)
       VLC_ADD_PLUGIN([postproc])
-      VLC_ADD_LIBS([postproc],[$POSTPROC_LIBS $AVUTIL_LIBS])
-      VLC_ADD_CFLAGS([postproc],[$POSTPROC_CFLAGS $AVUTIL_CFLAGS])
       VLC_RESTORE_FLAGS
     ],[
       AC_MSG_WARN([${POSTPROC_PKG_ERRORS}.])
@@ -3886,9 +3884,7 @@ AS_HELP_STRING([--disable-atmo],[AtmoLight (homemade Philips Ambilight clone)
                 (default enabled)]),, [enable_atmo="yes"])
 AS_IF([test "${enable_atmo}" != no], [
   AS_IF([test "${SYS}" = "mingw32" -o "${SYS}" = "linux"], [
-    AC_LANG_PUSH(C++)
     VLC_ADD_PLUGIN([atmo])
-    AC_LANG_POP(C++)
   ])
 ])