#1395: let ./configure check for a GNUreadline framework
-----------------------------+----------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: feature request | Status: reopened
Priority: normal | Milestone: 6.8 branch
Component: Build System | Version: 6.8
Severity: normal | Resolution:
Keywords: | Difficulty: Easy (1 hr)
Testcase: | Architecture: Multiple
Os: MacOS X |
-----------------------------+----------------------------------------------
Comment (by maeder):
The two files `compiler/main/DriverPipeline.hs` and `utils/hsc2hs/Main.hs`
are not ready for check in. Both files miss catching an error of
`getHomeDirectory` and the relevant parts of `utils/hsc2hs/Main.hs` should
be put between cpp directives. (I'm also not sure if the use of
`getHomeDirectory` prevents ghc being bootstrapped with some earlier ghc
versions.)
{{{
#ifdef darwin_TARGET_OS
hdir <- IO.try getHomeDirectory
#endif
}}}
Only after these changes it makes sense to check in
`readline/configure.2.ac`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1395#comment:23>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs