Merge commit '616b409c8f1e4fa568908212c01f6530da8d2e71'
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 27 Jul 2015 11:07:46 +0000 (13:07 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 27 Jul 2015 11:07:49 +0000 (13:07 +0200)
* commit '616b409c8f1e4fa568908212c01f6530da8d2e71':
  configure: Check MSVC defines for identifying hardfloat

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
configure

index 0f23f0e21de5bc65a5c17588adbb3fd61678fdb8..52ac6a885b942201409247774739b0998ebf1e3a 100755 (executable)
--- a/configure
+++ b/configure
@@ -4766,6 +4766,8 @@ EOF
 
     if     check_cpp_condition stddef.h "defined __ARM_PCS_VFP"; then
         enable vfp_args
+    elif check_cpp_condition stddef.h "defined _M_ARM_FP && _M_ARM_FP >= 30"; then
+        enable vfp_args
     elif ! check_cpp_condition stddef.h "defined __ARM_PCS || defined __SOFTFP__"; then
         case "${cross_prefix:-$cc}" in
             *hardfloat*)         enable vfp_args;   fpabi=vfp ;;