dri: Don't build libdricommon.la if we don't need it
authorJon TURNEY <jon.turney@dronecode.org.uk>
Thu, 2 Feb 2012 10:39:04 +0000 (10:39 +0000)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Mon, 6 Feb 2012 11:10:51 +0000 (11:10 +0000)
commitffc8494db556f9e95b4bcc3d3c49d7c48b4e2f41
tree36f67e815b6cdd348711c149953597d75ba40d5c
parent900168284615e61e13b6511c655b29e9ddb025b3
dri: Don't build libdricommon.la if we don't need it

Refine 80aa78142d12b21dd7d4f0edc786af98a159a80f "dri: make sure to build libdricommon.la"
so we don't build libdricommon if we aren't building a dri driver which needs it (i.e.
if we are just building swrast)

In particular, this restores the ability to build the swrast dri driver without having to
have a xf86drm.h

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
configure.ac
src/mesa/drivers/dri/Makefile.am