diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-07-26 23:12:32 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-07-26 23:12:32 +0000 |
commit | a275862461766fd1875597551679515b72ad2f18 (patch) | |
tree | 6d2ea907ee8dc25e01fd016aca3c0823ac257f0a | |
parent | 126b638ea0c7838fde13850a0ad833170a269253 (diff) | |
download | ffmpeg-a275862461766fd1875597551679515b72ad2f18.tar.gz |
Make pkgconfig_generate check if the library is enabled before to
generate the pc files.
Originally committed as revision 24519 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -3173,6 +3173,7 @@ comment=$2 version=$3 libs=$4 requires=$5 +enabled $shortname || return cat <<EOF > $name/$name.pc prefix=$prefix exec_prefix=\${prefix} @@ -3210,8 +3211,6 @@ pkgconfig_generate libavcore "FFmpeg multimedia shared core utilities library" " pkgconfig_generate libavcodec "FFmpeg codec library" "$LIBAVCODEC_VERSION" "$extralibs" "libavcore = $LIBAVCORE_VERSION" pkgconfig_generate libavformat "FFmpeg container format library" "$LIBAVFORMAT_VERSION" "$extralibs" "libavcodec = $LIBAVCODEC_VERSION" pkgconfig_generate libavdevice "FFmpeg device handling library" "$LIBAVDEVICE_VERSION" "$extralibs" "libavformat = $LIBAVFORMAT_VERSION" -enabled avfilter && pkgconfig_generate libavfilter "FFmpeg video filtering library" "$LIBAVFILTER_VERSION" "$extralibs" "libavcore = $LIBAVCORE_VERSION" -enabled postproc && pkgconfig_generate libpostproc "FFmpeg post processing library" "$LIBPOSTPROC_VERSION" pkgconfig_generate libswscale "FFmpeg image rescaling library" "$LIBSWSCALE_VERSION" "" "libavutil = $LIBAVUTIL_VERSION" |