aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-02-19 21:08:16 +0000
committerMåns Rullgård <mans@mansr.com>2007-02-19 21:08:16 +0000
commita2e25446e7da44bb5b4a18968fcf687796473f4d (patch)
treec65fa3d5e764b56c9f95a3bda700233dfc02fcbe
parent0ac47d632fc1f119f4d36932a7d4bbbb305d1fa3 (diff)
downloadffmpeg-a2e25446e7da44bb5b4a18968fcf687796473f4d.tar.gz
simplify check_lib
Originally committed as revision 8030 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure b/configure
index 308366d152..d834a32289 100755
--- a/configure
+++ b/configure
@@ -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(){