diff options
author | Måns Rullgård <mans@mansr.com> | 2010-06-25 15:44:55 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-06-25 15:44:55 +0000 |
commit | 84400e9d10ca3b9a3835e4866bfca7e13ea48526 (patch) | |
tree | 116494ec91e86a4e6f4746c442562f2443022107 | |
parent | ad4d974c36c0b3bed9b04e5a810ca0d5bff16a91 (diff) | |
download | ffmpeg-84400e9d10ca3b9a3835e4866bfca7e13ea48526.tar.gz |
configure: simplify check_lib function
Originally committed as revision 23777 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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(){ |