mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
configure: simplify check_lib function
Originally committed as revision 23777 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ad4d974c36
commit
84400e9d10
6
configure
vendored
6
configure
vendored
@ -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(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user