Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gesh
GHC
Commits
4e34d4a8
Commit
4e34d4a8
authored
25 years ago
by
Julian Seward
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1999-11-12 16:22:08 by sewardj]
Add checks for readline library (as opposed to headers).
parent
93bce5a7
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
acconfig.h
+3
-0
3 additions, 0 deletions
acconfig.h
configure.in
+11
-1
11 additions, 1 deletion
configure.in
mk/config.mk.in
+1
-0
1 addition, 0 deletions
mk/config.mk.in
with
15 additions
and
1 deletion
acconfig.h
+
3
−
0
View file @
4e34d4a8
...
@@ -63,6 +63,9 @@
...
@@ -63,6 +63,9 @@
/* Define if you support the production (and use) of Win32 DLLs. */
/* Define if you support the production (and use) of Win32 DLLs. */
#undef HAVE_WIN32_DLL_SUPPORT
#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 */
/* Define if C Symbols have a leading underscore added by the compiler */
#undef LEADING_UNDERSCORE
#undef LEADING_UNDERSCORE
...
...
This diff is collapsed.
Click to expand it.
configure.in
+
11
−
1
View file @
4e34d4a8
...
@@ -615,7 +615,17 @@ AC_CHECK_LIB(iberty, xmalloc)
...
@@ -615,7 +615,17 @@ AC_CHECK_LIB(iberty, xmalloc)
AC_CHECK_LIB(bfd, bfd_init)
AC_CHECK_LIB(bfd, bfd_init)
dnl ** check for readline, for Hugs
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 ################################################################
dnl Check for libraries
dnl Check for libraries
...
...
This diff is collapsed.
Click to expand it.
mk/config.mk.in
+
1
−
0
View file @
4e34d4a8
...
@@ -233,6 +233,7 @@ GhcLibsWithReadline=NO
...
@@ -233,6 +233,7 @@ GhcLibsWithReadline=NO
# (no path == in standard include path)
# (no path == in standard include path)
#
#
ReadlineIncludePath=
ReadlineIncludePath=
HaveLibReadline=@HaveLibReadline@
# Strip local symbols from libraries? This can make the libraries smaller,
# Strip local symbols from libraries? This can make the libraries smaller,
# but makes debugging somewhat more difficult. Doesn't work with all ld's.
# but makes debugging somewhat more difficult. Doesn't work with all ld's.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment