summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-06-25 15:44:55 +0000
committerMåns Rullgård <mans@mansr.com>2010-06-25 15:44:55 +0000
commit84400e9d10ca3b9a3835e4866bfca7e13ea48526 (patch)
tree116494ec91e86a4e6f4746c442562f2443022107 /configure
parentad4d974c36c0b3bed9b04e5a810ca0d5bff16a91 (diff)
configure: simplify check_lib function
Originally committed as revision 23777 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure b/configure
index 76c8bf23af..1e103ff097 100755
--- a/configure
+++ b/configure
@@ -731,11 +731,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_lib2(){