diff options
Diffstat (limited to 'meta/recipes-extended/at/at-3.1.12')
-rw-r--r-- | meta/recipes-extended/at/at-3.1.12/configure.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/meta/recipes-extended/at/at-3.1.12/configure.patch b/meta/recipes-extended/at/at-3.1.12/configure.patch deleted file mode 100644 index 6ab528d0b2..0000000000 --- a/meta/recipes-extended/at/at-3.1.12/configure.patch +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | # Fix cross-compilation issues in configure.ac | ||
2 | # Derived from an OE patch for at-3.1.8 | ||
3 | |||
4 | --- at-3.1.12.orig/configure.ac 2009-11-23 07:11:52.000000000 -0800 | ||
5 | +++ at-3.1.12/configure.ac 2010-07-20 16:23:14.000000000 -0700 | ||
6 | @@ -38,12 +38,11 @@ | ||
7 | AC_MSG_RESULT(no) | ||
8 | ;; | ||
9 | esac | ||
10 | +if [ X"${cross_compiling}" = Xno ]; then | ||
11 | AC_MSG_CHECKING(Trying to compile a trivial ANSI C program) | ||
12 | -AC_TRY_RUN([ main(int ac, char **av) { return 0; } ], | ||
13 | - AC_MSG_RESULT(yes), | ||
14 | - AC_MSG_RESULT(no) | ||
15 | - AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.), | ||
16 | - AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.)) | ||
17 | +AC_RUN_IFELSE([AC_LANG_SOURCE([[ main(int ac, char **av) { return 0; } ]])], [AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no) | ||
18 | + 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.)]) | ||
19 | +fi | ||
20 | |||
21 | AC_MSG_CHECKING(__attribute__((noreturn))) | ||
22 | AC_TRY_COMPILE([], [void __attribute__((noreturn)) panic(void);], | ||