The configure bails out when cross-compiling, because it is over-cautious
about ANSI support in the C compiler. Work around this by disabling the
bail-out code.

[Peter: updated for 5.32]
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

diff -Nurp a/configure b/configure
--- a/configure	2013-07-16 10:23:32.000000000 +0100
+++ b/configure	2013-09-22 14:50:07.186953454 +0100
@@ -4374,7 +4374,6 @@ $as_echo "Solaris: adding -D__EXTENSIONS
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler works on ANSI C" >&5
 $as_echo_n "checking whether the compiler works on ANSI C... " >&6; }
   if test "$cross_compiling" = yes; then :
-  as_fn_error $? "Couldn't build even a trivial ANSI C program: check CC." "$LINENO" 5
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
