[SCM] libav/experimental: configure: remove unused function check_foo_config

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:09:17 UTC 2013


The following commit has been merged in the experimental branch:
commit ad4d974c36c0b3bed9b04e5a810ca0d5bff16a91
Author: Måns Rullgård <mans at mansr.com>
Date:   Fri Jun 25 15:44:52 2010 +0000

    configure: remove unused function check_foo_config
    
    Originally committed as revision 23776 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index b938749..76c8bf2 100755
--- a/configure
+++ b/configure
@@ -827,23 +827,6 @@ require2(){
     check_lib2 "$headers" $func "$@" || die "ERROR: $name not found"
 }
 
-check_foo_config(){
-    cfg=$1
-    pkg=$2
-    header=$3
-    func=$4
-    shift 4
-    disable $cfg
-    check_cmd ${pkg}-config --version
-    err=$?
-    if test "$err" = 0; then
-        temp_cflags $(${pkg}-config --cflags)
-        temp_extralibs $(${pkg}-config --libs)
-        check_lib "$@" $header $func && enable $cfg
-    fi
-    return $err
-}
-
 check_host_cc(){
     log check_host_cc "$@"
     cat > $TMPC

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list