aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-12-22 23:54:16 +0000
committerDiego Biurrun <diego@biurrun.de>2006-12-22 23:54:16 +0000
commit2e3bcd38d0ae8f4dba23788e411378e94d76a629 (patch)
tree65ec3fee145f952448d273d675b83cedf639d523 /configure
parentacb3b537f3604389b720d1f886d0937ffbcc875a (diff)
downloadffmpeg-2e3bcd38d0ae8f4dba23788e411378e94d76a629.tar.gz
Create libpostproc pkgconfig files only if libpostproc is enabled.
Originally committed as revision 7363 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 4 insertions, 2 deletions
diff --git a/configure b/configure
index 55d5392798..f989938f4d 100755
--- a/configure
+++ b/configure
@@ -2114,8 +2114,10 @@ pkgconfig_generate_uninstalled libavcodec "FFmpeg codec library" "$lavc_version"
pkgconfig_generate libavformat "FFmpeg container format library" "$lavf_version" "-lavformat $extralibs" "$pkg_requires libavcodec = $lavc_version" ffmpeg
pkgconfig_generate_uninstalled libavformat "FFmpeg container format library" "$lavf_version" "$extralibs" "$pkg_requires libavcodec = $lavc_version"
-pkgconfig_generate libpostproc "FFmpeg post processing library" "$pp_version" -lpostproc "" postproc
-pkgconfig_generate_uninstalled libpostproc "FFmpeg post processing library" "$pp_version"
+if test "$pp" = "yes"; then
+ pkgconfig_generate libpostproc "FFmpeg post processing library" "$pp_version" -lpostproc "" postproc
+ pkgconfig_generate_uninstalled libpostproc "FFmpeg post processing library" "$pp_version"
+fi
if test "$swscaler" != "no"; then
pkgconfig_generate libswscale "FFmpeg image rescaling library" "$sws_version" "-lswscale" "$pkg_requires libavutil = $lavu_version" swscale