GNOME Bugzilla – Bug 657178
configure bug - ac_save_CPPFLAGS trampled
Last modified: 2011-09-07 14:44:54 UTC
Created attachment 194498 [details] visual representation of the problem AC_CHECK_X_LIB and AC_CHECK_X_HEADERS are used in a nested manner. This results in ac_save_CPPFLAGS being overwritten. The end result is that -I$includedir bleeds into CPPFLAGS. This is causing host header files to be used when cross compiling to a different target. $includedir is supposed to be a destination directory not a source directory so I'm not sure why its being used here anyway. I'm trying to cross compile gnome-settings-daemon 2.28.2 but the problem still appears to exist in the git master.
Created attachment 195880 [details] [review] build: Clean up X11 library dependencies And make them per-plugin instead of as broad as before.
Attachment 195880 [details] pushed as 34bf5fc - build: Clean up X11 library dependencies