Avoid readline auto-detection when cross-compiling. Still feasible to use readline if you specify the path to it.

This commit is contained in:
Philippe Teuwen 2011-10-18 13:28:01 +00:00
parent b4ebb4510d
commit 789cb13dec

View file

@ -14,6 +14,10 @@ AC_DEFUN([AC_CHECK_READLINE],[
AC_MSG_CHECKING(for readline.h) AC_MSG_CHECKING(for readline.h)
if test "x$cross_compiling" == "xyes"; then
without_readline=yes
fi
if test "x$without_readline" != "xyes"; then if test "x$without_readline" != "xyes"; then
for i in $with_arg \ for i in $with_arg \
/usr/include: \ /usr/include: \