This patch allows bash to cross-compile readline without trying to execute unavailable tools. --- ./configure.orig 2005-07-29 11:10:59.000000000 +0200 +++ ./configure 2005-07-29 19:27:18.000000000 +0200 @@ -4438,8 +4438,8 @@ if test "${ac_cv_rl_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - if test "$cross_compiling" = yes; then - ac_cv_rl_version='4.2' + if true || test "$cross_compiling" = yes; then + ac_cv_rl_version='5' else cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure"