1build/ac-macros/macosx.m4: workaround AC_RUN_IFELSE 2 3The SVN_LIB_MACHO_ITERATE macro contains an AC_RUN_IFELSE test that 4doesn't work when cross-compiling. However, this macro is related to 5testing Mac OS X APIs, so in the context of Buildroot, we don't care, 6and the test program is not even going to build. So we simply 7workaround this by turning the test into an AC_COMPILE_IFELSE. 8 9Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> 10 11Index: b/build/ac-macros/macosx.m4 12=================================================================== 13--- a/build/ac-macros/macosx.m4 14+++ b/build/ac-macros/macosx.m4 15@@ -24,7 +24,7 @@ 16 AC_DEFUN(SVN_LIB_MACHO_ITERATE, 17 [ 18 AC_MSG_CHECKING([for Mach-O dynamic module iteration functions]) 19- AC_RUN_IFELSE([AC_LANG_PROGRAM([[ 20+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ 21 #include <mach-o/dyld.h> 22 #include <mach-o/loader.h> 23 ]],[[ 24