Ticket #850 (assigned defect)
Configure fails when an Objective-C .h file is specified
|Reported by:||dankna||Owned by:||dankna|
|Severity:||normal||Keywords:||configure mac objective-c|
When configuring a library or executable which has specified a C header with includes: in its .cabal file, and that header is actually Objective-C or includes other headers which are, configure fails. This is because of the test that Cabal does to determine whether all prerequisite C libraries are present, in which it compiles with gcc directly rather than going through the Haskell compiler as it does in the build phase.
I'm working on a patch to this and should have it in about an hour.