diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-01-28 16:03:06 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-01-28 16:05:40 +0100 |
commit | 97ab9b4c4150bbf5fb973664cbc1f5fad28da41a (patch) | |
tree | 5299b4d20380220a2485f426afa99ec2fa52501b /package/at/at-3.1.12-0001-configure.ac-remove-manual-compiler-check-with-AC_TR.patch | |
parent | 819e7f5b788f63bb316afea53325b045337f208a (diff) |
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 <jacmet@sunsite.dk>
Diffstat (limited to 'package/at/at-3.1.12-0001-configure.ac-remove-manual-compiler-check-with-AC_TR.patch')
-rw-r--r-- | package/at/at-3.1.12-0001-configure.ac-remove-manual-compiler-check-with-AC_TR.patch | 33 |
1 files changed, 33 insertions, 0 deletions
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 <mkl@pengutronix.de> +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 <mkl@pengutronix.de> +--- + 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 + |