[SCM] libav/experimental: simplify check_lib

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:56:35 UTC 2013


The following commit has been merged in the experimental branch:
commit a2e25446e7da44bb5b4a18968fcf687796473f4d
Author: Måns Rullgård <mans at mansr.com>
Date:   Mon Feb 19 21:08:16 2007 +0000

    simplify check_lib
    
    Originally committed as revision 8030 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 308366d..d834a32 100755
--- a/configure
+++ b/configure
@@ -443,11 +443,7 @@ check_lib(){
     header="$1"
     func="$2"
     shift 2
-    temp_extralibs "$@"
-    check_header $header && check_func $func && add_extralibs "$@"
-    err=$?
-    restore_flags
-    return $err
+    check_header $header && check_func $func "$@" && add_extralibs "$@"
 }
 
 check_exec(){

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list