diff --git a/src/configure.ac b/src/configure.ac index b57af4a6..c79c5f55 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -80,7 +80,7 @@ AM_PROG_CC_C_O # Checks for libraries. AC_CHECK_LIB([termcap], [tputs]) AC_CHECK_LIB([ncurses], [tputs]) -AC_CHECK_LIB([readline], [readline]) +AC_CHECK_LIB([readline], [readline], [have_readline=yes]) AH_TEMPLATE([HAVE_LIBELF], [Define if ELF support is enabled via libelf]) AC_CHECK_LIB([elf], [elf_getshdrstrndx], [have_libelf=yes])