Commit 84400e9d authored by Måns Rullgård's avatar Måns Rullgård

configure: simplify check_lib function

Originally committed as revision 23777 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ad4d974c
...@@ -731,11 +731,7 @@ check_lib(){ ...@@ -731,11 +731,7 @@ check_lib(){
header="$1" header="$1"
func="$2" func="$2"
shift 2 shift 2
temp_extralibs "$@" check_header $header && check_func $func "$@" && add_extralibs "$@"
check_header $header && check_func $func && add_extralibs "$@"
err=$?
restore_flags
return $err
} }
check_lib2(){ check_lib2(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment