configure.ac: Check for expat21 if expat is not found.
Fixes build error on CentOS 6.9.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102052
Fixes: 5c007203b7
("configure.ac: drop manual detection of expat header/library")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
This commit is contained in:
@@ -1814,7 +1814,9 @@ 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],,
|
||||||
|
[PKG_CHECK_MODULES([EXPAT], [expat21])]
|
||||||
|
)
|
||||||
|
|
||||||
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
|
||||||
|
Reference in New Issue
Block a user