summaryrefslogtreecommitdiffstats
path: root/package/at/at-0002-configure.ac-convert-AC_TRY_COMPILE-AC_COMPILE_IFELS.patch
diff options
context:
space:
mode:
authorJerzy Grzegorek <jerzy.grzegorek@trzebnica.net>2013-04-13 06:52:41 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-04-28 20:33:15 +0200
commit41de02bd0277f5df5ce575f08f06958237fb2de7 (patch)
treea9603d5c62c48d7bd06de827df89a5a902b90209 /package/at/at-0002-configure.ac-convert-AC_TRY_COMPILE-AC_COMPILE_IFELS.patch
parentb1c79ec15e724939d7ef2b2357d1f25de3a940f0 (diff)
downloadbuildroot-novena-41de02bd0277f5df5ce575f08f06958237fb2de7.tar.gz
buildroot-novena-41de02bd0277f5df5ce575f08f06958237fb2de7.zip
at: bump to version 3.1.13
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/at/at-0002-configure.ac-convert-AC_TRY_COMPILE-AC_COMPILE_IFELS.patch')
-rw-r--r--package/at/at-0002-configure.ac-convert-AC_TRY_COMPILE-AC_COMPILE_IFELS.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/at/at-0002-configure.ac-convert-AC_TRY_COMPILE-AC_COMPILE_IFELS.patch b/package/at/at-0002-configure.ac-convert-AC_TRY_COMPILE-AC_COMPILE_IFELS.patch
new file mode 100644
index 000000000..e4276ac20
--- /dev/null
+++ b/package/at/at-0002-configure.ac-convert-AC_TRY_COMPILE-AC_COMPILE_IFELS.patch
@@ -0,0 +1,34 @@
+From e12c96cccab550eda31cf7bb1dedddd3670ffe69 Mon Sep 17 00:00:00 2001
+From: Marc Kleine-Budde <mkl@pengutronix.de>
+Date: Tue, 1 Dec 2009 17:22:22 +0100
+Subject: [PATCH 2/5] configure.ac: convert AC_TRY_COMPILE -> AC_COMPILE_IFELSE
+
+Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
+---
+ configure.ac | 10 +++++-----
+ 1 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 997a37f..cab80ed 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -40,11 +40,11 @@ case "$host" in
+ esac
+
+ AC_MSG_CHECKING(__attribute__((noreturn)))
+-AC_TRY_COMPILE([], [void __attribute__((noreturn)) panic(void);],
+- AC_MSG_RESULT(yes)
+- AC_DEFINE(HAVE_ATTRIBUTE_NORETURN, 1,
+- [Define to 1 if compiler supports __attribute__((noreturn))]),
+- AC_MSG_RESULT(no)
++AC_COMPILE_IFELSE(
++ [AC_LANG_PROGRAM([[]], [[void __attribute__((noreturn)) panic(void);]])],
++ [AC_MSG_RESULT(yes)
++ AC_DEFINE(HAVE_ATTRIBUTE_NORETURN, 1, Define to 1 if compiler supports __attribute__((noreturn)))],
++ [AC_MSG_RESULT(no)]
+ )
+ dnl Checks for libraries.
+
+--
+1.6.5.3
+