Don't build reg_dumper if we don't have pciaccess 0.10.0
The pci_device_map_range() function was added in libpciaccess 0.10.0, and is used by the reg_dumper tool. Don't try to build it if we have an older libpciaccess. Also make sure that util-macros >= 1.1.3 is available when running autoconf, because it's required for the PACKAGE_VERSION_* macros.
This commit is contained in:
parent
d341e41c86
commit
94a18fa1f8
|
|
@ -117,7 +117,7 @@ CFLAGS="$save_CFLAGS"
|
|||
if test x$XSERVER_LIBPCIACCESS = xyes; then
|
||||
PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.10.0])
|
||||
else
|
||||
PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.5.0],
|
||||
PKG_CHECK_MODULES([PCIACCESS], [pciaccess >= 0.10.0],
|
||||
have_libpciaccess=yes,
|
||||
have_libpciaccess=no)
|
||||
fi
|
||||
|
|
@ -216,6 +216,8 @@ AC_SUBST([moduledir])
|
|||
DRIVER_NAME=intel
|
||||
AC_SUBST([DRIVER_NAME])
|
||||
|
||||
m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.1.3 or later before running autoconf/autogen])])
|
||||
XORG_MACROS_VERSION(1.1.3)
|
||||
XORG_MANPAGE_SECTIONS
|
||||
XORG_RELEASE_VERSION
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue