summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorj@v2v.cc <j@v2v.cc>2005-10-02 16:12:03 +0000
committerDiego Biurrun <diego@biurrun.de>2005-10-02 16:12:03 +0000
commite47972625e780624b08127c00966ef93402c069e (patch)
tree4f634f4f506661eb2dd1eeb3a8778a5226191826 /configure
parent672cbd9aa8c6f75c377e0ed37b046f60291c470d (diff)
Add all possible shared libraries to the pkg-config files.
patch by j -- at -- v2v -- dot -- cc Originally committed as revision 4626 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 5c277abd2f..94a94ddea6 100755
--- a/configure
+++ b/configure
@@ -1773,10 +1773,15 @@ lavf_version=`grep '#define LIBAVFORMAT_VERSION ' "$source_path/libavformat/avfo
lavu_version=`grep '#define LIBAVUTIL_VERSION ' "$source_path/libavutil/avutil.h" | sed 's/[^0-9\.]//g'`
requires=
+test "$dc1394" = "yes" && extralibs="$extralibs -ldc1394_control" && requires="$requires libraw1394"
+test "$libgsm" = "yes" && extralibs="$extralibs -lgsm"
test "$libogg" = "yes" && requires="$requires ogg >= 1.1"
test "$vorbis" = "yes" && requires="$requires vorbis"
+test "$mp3lame" = "yes" && extralibs="$extralibs -lmp3lame"
test "$theora" = "yes" && requires="$requires theora"
test "$faad" = "yes" && test "$faadbin" = "no" && extralibs="$extralibs -lfaad"
+test "$faac" = "yes" && extralibs="$extralibs -lfaac"
+test "$xvid" = "yes" && extralibs="$extralibs -lxvidcore"
# libavutil.pc
cat <<EOF >libavutil.pc