docs: recommend using --enable-mangling over the manual -DUSE...
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 29 Jun 2016 12:26:07 +0000 (13:26 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 21 Nov 2016 15:08:27 +0000 (15:08 +0000)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
docs/contents.html
docs/mangling.html

index d2b63a3..c2fe391 100644 (file)
@@ -66,7 +66,7 @@
 <li><a href="debugging.html" target="_parent">Debugging Tips</a>
 <li><a href="perf.html" target="_parent">Performance Tips</a>
 <li><a href="extensions.html" target="_parent">Mesa Extensions</a>
-<li><a href="mangling.html" target="_parent">Function Name Mangling</a>
+<li><a href="mangling.html" target="_parent">GL Function Name Mangling</a>
 <li><a href="llvmpipe.html" target="_parent">Gallium llvmpipe driver</a>
 <li><a href="vmware-guest.html" target="_parent">VMware SVGA3D guest driver</a>
 <li><a href="postprocess.html" target="_parent">Gallium post-processing</a>
index c96f2f2..9d92b7d 100644 (file)
@@ -2,7 +2,7 @@
 <html lang="en">
 <head>
   <meta http-equiv="content-type" content="text/html; charset=utf-8">
-  <title>Function Name Mangling</title>
+  <title>GL Function Name Mangling</title>
   <link rel="stylesheet" type="text/css" href="mesa.css">
 </head>
 <body>
@@ -14,7 +14,7 @@
 <iframe src="contents.html"></iframe>
 <div class="content">
 
-<h1>Function Name Mangling</h1>
+<h1>GL Function Name Mangling</h1>
 
 <p>
 If you want to use both Mesa and another OpenGL library in the same
@@ -25,12 +25,11 @@ This results in all the Mesa functions being prefixed with
 </p>
 
 <p>
-To do this, recompile Mesa with the compiler flag -DUSE_MGL_NAMESPACE.
-Add the flag to CFLAGS in the configuration file which you want to use.
-For example:
+This option is supported only with the autoconf build. To use it add
+--enable-mangling to your configure line.
 </p>
 <pre>
-CFLAGS += -DUSE_MGL_NAMESPACE
+<code>./configure --enable-mangling ...</code>
 </pre>
 
 </div>