diff options
author | Emil Velikov <[email protected]> | 2013-10-29 21:14:41 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2013-10-29 21:14:41 +0000 |
commit | aec20d66d9d13e0acd6a7199b63e1383e1e9900a (patch) | |
tree | 9c5a643bb50df3ffdfa7e90a2bc55c49f0d2420f /src/mesa/drivers/dri/common/Makefile.am | |
parent | 0828ad4e63df512c9d21e6e75b32f03401c3e95a (diff) |
automake: properly handle non-default expat installation
Use PKG_CHECK_MODULE over requesting the user to setup the
option at configure time. Drop unused EXPAT_INCLUDE and
update all targets.
NOTE: The this commit removes the --with-expat configure
option. One should ensure that the expat they wish to use
has expat.pc file accessible by pkg-config.
v2:
* Add note about the removal of --with-expat
(per Tom Stellard)
* Drop EXPAT_CFLAGS for targets that do not build DRI_COMMON
(spotted by Matt Turner)
v3:
* Rebase on top of megadrivers (drop EXPAT_CFLAGS from swrast)
Acked-by: Matt Turner <[email protected]> (v2)
Reviewed-by: Tom Stellard <[email protected]> (v2)
Signed-off-by: Emil Velikov <[email protected]>
Conflicts:
configure.ac
src/mesa/drivers/dri/common/Makefile.am
Diffstat (limited to 'src/mesa/drivers/dri/common/Makefile.am')
-rw-r--r-- | src/mesa/drivers/dri/common/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/Makefile.am b/src/mesa/drivers/dri/common/Makefile.am index 9f49ff3aee4..7f87ed6f560 100644 --- a/src/mesa/drivers/dri/common/Makefile.am +++ b/src/mesa/drivers/dri/common/Makefile.am @@ -27,6 +27,7 @@ AM_CFLAGS = \ -I$(top_srcdir)/src/mapi \ -I$(top_srcdir)/src/mesa/ \ $(DEFINES) \ + $(EXPAT_CFLAGS) \ $(VISIBILITY_CFLAGS) noinst_LTLIBRARIES = \ |