glproto pkg-config settings not propagated to src/glx/Makefile
Submitted by Serge van den Boom
Assigned to mes..@..op.org
Created attachment 48406 Fix for glproto pkg-config settings not being propagated to src/glx/Makefile, for Mesa 7.10.3.
If glproto is installed in some directory which isn't already included in the includes path, building Mesa will fail in src/glx/ because GL/glproto.h can not be found.
The reason for this is that the settings from 'pkg-config --cflags glproto' are not propagated to src/glx/Makefile.
Fix: add 'GLPROTO_CFLAGS = @GLPROTO_CFLAGS@' to configs/autoconf.in and '$(GLPROTO_CFLAGS) ' to INCLUDES in src/glx/Makefile.
A patch for Mesa 7.10.3 is attached.
Attachment 48406, "Fix for glproto pkg-config settings not being propagated to src/glx/Makefile, for Mesa 7.10.3.":