diff --git a/configure.ac b/configure.ac
index e1bb079bcd46310aa98f8e8486ed26052a32b691..b59bc54a20654503a5ce98c05df64677a210baf4 100644 (file)
--- a/configure.ac
+++ b/configure.ac
AC_PREREQ([2.63])
AC_INIT([libdrm],
- [2.4.24],
+ [2.4.30],
[https://bugs.freedesktop.org/enter_bug.cgi?product=DRI],
[libdrm])
AC_SUBST(PTHREADSTUBS_CFLAGS)
AC_SUBST(PTHREADSTUBS_LIBS)
+PKG_CHECK_MODULES(PCIACCESS, [pciaccess >= 0.10])
+AC_SUBST(PCIACCESS_CFLAGS)
+AC_SUBST(PCIACCESS_LIBS)
+
pkgconfigdir=${libdir}/pkgconfig
AC_SUBST(pkgconfigdir)
AC_ARG_ENABLE([udev],
[AC_MSG_ERROR([Couldn't find clock_gettime])])])
AC_SUBST([CLOCK_LIB])
+AC_CHECK_FUNCS([open_memstream], [HAVE_OPEN_MEMSTREAM=yes])
+
dnl Use lots of warning flags with with gcc and compatible compilers
dnl Note: if you change the following variable, the cache is automatically
else
if test "x$INTEL" != "xno"; then
- INTEL=yes
+ case $host_cpu in
+ i?86|x86_64) INTEL=yes ;;
+ *) INTEL=no ;;
+ esac
fi
if test "x$RADEON" != "xno"; then
RADEON=yes
tests/modeprint/Makefile
tests/modetest/Makefile
tests/kmstest/Makefile
+ tests/radeon/Makefile
tests/vbltest/Makefile
include/Makefile
include/drm/Makefile