GNOME Bugzilla – Bug 643440
gdkconfig.h included in tarball
Last modified: 2011-03-03 03:17:36 UTC
gtk+ release tarball contains gdkconfig.h. Obviously it is generated for certain kind of environment and is not suitable for others. I encountered this when cross-compiling for mingw target using build dir != src dir. gdkconfig.h for GDK_WINDOWING_WIN32 was generated to build dir, but src dir still contained one with GDK_WINDOWING_X11. Order in which include directories are searched is such that src dir version of gdkconfig.h got included while compiling gdkdisplaymanager.c leading to errors due to missing X11 headers. When I removed gdkconfig.h from srcdir before build, build got past this point (it was not complete success, but that new problem seems completely unrelated)