Description: Fix MIPS N32 test
Author: James Cowgill <james410@cowgill.org.uk>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/m4/general.m4
+++ b/m4/general.m4
@@ -97,11 +97,8 @@ dnl We should also check for (_MIPS_SZPT
     if test $ffcall_cv_host_mips64 = yes; then
       host_cpu_abi=mips64
     else
-dnl Strictly speaking, the MIPS ABI (-32 or -n32) is independent from the CPU
-dnl identification (-mips[12] or -mips[34]). But -n32 is commonly used together
-dnl with -mips3, and it's easier to test the CPU identification.
       FFCALL_SET_CPU_ABI([MIPS with n32 ABI], ffcall_cv_host_mipsn32,
-        [__mips >= 3], mipsn32, mips)
+        [defined(_ABIN32) && (_MIPS_SIM == _ABIN32)], mipsn32, mips)
     fi
     ;;
 dnl On powerpc64 systems, the C compiler may still be generating 32-bit code.
