diff --git a/configure b/configure index e79c33ff1..ade77a1de 100755 --- a/configure +++ b/configure @@ -6695,10 +6695,8 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu $as_echo_n "checking for lua version >= 501... " >&6; } if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "cannot run test program while cross compiling -See \`config.log' for more details." "$LINENO" 5; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling -- assuming yes" >&5 +$as_echo "cross-compiling -- assuming yes" >&6; }; have_lua=yes else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ diff --git a/configure.ac b/configure.ac index 7a5115fc7..22a0349b3 100644 --- a/configure.ac +++ b/configure.ac @@ -603,7 +603,7 @@ else AC_RUN_IFELSE([ AC_LANG_PROGRAM( [[#include ]], [[if(LUA_VERSION_NUM < 501) return 1;]])], - have_lua=yes, have_lua=no) + have_lua=yes, have_lua=no, AC_MSG_RESULT(cross-compiling -- assuming yes); have_lua=yes) AC_LANG_POP(C++) LUA_DEPENDS=""