revert last change, it breaks on brain damaged distros
authorMåns Rullgård <mans@mansr.com>
Mon, 19 Feb 2007 21:53:09 +0000 (21:53 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 19 Feb 2007 21:53:09 +0000 (21:53 +0000)
Originally committed as revision 8031 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index d834a32..308366d 100755 (executable)
--- a/configure
+++ b/configure
@@ -443,7 +443,11 @@ check_lib(){
     header="$1"
     func="$2"
     shift 2
-    check_header $header && check_func $func "$@" && add_extralibs "$@"
+    temp_extralibs "$@"
+    check_header $header && check_func $func && add_extralibs "$@"
+    err=$?
+    restore_flags
+    return $err
 }
 
 check_exec(){