Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | We are unable to run code at configure time in a cross environemnt, but as we |
| 2 | control the build we can be fairly certain this dependency is met. |
| 3 | |
| 4 | Upstream-Status: Inappropriate [embedded specific] |
| 5 | |
| 6 | JL 05/07/10 |
| 7 | Index: 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 |