mesa: Optionally build a dricore support library (v3)
authorChristopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Thu, 3 Feb 2011 00:19:32 +0000 (11:19 +1100)
committerEric Anholt <eric@anholt.net>
Sat, 12 Feb 2011 02:31:05 +0000 (18:31 -0800)
commitd1e28b22673777fe1290cda899abf73aad02e4aa
tree27333db1d1d37900f19c63c5754e966ad2a0624a
parentb5dc40710d0e5edffb9f673dfbf26df4d0043eef
mesa: Optionally build a dricore support library (v3)

This an adds --enable-shared-dricore option to configure.  When enabled,
DRI modules will link against a shared copy of the common mesa routines
rather than statically linking these.

This saves about 30MB on disc with a full complement of classic DRI
drivers.

v2: Only enable with a gcc-compatible compiler that handles rpath
    Handle DRI_CFLAGS without filter-out magic
    Build shared libraries with the full mklib voodoo
    Fix typos
v3: Resolve conflicts with talloc removal patches

Signed-off-by: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
12 files changed:
configs/autoconf.in
configs/default
configs/freebsd-dri
configs/linux-dri
configs/linux-dri-xcb
configs/linux-egl
configs/linux-indirect
configure.ac
src/glsl/Makefile
src/mesa/Makefile
src/mesa/drivers/dri/Makefile.template
src/mesa/x86/read_rgba_span_x86.S