1 configure: Use AC_COMPILE_IFELSE for ICU check for cross compilation compat
3 AC_RUN_IFELSE doesn't work when cross compiling, but we can do the
4 check in the preprocessor instead, so use AC_COMPILE_IFELSE instead.
6 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
8 configure.ac | 6 +++---
9 1 file changed, 3 insertions(+), 3 deletions(-)
11 Index: beecrypt-4.2.1/configure.ac
12 ===================================================================
13 --- beecrypt-4.2.1.orig/configure.ac
14 +++ beecrypt-4.2.1/configure.ac
16 if test "$ac_with_cplusplus" = yes; then
17 AC_MSG_CHECKING([for IBM's ICU library version >= 2.8])
21 AC_LANG_PROGRAM([[#include <unicode/uversion.h>]],[[
22 #if U_ICU_VERSION_MAJOR_NUM < 2
25 #elif U_ICU_VERSION_MAJOR_NUM == 2
26 # if U_ICU_VERSION_MINOR_NUM < 8