]> git.sesse.net Git - vlc/commitdiff
Also look for libpostproc when ffmpeg is installed without ffmpeg-config
authorEric Petit <titer@videolan.org>
Sun, 12 Feb 2006 18:20:54 +0000 (18:20 +0000)
committerEric Petit <titer@videolan.org>
Sun, 12 Feb 2006 18:20:54 +0000 (18:20 +0000)
 nor pkg-config

configure.ac

index 18317aeb4093afb8efa85e44ad887b4691eedea8..c5efd8dd4a65320046e4ea3ed8fa51dfbd3d3617 100644 (file)
@@ -2576,10 +2576,11 @@ dnl Trying with pkg-config
         VLC_ADD_LDFLAGS([ffmpeg],[-lavutil])
         LDAVUTIL="-lavutil"])
 
+      AC_CHECK_LIB(postproc, pp_postprocess, [
+        VLC_ADD_LDFLAGS([ffmpeg],[-lpostproc])])
+
       AC_CHECK_LIB(avcodec, avcodec_init, [
         VLC_ADD_BUILTINS([ffmpeg])
-
-
         VLC_ADD_LDFLAGS([ffmpeg],[-lavcodec])
         if test "${enable_sout}" != "no"; then
             VLC_ADD_BUILTINS([stream_out_switcher])