[GHC] #7979: ./configure script does not properly detect missing header files

GHC ghc-devs at haskell.org
Tue Jul 2 13:18:53 CEST 2013


#7979: ./configure script does not properly detect missing header files
-----------------------------+----------------------------------------------
Reporter:  jstolarek         |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  Build System    
 Version:  7.6.3             |       Keywords:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
 Failure:  None/Unknown      |      Blockedby:                  
Blocking:                    |        Related:                  
-----------------------------+----------------------------------------------

Comment(by emanuel):

 Now it's clear. Yes, main configure script doesn't check for all
 requirements (from all sub-projects/libraries), but the build system just
 works that way.

  * all checks from all configure.ac files from all subdirectories can be
 duplicated in main configure script (very bad solution)

  * all configure scripts can be executed before main make (but I think
 there is a reason why the build system doesn't do that, this could create
 more problems that it resolves)

  * all checks can be separated from configure.ac, for example they can be
 placed in configure.checks and all configure.checks can be included in
 main configure script (a lot of boring work, changes everywhere)

  * all configure scripts can be executed at once, but they should only do
 the checking (is it possible?)

 Maybe some autotools expert could help here.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7979#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list