summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index d834a32..308366d 100755
--- 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(){
OpenPOWER on IntegriCloud