diff --git a/configure.ac b/configure.ac
index 1447785bbf45fe45b632eaff16f7ea2feed091df..b59bc54a20654503a5ce98c05df64677a210baf4 100644 (file)
--- a/configure.ac
+++ b/configure.ac
AC_PREREQ([2.63])
AC_INIT([libdrm],
- [2.4.27],
+ [2.4.30],
[https://bugs.freedesktop.org/enter_bug.cgi?product=DRI],
[libdrm])
[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