Only try the readline library if vvp_debus is enabled.

This commit is contained in:
steve 2001-06-23 18:26:12 +00:00
parent c93cb71162
commit 3c5d32637c
1 changed files with 2 additions and 0 deletions

View File

@ -23,8 +23,10 @@ AC_CHECK_SIZEOF(unsigned)
# For the interactive debugger to work, readline must be installed,
# and that in turn requires termcap. check that the libs really do
# exist.
if test "${enable_vvp_debug+set}" = set; then
AC_CHECK_LIB(termcap, tputs)
AC_CHECK_LIB(readline, readline)
fi
# --
# Look for a dl library to use. First look for the standard dlopen