Commit 8ce9e0f3 authored by mru's avatar mru

configure: simplify check_lib2

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21266 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3b21416a
......@@ -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