https://bugs.freedesktop.org/show_bug.cgi?id=28179
Summary: GLUT_CFLAGS not used when building glut Product: Mesa Version: 7.6 Platform: All OS/Version: All Status: NEW Severity: normal Priority: medium Component: GLUT AssignedTo: mesa-dev@lists.freedesktop.org ReportedBy: 5qgu8gv...@snkmail.com Created an attachment (id=35764) --> (https://bugs.freedesktop.org/attachment.cgi?id=35764) 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'. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev