Commit 300cde27 authored by Måns Rullgård's avatar Måns Rullgård
Browse files

configure: simplify check_lib2

Originally committed as revision 21266 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f855b7b9
......@@ -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(){
......
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