Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
4e34d4a8
Commit
4e34d4a8
authored
Nov 12, 1999
by
sewardj
Browse files
[project @ 1999-11-12 16:22:08 by sewardj]
Add checks for readline library (as opposed to headers).
parent
93bce5a7
Changes
3
Hide whitespace changes
Inline
Side-by-side
acconfig.h
View file @
4e34d4a8
...
...
@@ -63,6 +63,9 @@
/* Define if you support the production (and use) of Win32 DLLs. */
#undef HAVE_WIN32_DLL_SUPPORT
/* Define if you have and want to use readline in Hugs. */
#undef HAVE_LIBREADLINE
/* Define if C Symbols have a leading underscore added by the compiler */
#undef LEADING_UNDERSCORE
...
...
configure.in
View file @
4e34d4a8
...
...
@@ -615,7 +615,17 @@ AC_CHECK_LIB(iberty, xmalloc)
AC_CHECK_LIB(bfd, bfd_init)
dnl ** check for readline, for Hugs
AC_CHECK_LIB(readline, readline)
AC_CHECK_LIB(readline, readline,
[
AC_DEFINE(HAVE_LIBREADLINE,1)
HaveLibReadline=YES
],
[
AC_DEFINE(HAVE_LIBREADLINE,0)
HaveLibReadline=NO
])
AC_SUBST(HaveLibReadline)
dnl ################################################################
dnl Check for libraries
...
...
mk/config.mk.in
View file @
4e34d4a8
...
...
@@ -233,6 +233,7 @@ GhcLibsWithReadline=NO
# (no path == in standard include path)
#
ReadlineIncludePath=
HaveLibReadline=@HaveLibReadline@
# Strip local symbols from libraries? This can make the libraries smaller,
# but makes debugging somewhat more difficult. Doesn't work with all ld's.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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