From a2e25446e7da44bb5b4a18968fcf687796473f4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Mon, 19 Feb 2007 21:08:16 +0000
Subject: [PATCH] simplify check_lib

Originally committed as revision 8030 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/configure b/configure
index 308366d1520..d834a322891 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(){
-- 
GitLab