After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 377724 - C_INCLUDE_PATH
C_INCLUDE_PATH
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2006-11-21 11:05 UTC by Björn Lindqvist
Modified: 2008-07-27 22:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Björn Lindqvist 2006-11-21 11:05:42 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.
Comment 1 Frederic Peters 2008-07-27 22:09:13 UTC
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)