aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-01-17 19:05:57 +0000
committerMåns Rullgård <mans@mansr.com>2010-01-17 19:05:57 +0000
commit300cde27b625a5b1f9336d6e061b63b5eed118a6 (patch)
tree65550d8c7d7164d40f3d48e262d03e74e9addb82
parentf855b7b9c9005e30c953fe41594b2b01a4f08d07 (diff)
downloadffmpeg-300cde27b625a5b1f9336d6e061b63b5eed118a6.tar.gz
configure: simplify check_lib2
Originally committed as revision 21266 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure b/configure
index 268e9103eb..cf3d51ac2c 100755
--- a/configure
+++ b/configure
@@ -709,11 +709,7 @@ check_lib2(){
headers="$1"
func="$2"
shift 2
- temp_extralibs "$@"
- check_func_headers "$headers" $func && add_extralibs "$@"
- err=$?
- restore_flags
- return $err
+ check_func_headers "$headers" $func "$@" && add_extralibs "$@"
}
check_exec(){