URL: <http://gna.org/bugs/?18200>
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 Release: Discussion Lock: Any Operating System: Mac OS Planned Release: _______________________________________________________ Details: 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: http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPFrameworks/Frameworks.html%23//apple_ref/doc/uid/10000183-SW1 . 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: <http://gna.org/bugs/?18200> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev