Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
b6901682
Commit
b6901682
authored
Dec 01, 1999
by
sewardj
Browse files
[project @ 1999-12-01 11:50:31 by sewardj]
Make <readline/history.h> a requirement for use of libreadline.
parent
d32a066e
Changes
3
Hide whitespace changes
Inline
Side-by-side
configure.in
View file @
b6901682
...
...
@@ -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)
...
...
ghc/interpreter/input.c
View file @
b6901682
...
...
@@ -9,8 +9,8 @@
* included in the distribution.
*
* $RCSfile: input.c,v $
* $Revision: 1.1
4
$
* $Date: 1999/1
1/29
1
8
:5
9:27
$
* $Revision: 1.1
5
$
* $Date: 1999/1
2/01
1
1
:5
0: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
...
...
mk/config.h.in
View file @
b6901682
...
...
@@ -338,6 +338,9 @@
/* Define if you have the <pwd.h> header file. */
#undef HAVE_PWD_H
/* Define if you have the <readline/history.h> header file. */
#undef HAVE_READLINE_HISTORY_H
/* Define if you have the <readline/readline.h> header file. */
#undef HAVE_READLINE_READLINE_H
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment