Avoid readline auto-detection when cross-compiling. Still feasible to use readline if you specify the path to it.
This commit is contained in:
parent
b4ebb4510d
commit
789cb13dec
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,10 @@ AC_DEFUN([AC_CHECK_READLINE],[
|
|||
|
||||
AC_MSG_CHECKING(for readline.h)
|
||||
|
||||
if test "x$cross_compiling" == "xyes"; then
|
||||
without_readline=yes
|
||||
fi
|
||||
|
||||
if test "x$without_readline" != "xyes"; then
|
||||
for i in $with_arg \
|
||||
/usr/include: \
|
||||
|
|
Loading…
Reference in a new issue