[project @ 1999-11-12 15:43:12 by sewardj]
authorsewardj <unknown>
Fri, 12 Nov 1999 15:43:14 +0000 (15:43 +0000)
committersewardj <unknown>
Fri, 12 Nov 1999 15:43:14 +0000 (15:43 +0000)
Add a test for libreadline.{a|so}  (include/readline/readline.h
is already tested for.).

configure.in
mk/config.h.in

index 3569b8e..c36b9ac 100644 (file)
@@ -614,6 +614,9 @@ dnl    the order of these tests matters: bfd needs liberty
 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 ################################################################
index 21d1533..11e7082 100644 (file)
 
 /* Define if you have the iberty library (-liberty).  */
 #undef HAVE_LIBIBERTY
+
+/* Define if you have the readline library (-lreadline).  */
+#undef HAVE_LIBREADLINE