[Mesa-dev] [Bug 28179] New: GLUT_CFLAGS not used when building glut

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 19 12:52:31 PDT 2010


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 at lists.freedesktop.org
        ReportedBy: 5qgu8gvshg at 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.


More information about the mesa-dev mailing list