1 From a182f18fa3b9fb3dd817b601b51c758f9a77f407 Mon Sep 17 00:00:00 2001
2 From: Marc Kleine-Budde <mkl@pengutronix.de>
3 Date: Tue, 1 Dec 2009 17:08:14 +0100
4 Subject: [PATCH 1/5] configure.ac: remove manual compiler check with AC_TRY_RUN
6 AC_TRY_RUN breaks cross compilation, so remove it. autotools will take
7 care about a working (cross-) compiler.
9 Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
11 configure.ac | 6 ------
12 1 files changed, 0 insertions(+), 6 deletions(-)
14 diff --git a/configure.ac b/configure.ac
15 index a8c2a14..997a37f 100644
18 @@ -38,12 +38,6 @@ case "$host" in
22 -AC_MSG_CHECKING(Trying to compile a trivial ANSI C program)
23 -AC_TRY_RUN([ main(int ac, char **av) { return 0; } ],
26 - AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.),
27 - AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.))
29 AC_MSG_CHECKING(__attribute__((noreturn)))
30 AC_TRY_COMPILE([], [void __attribute__((noreturn)) panic(void);],