#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 thorkilnaur):
To solve the problem of the "inner" {{{.h}}} files using {{{#include
<readline/...h>}}}, why not call the framework "readline" instead of
"GNUreadline" and do away with the intermediate "readline" directory? To
verify this idea, I created the following structure, by hand:
{{{
Thorkil-Naurs-Computer:/Library/Frameworks thorkilnaur$ ls -lR
/Library/Frameworks/readline.framework
total 1080
drwxr-xr-x 10 thorkiln admin 340 Dec 10 20:14 Headers
-rwxr-xr-x 1 thorkiln admin 551468 Dec 10 20:19 readline
/Library/Frameworks/readline.framework/Headers:
total 152
-rw-r--r-- 1 thorkiln admin 4684 Dec 10 20:14 chardefs.h
-rw-r--r-- 1 thorkiln admin 10207 Dec 10 20:14 history.h
-rw-r--r-- 1 thorkiln admin 3529 Dec 10 20:14 keymaps.h
-rw-r--r-- 1 thorkiln admin 34515 Dec 10 20:14 readline.h
-rw-r--r-- 1 thorkiln admin 2305 Dec 10 20:14 rlconf.h
-rw-r--r-- 1 thorkiln admin 1503 Dec 10 20:14 rlstdc.h
-rw-r--r-- 1 thorkiln admin 2977 Dec 10 20:14 rltypedefs.h
-rw-r--r-- 1 thorkiln admin 3167 Dec 10 20:14 tilde.h
Thorkil-Naurs-Computer:/Library/Frameworks thorkilnaur$
}}}
With this in place, I was able to build the Haskell readline library
without any changes.
Am I overlooking something here?
Best regards
Thorkil
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1395#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs