GNOME Bugzilla – Bug 377724
C_INCLUDE_PATH
Last modified: 2008-07-27 22:09:13 UTC
config.py contains the following two lines: #includedir = os.path.join(self.prefix, 'include') #addpath('C_INCLUDE_PATH', includedir) They were commented out with the following ChangeLog message: * jhbuild.py: Commented-out the addpath() call that sets C_INCLUDE_PATH. We don't know why this was set. Maybe we will find out now. It seems to set the system directories, which leads to warnings with gcc 3.x. They must be uncommented again because they are needed by NetworkManager's configure script that tests if the header files for wireless-tools are installed. The C_INCLUDE_PATH variable makes it so the AC_TRY_COMPILE macro finds the correct C headers.
Sorry it took so long to get back to this; another bug report finally reminded me about it. 2008-07-28 Frederic Peters <fpeters@0d.be> * jhbuild/config.py: add C_INCLUDE_DIR back and also set LDFLAGS, they are required for autoconf configure scripts to find some modules that do not use pkg-config. (closes: #545018, #377724)