Add a test for libreadline.{a|so} (include/readline/readline.h
is already tested for.).
AC_CHECK_LIB(iberty, xmalloc)
AC_CHECK_LIB(bfd, bfd_init)
+dnl ** check for readline, for Hugs
+AC_CHECK_LIB(readline, readline)
+
dnl ################################################################
dnl Check for libraries
dnl ################################################################
/* Define if you have the iberty library (-liberty). */
#undef HAVE_LIBIBERTY
+
+/* Define if you have the readline library (-lreadline). */
+#undef HAVE_LIBREADLINE