6ced20291005456bc9b6cbac4e3a35ad5b74f8f2
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / lightning / 0001-cross-compilation-configure-fixes.patch
1 Assume that the functionality is not present
2
3 Patch written by Holger Hans Peter Freyther, and fetched from
4 http://lists.gnu.org/archive/html/lightning/2014-11/msg00002.html.
5
6 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 ---
8  configure.ac | 6 +++---
9  1 file changed, 3 insertions(+), 3 deletions(-)
10
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;
18      }
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;
27      }
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;
36      }
37 -    ]])],[ac_cv_test_arm_swf=yes],[][])
38 +    ]])],[ac_cv_test_arm_swf=yes],[],[ac_cv_test_arm_swf=no])
39  fi
40  CFLAGS=$save_CFLAGS