simplify check_lib

Originally committed as revision 8030 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Måns Rullgård 18 years ago
parent 0ac47d632f
commit a2e25446e7
  1. 6
      configure

6
configure vendored

@ -443,11 +443,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_exec(){

Loading…
Cancel
Save