2013-09-23 10:02:12 +02:00
|
|
|
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.
|
|
|
|
|
2015-06-07 23:57:02 +02:00
|
|
|
[Peter: updated for 5.32]
|
2013-09-23 10:02:12 +02:00
|
|
|
Signed-off-by: Simon Dawson <spdawson@gmail.com>
|
2015-06-07 23:57:02 +02:00
|
|
|
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
2013-09-23 10:02:12 +02:00
|
|
|
|
|
|
|
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
|
2015-06-07 23:57:02 +02:00
|
|
|
@@ -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
|
2013-09-23 10:02:12 +02:00
|
|
|
$as_echo_n "checking whether the compiler works on ANSI C... " >&6; }
|
2015-06-07 23:57:02 +02:00
|
|
|
if test "$cross_compiling" = yes; then :
|
|
|
|
- as_fn_error $? "Couldn't build even a trivial ANSI C program: check CC." "$LINENO" 5
|
2013-09-23 10:02:12 +02:00
|
|
|
else
|
2015-06-07 23:57:02 +02:00
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
|
/* end confdefs.h. */
|