summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch')
-rw-r--r--meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch b/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch
new file mode 100644
index 0000000000..91b1fa6ef5
--- /dev/null
+++ b/meta/recipes-support/beecrypt/beecrypt/disable-icu-check.patch
@@ -0,0 +1,43 @@
1We are unable to run code at configure time in a cross environemnt, but as we
2control the build we can be fairly certain this dependency is met.
3
4Upstream-Status: Inappropriate [embedded specific]
5
6JL 05/07/10
7Index: beecrypt-4.2.1/configure.ac
8===================================================================
9--- beecrypt-4.2.1.orig/configure.ac 2010-11-26 17:12:25.000000000 +0800
10+++ beecrypt-4.2.1/configure.ac 2010-11-26 17:12:30.000000000 +0800
11@@ -292,32 +292,6 @@
12 # Predefines and checks for C++ API support
13 AH_TEMPLATE([CPPGLUE],[Define to 1 if you want to include the C++ code])
14
15-if test "$ac_with_cplusplus" = yes; then
16- AC_MSG_CHECKING([for IBM's ICU library version >= 2.8])
17- AC_LANG_PUSH(C)
18- AC_RUN_IFELSE([
19- AC_LANG_PROGRAM([[#include <unicode/uversion.h>]],[[
20- #if U_ICU_VERSION_MAJOR_NUM < 2
21- exit(1);
22- #elif U_ICU_VERSION_MAJOR_NUM == 2
23- # if U_ICU_VERSION_MINOR_NUM < 8
24- exit(1);
25- # else
26- exit(0);
27- # endif
28- #else
29- exit(0);
30- #endif
31- ]])],[
32- AC_MSG_RESULT([yes])
33- ],[
34- AC_MSG_RESULT([no])
35- AC_MSG_WARN([disabling cplusplus])
36- ac_with_cplusplus=no
37- ])
38- AC_LANG_POP(C)
39-fi
40-
41 AM_CONDITIONAL([WITH_CPLUSPLUS],[test "$ac_with_cplusplus" = yes])
42
43 if test "$ac_with_cplusplus" = yes ; then