From: Eric K. <eri...@gm...> - 2008-02-19 17:24:34
|
This fixes a longstanding source of irritation for me. With this patch, I think users will no longer be required to compile --with-opengl (unless they want to). Hmm, maybe it's time to release a 0.10.3 on hackage so that cabal install wx will 'just work' on Linux Tue Feb 19 17:19:12 GMT 2008 Eric Kow <eri...@gm...> * Eliminate mandatory --with-opengl on Linux. If wxWidgets is compiled with opengl, its header files #define wxUSE_GLCANVAS 1 (See, for example, /usr/lib/wx/include/gtk2-unicode-release-2.6/wx/setup.h on Ubuntu Gutsy Gibbon), which causes us to compile glcanvas as if we were going to link against the wxWidgets opengl library. But since we are not linking against that, the user gets errors compiling their applications. Here we introduce an extra preprocessor flag to really insist that no, despite what wxWidgets says, we don't want to use GLCANVAS. |