提交 84400e9d 编写于 作者: M Måns Rullgård

configure: simplify check_lib function

Originally committed as revision 23777 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 ad4d974c
......@@ -731,11 +731,7 @@ check_lib(){
header="$1"
func="$2"
shift 2
temp_extralibs "$@"
check_header $header && check_func $func && add_extralibs "$@"
err=$?
restore_flags
return $err
check_header $header && check_func $func "$@" && add_extralibs "$@"
}
check_lib2(){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册