From 66be7b4c2795b5a942f64821fc6525dfdfb3aba4 Mon Sep 17 00:00:00 2001
From: Matt Turner
--with-x
When the X11 development libraries are
-needed, the pkg-config
utility will
-be used for locating them. If they cannot be found through
-pkg-config
a fallback routing using imake
will
-be used. In this case, the --with-x
,
---x-includes
and --x-libraries
options can
-control the use of X for Mesa.
--enable-gl-osmesa
The OSMesa -library can be built on top of libGL for drivers that provide it. -This option controls whether to build libOSMesa. By default, this is -enabled for the Xlib driver and disabled otherwise. Note that this -option is different than using OSMesa as the driver.
---enable-debug
This option will enable compiler options and macros to aid in debugging the Mesa libraries.
@@ -155,12 +137,12 @@ assembly will not be used.--enable-32-bit
--enable-64-bit
By default, the -build will compile code as directed by the environment variables +
By default, the build will compile code as directed by the environment
+variables
CC
, CFLAGS
, etc. If the compiler is
gcc
, these options offer a helper to add the compiler flags
to force 32- or 64-bit code generation as used on the x86 and x86_64
-architectures.
--enable-xlib-glx
, --enable-osmesa
,
+and --enable-dri
.
-This is the default mode for building Mesa. +
It uses Xlib as a software renderer to do all rendering. It corresponds
-to the option --with-driver=xlib
. The libX11 and libXext
+to the option --enable-xlib-glx
. The libX11 and libXext
libraries, as well as the X11 development headers, will be need to
support the Xlib driver.
This mode uses the DRI hardware drivers for
accelerated OpenGL rendering. Enable the DRI drivers with the option
---with-driver=dri
. See the basic
+--enable-dri
. See the basic
installation instructions for details on prerequisites for the DRI
drivers.
@@ -223,7 +205,8 @@ and /usr/local/lib
, respectively.
No libGL is built in this
mode. Instead, the driver code is built into the Off-Screen Mesa
(OSMesa) library. See the Off-Screen Rendering
-page for more details.
+page for more details. It corresponds to the option
+--enable-osmesa
.