From 20bcce507aa6b9c866e34eee75d80305109767a8 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Thu, 16 Aug 2012 00:10:33 +0100 Subject: [PATCH] configure: clean up Altivec detection There used to be one test for Altivec intrinsics support and a separate test to determine which of two possible syntaxes to use for vector literals. Since 2008, we only support the more common of these so the split test no longer makes sense. This combines the tests into one and also changes the hard error on failure to a warning. The test can reasonably fail if no --cpu flag is provided (or is provided with an unknown CPU) and the compiler default target does not support Altivec. Aborting in this case is probably over-reacting. Signed-off-by: Mans Rullgard --- configure | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 6622b24770..18f81e4d31 100755 --- a/configure +++ b/configure @@ -2875,17 +2875,14 @@ elif enabled ppc; then check_cc <