Hello,

I dont think that you should make usee of include paths
which directly point into a subdir of "include" like "include/GL".
Instead the path to the subdir should be specified 
in any of the respective include statment.
This will shorten commandline parameters for the compiler,
reduce search time for includes somewhat and make the code
easier to understand.

The appended patch was created against X4.1.0 sources.
I've checked that compilation is working for the whole 
glx subdir when this patch got applied.

Regards Alex.

PS: i am not subscribed to the (CC'ed) XFree86 list.
    i have _no_ write access to CVS of XFree86 or DRI.


--- xc/lib/GL/Imakefile.orig    Tue Apr  3 04:29:32 2001
+++ xc/lib/GL/Imakefile Wed Nov 28 22:36:25 2001
@@ -105,7 +105,6 @@
      INCLUDES = -I$(INCLUDESRC) \
                -I$(XINCLUDESRC) \
                -I$(EXTINCSRC) \
-               -I$(INCLUDESRC)/GL \
                -I$(GLXLIBSRC)/glx \
                -I$(MESASRCDIR)/src \
                -I$(MESASRCDIR)/src/X86 \
--- xc/lib/GL/glxclient.h.orig  Tue Apr 10 18:07:49 2001
+++ xc/lib/GL/glxclient.h       Wed Nov 28 22:37:05 2001
@@ -50,8 +50,8 @@
 #include <GL/glx.h>
 #include <string.h>
 #include <stdlib.h>
-#include "glxint.h"
-#include "glxproto.h"
+#include "GL/glxint.h"
+#include "GL/glxproto.h"
 #include "glapitable.h"
 #ifdef NEED_GL_FUNCS_WRAPPED
 #include "indirect.h"

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to