summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-06-29 13:26:07 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-11-21 15:08:27 +0000
commit7a39a0091d1371796152b840133b2ca247b12f20 (patch)
treecc000d7fe4b8fc6e129e0486e3678714f83e0e9d
parent0fa854aea5ff0a8fe7ed21fef8e9ae2551bae486 (diff)
docs: recommend using --enable-mangling over the manual -DUSE...
Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Brian Paul <brianp@vmware.com>
-rw-r--r--docs/contents.html2
-rw-r--r--docs/mangling.html11
2 files changed, 6 insertions, 7 deletions
diff --git a/docs/contents.html b/docs/contents.html
index d2b63a327cb..c2fe39190c5 100644
--- a/docs/contents.html
+++ b/docs/contents.html
@@ -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>
diff --git a/docs/mangling.html b/docs/mangling.html
index c96f2f29ae6..9d92b7d2ff5 100644
--- a/docs/mangling.html
+++ b/docs/mangling.html
@@ -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>