From: sewardj Date: Wed, 1 Dec 1999 11:50:34 +0000 (+0000) Subject: [project @ 1999-12-01 11:50:31 by sewardj] X-Git-Tag: Approximately_9120_patches~5461 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=b690168285e32a4eb7fd5157f68a75d598ef3eba;p=ghc-hetmet.git [project @ 1999-12-01 11:50:31 by sewardj] Make a requirement for use of libreadline. --- diff --git a/configure.in b/configure.in index 7560488..3ea7098 100644 --- a/configure.in +++ b/configure.in @@ -474,7 +474,7 @@ dnl ** check for full ANSI header (.h) files AC_HEADER_STDC dnl ** check for specific header (.h) files that we are interested in -AC_CHECK_HEADERS(Files.h assert.h console.h ctype.h dirent.h errno.h fcntl.h float.h ftw.h grp.h ieee754.h malloc.h memory.h nlist.h pascal.h pwd.h sgtty.h siginfo.h signal.h stat.h stdlib.h stdarg.h string.h sys/fault.h sys/file.h sys/ioctl.h sys/limits.h sys/mman.h sys/param.h sys/procfs.h sys/resource.h sys/signal.h sys/socket.h netinet/tcp.h sys/stat.h sys/syscall.h sys/time.h sys/timeb.h sys/timers.h sys/times.h sys/types.h sys/utsname.h sys/vadvise.h sys/wait.h termio.h termios.h time.h types.h unistd.h utime.h values.h vfork.h readline/readline.h bfd.h winsock.h) +AC_CHECK_HEADERS(Files.h assert.h console.h ctype.h dirent.h errno.h fcntl.h float.h ftw.h grp.h ieee754.h malloc.h memory.h nlist.h pascal.h pwd.h sgtty.h siginfo.h signal.h stat.h stdlib.h stdarg.h string.h sys/fault.h sys/file.h sys/ioctl.h sys/limits.h sys/mman.h sys/param.h sys/procfs.h sys/resource.h sys/signal.h sys/socket.h netinet/tcp.h sys/stat.h sys/syscall.h sys/time.h sys/timeb.h sys/timers.h sys/times.h sys/types.h sys/utsname.h sys/vadvise.h sys/wait.h termio.h termios.h time.h types.h unistd.h utime.h values.h vfork.h readline/readline.h readline/history.h bfd.h winsock.h) dnl ** check for DOS include files AC_CHECK_HEADERS(dos.h conio.h io.h std.h) diff --git a/ghc/interpreter/input.c b/ghc/interpreter/input.c index 82ca236..501b5c7 100644 --- a/ghc/interpreter/input.c +++ b/ghc/interpreter/input.c @@ -9,8 +9,8 @@ * included in the distribution. * * $RCSfile: input.c,v $ - * $Revision: 1.14 $ - * $Date: 1999/11/29 18:59:27 $ + * $Revision: 1.15 $ + * $Date: 1999/12/01 11:50:34 $ * ------------------------------------------------------------------------*/ #include "prelude.h" @@ -33,7 +33,7 @@ #undef IN #endif -#if HAVE_LIBREADLINE && HAVE_READLINE_READLINE_H +#if HAVE_LIBREADLINE && HAVE_READLINE_READLINE_H && HAVE_READLINE_HISTORY_H #define USE_READLINE 1 #else #define USE_READLINE 0 diff --git a/mk/config.h.in b/mk/config.h.in index 6dd7e89..5b023eb 100644 --- a/mk/config.h.in +++ b/mk/config.h.in @@ -338,6 +338,9 @@ /* Define if you have the header file. */ #undef HAVE_PWD_H +/* Define if you have the header file. */ +#undef HAVE_READLINE_HISTORY_H + /* Define if you have the header file. */ #undef HAVE_READLINE_READLINE_H