configure: simplify check_lib2

Originally committed as revision 21266 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Måns Rullgård 15 years ago
parent f855b7b9c9
commit 300cde27b6
  1. 6
      configure

6
configure vendored

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

Loading…
Cancel
Save