Summary: Configure is unable to detect frameworks
                 Project: Freeciv
            Submitted by: doctorjlowe
            Submitted on: Sat 11 Jun 2011 03:00:44 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: Mac OS
         Planned Release: 



Background: on OSX, many dependencies are provided as a so-called 'framework'
that includes the function library, documentation, and headers in a bundle. 
For example, the official Mac binaries for both SDL and QT are only provided
as frameworks.

This becomes an issue when a Mac user attempts to build freeciv against
either of the above mentioned interfaces.  Even though i have the QT framework
installed and am able to compile QT programs, "autogen.sh --enable-client=qt"
eventually fails with: "checking Qt headers... not found".

Such headers are not in /usr/include , but rather [for example]
/Library/Frameworks/QtGui.framework/Versions/4/Headers/QApplication .

Further information can be found here:

I propose that we modify configure to detect frameworks, combined with minor
changes to preprocessor directives and compile time arguments to allow them to
be used by freeciv.  I have found an example of how another project handled
this here: http://hackage.haskell.org/trac/ghc/ticket/918 .


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to