summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-03-21 16:33:57 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-03-21 16:33:57 +0000
commit40b601fbb774cd2be2f6cbe7155570340fc475a2 (patch)
tree79ec38289fe7e9a56059c8c69e8b212eb218e3f0 /configure
parent1a4ac776ebc9bb07287f59f63e473db531318dff (diff)
Use autoconf macro for testing compiler options with empty input.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 3eb7cf14f1..dc50c16c72 100755
--- a/configure
+++ b/configure
@@ -7054,10 +7054,11 @@ else
(eval $ac_try) 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }; then
+ test $ac_status = 0; }; }; then :
+
libc_cv_cc_submachine="$opt"
break
- fi
+fi
done
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_submachine" >&5