OSDN Git Service

simplify check_lib
authorMåns Rullgård <mans@mansr.com>
Mon, 19 Feb 2007 21:08:16 +0000 (21:08 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 19 Feb 2007 21:08:16 +0000 (21:08 +0000)
Originally committed as revision 8030 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 308366d..d834a32 100755 (executable)
--- 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(){