Summary: | GLUT_CFLAGS not used when building glut | ||
---|---|---|---|
Product: | Mesa | Reporter: | John Hein <5qgu8gvshg> |
Component: | GLUT | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | 7.6 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | let the GLUT_CLAGS that autoconf/pkg-config fill in actually get used |
Applied on master and 7.8. Thanks for fixing that. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 35764 [details] let the GLUT_CLAGS that autoconf/pkg-config fill in actually get used I got this... glut_cmap.c:23:66: error: X11/Xmu/StdCmap.h: No such file or directory ... when building glut. I didn't have libXmu installed in a default place (/usr or /usr/local), but pkg-config --cflags emits the correct paths. However, the configure machinery in MesaGLUT-7.6.1 is defeating its own attempts to find libXmu. The attached patch lets GLUT_CFLAGS that configure & pkg-config work so hard to set actually get used. This was found on FreeBSD, but I believe it's not specific to that or other OS. It applies to any xorg installation that is using the pkg-config system for enumerating cflags during 'configure'.