configure: simplify check_lib2

Originally committed as revision 21266 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-01-17 19:05:57 +00:00
parent f855b7b9c9
commit 300cde27b6

6
configure vendored
View File

@ -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(){