mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 20:10:14 +01:00
configure.ac: drop manual detection of expat header/library
Use the .pc file, as provided by version prior 2.1.0 onward and dropping the manual header/library check. Version 2.1.0 was released back in Mar 2012 and all major distributions use it. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> (IRC)
This commit is contained in:
parent
6f9298dbde
commit
5c007203b7
1 changed files with 1 additions and 7 deletions
|
|
@ -1792,13 +1792,7 @@ if test "x$with_dri_drivers" = xno; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for expat
|
# Check for expat
|
||||||
PKG_CHECK_MODULES([EXPAT], [expat], [],
|
PKG_CHECK_MODULES([EXPAT], [expat])
|
||||||
# expat version 2.0 and earlier do not provide expat.pc
|
|
||||||
[AC_CHECK_HEADER([expat.h],[],
|
|
||||||
[AC_MSG_ERROR([Expat headers required for DRI not found])])
|
|
||||||
AC_CHECK_LIB([expat],[XML_ParserCreate],[],
|
|
||||||
[AC_MSG_ERROR([Expat library required for DRI not found])])
|
|
||||||
EXPAT_LIBS="-lexpat"])
|
|
||||||
|
|
||||||
dnl If $with_dri_drivers is yes, drivers will be added through
|
dnl If $with_dri_drivers is yes, drivers will be added through
|
||||||
dnl platform checks. Set DEFINES and LIB_DEPS
|
dnl platform checks. Set DEFINES and LIB_DEPS
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue