2010-11-10	Francisco Blas Izquierdo Riera <franxisco1988@mixmail.com>
		KUDOS: Magnus Granberg (Help with this)
		KUDOS: Thomas Sachau (Help reproducing the bug)
		KUDOS: Alexander E. Patrakov (Providing an initial solution)
		#347796
		* configure.in: 			Properly use CCASFLAGS

diff -ur mysql.orig/configure.in mysql/configure.in
--- mysql.orig/configure.in	2010-12-09 17:09:08.000000000 +0100
+++ mysql/configure.in	2010-12-09 17:31:24.000000000 +0100
@@ -519,7 +519,7 @@
 
 # We need an assembler, too
 AM_PROG_AS
-CCASFLAGS="$CCASFLAGS $ASFLAGS"
+CCASFLAGS="$CCASFLAGS $(for flag in $ASFLAGS ; do echo "-Wa,$flag" ; done)"
 
 # Check if we need noexec stack for assembler
 AC_CHECK_NOEXECSTACK