Now that we link programs in the top dir instead of the arch subdir,
update the readline library path to be relative to the top dir.
if test -r ../readline/Makefile; then
- READLINE_LIB=../../readline/readline/libreadline.a
+ READLINE_LIB=../readline/readline/libreadline.a
READLINE_CFLAGS='-I$(READLINE_SRC)/..'
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
dnl We prefer the in-tree readline. Top-level dependencies make sure
dnl src/readline (if it's there) is configured before src/sim.
if test -r ../readline/Makefile; then
- READLINE_LIB=../../readline/readline/libreadline.a
+ READLINE_LIB=../readline/readline/libreadline.a
READLINE_CFLAGS='-I$(READLINE_SRC)/..'
else
AC_CHECK_LIB(readline, readline, READLINE_LIB=-lreadline,