open-plc-utils: new package
[buildroot-gz.git] / package / lightning / 0001-cross-compilation-configure-fixes.patch
blob6ced20291005456bc9b6cbac4e3a35ad5b74f8f2
1 Assume that the functionality is not present
3 Patch written by Holger Hans Peter Freyther, and fetched from
4 http://lists.gnu.org/archive/html/lightning/2014-11/msg00002.html.
6 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 ---
8 configure.ac | 6 +++---
9 1 file changed, 3 insertions(+), 3 deletions(-)
11 diff --git a/configure.ac b/configure.ac
12 index 031279d..a36bed6 100644
13 --- a/configure.ac
14 +++ b/configure.ac
15 @@ -184,7 +184,7 @@ elif test $cpu = x86; then
16 : "0" (1));
17 return (edx & 1 << 26) ? 0 : 1;
19 - ]])],[ac_cv_test_x86_x87=yes],[][])
20 + ]])],[ac_cv_test_x86_x87=yes],[],[ac_cv_test_x86_x87=no])
21 elif test $cpu = arm; then
22 AC_RUN_IFELSE([AC_LANG_SOURCE([[
23 #include <stdio.h>
24 @@ -207,7 +207,7 @@ elif test $cpu = arm; then
25 #endif
26 return 1;
28 - ]])],[ac_cv_test_arm_arm=yes],[][])
29 + ]])],[ac_cv_test_arm_arm=yes],[],[ac_cv_test_arm_arm=no])
30 AC_RUN_IFELSE([AC_LANG_SOURCE([[
31 #include <stdio.h>
32 int main(void) {
33 @@ -229,7 +229,7 @@ elif test $cpu = arm; then
34 #endif
35 return 1;
37 - ]])],[ac_cv_test_arm_swf=yes],[][])
38 + ]])],[ac_cv_test_arm_swf=yes],[],[ac_cv_test_arm_swf=no])
40 CFLAGS=$save_CFLAGS