From 97ab9b4c4150bbf5fb973664cbc1f5fad28da41a Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 28 Jan 2010 16:03:06 +0100 Subject: at: bump version, fix make install, convert to Makefile.autotools.in format Make install would fail if target != host, as it tried to use host strip for install -s. Patch 1-5 from ptxdist. Signed-off-by: Peter Korsgaard --- ...c-remove-manual-compiler-check-with-AC_TR.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/at/at-3.1.12-0001-configure.ac-remove-manual-compiler-check-with-AC_TR.patch (limited to 'package/at/at-3.1.12-0001-configure.ac-remove-manual-compiler-check-with-AC_TR.patch') diff --git a/package/at/at-3.1.12-0001-configure.ac-remove-manual-compiler-check-with-AC_TR.patch b/package/at/at-3.1.12-0001-configure.ac-remove-manual-compiler-check-with-AC_TR.patch new file mode 100644 index 000000000..9e6992294 --- /dev/null +++ b/package/at/at-3.1.12-0001-configure.ac-remove-manual-compiler-check-with-AC_TR.patch @@ -0,0 +1,33 @@ +From a182f18fa3b9fb3dd817b601b51c758f9a77f407 Mon Sep 17 00:00:00 2001 +From: Marc Kleine-Budde +Date: Tue, 1 Dec 2009 17:08:14 +0100 +Subject: [PATCH 1/5] configure.ac: remove manual compiler check with AC_TRY_RUN + +AC_TRY_RUN breaks cross compilation, so remove it. autotools will take +care about a working (cross-) compiler. + +Signed-off-by: Marc Kleine-Budde +--- + configure.ac | 6 ------ + 1 files changed, 0 insertions(+), 6 deletions(-) + +diff --git a/configure.ac b/configure.ac +index a8c2a14..997a37f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -38,12 +38,6 @@ case "$host" in + AC_MSG_RESULT(no) + ;; + esac +-AC_MSG_CHECKING(Trying to compile a trivial ANSI C program) +-AC_TRY_RUN([ main(int ac, char **av) { return 0; } ], +- AC_MSG_RESULT(yes), +- AC_MSG_RESULT(no) +- AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.), +- AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.)) + + AC_MSG_CHECKING(__attribute__((noreturn))) + AC_TRY_COMPILE([], [void __attribute__((noreturn)) panic(void);], +-- +1.6.5.3 + -- cgit v1.2.3