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'.
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.