summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure b/configure
index 268e9103eb..cf3d51ac2c 100755
--- a/configure
+++ b/configure
@@ -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(){