This sets HAVE_FPU correctly on ARM targets if VFP instructions are
enabled. Note that __VFP_FP__ implies the use of the VFP floating point
format, not the availability of the VFP instructions. Thus software
floating emulation __SOFTFP__ (i.e. gcc -mfloat-abi=soft) is excluded
explicitly.
# define HAVE_FPU 1
# elif defined (__arm__)
-# define HAVE_FPU 0 /* revisit later? */
+# if defined (__VFP_FP__) && !defined (__SOFTFP__)
+# define HAVE_FPU 1
+# else
+# define HAVE_FPU 0
+# endif
# elif defined (__sparc__)
# define HAVE_FPU 1