docs: recommend using --enable-mangling over the manual -DUSE...
[mesa.git] / docs / mangling.html
index c96f2f29ae666e9bb4a724ffe2ff743251741a73..9d92b7d2ff5141f60e42c83c58f89297941d8c18 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>