From: sewardj Date: Fri, 12 Nov 1999 15:43:14 +0000 (+0000) Subject: [project @ 1999-11-12 15:43:12 by sewardj] X-Git-Tag: Approximately_9120_patches~5561 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=93bce5a700e7f5487e2817eda55ae141da1ceb4e;p=ghc-hetmet.git [project @ 1999-11-12 15:43:12 by sewardj] Add a test for libreadline.{a|so} (include/readline/readline.h is already tested for.). --- diff --git a/configure.in b/configure.in index 3569b8e..c36b9ac 100644 --- a/configure.in +++ b/configure.in @@ -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 ################################################################ diff --git a/mk/config.h.in b/mk/config.h.in index 21d1533..11e7082 100644 --- a/mk/config.h.in +++ b/mk/config.h.in @@ -457,3 +457,6 @@ /* Define if you have the iberty library (-liberty). */ #undef HAVE_LIBIBERTY + +/* Define if you have the readline library (-lreadline). */ +#undef HAVE_LIBREADLINE