summaryrefslogtreecommitdiff
path: root/lib/libdrm/configure.ac
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2017-08-05 14:21:17 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2017-08-05 14:21:17 +0000
commitce59e62b7f4f8783a2b038e6fd41e5c7557e030f (patch)
tree56752fab7f1f4a3853feb2f7d72fa770e1a469bf /lib/libdrm/configure.ac
parent86740d0b6c3f7eeeb2027dbd5b5f269b815addaa (diff)
Merge libdrm 2.4.82
Diffstat (limited to 'lib/libdrm/configure.ac')
-rw-r--r--lib/libdrm/configure.ac10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libdrm/configure.ac b/lib/libdrm/configure.ac
index 6fa25066b..3ba77f4af 100644
--- a/lib/libdrm/configure.ac
+++ b/lib/libdrm/configure.ac
@@ -20,7 +20,7 @@
AC_PREREQ([2.63])
AC_INIT([libdrm],
- [2.4.79],
+ [2.4.82],
[https://bugs.freedesktop.org/enter_bug.cgi?product=DRI],
[libdrm])
@@ -54,7 +54,11 @@ AC_USE_SYSTEM_EXTENSIONS
AC_SYS_LARGEFILE
AC_FUNC_ALLOCA
+save_CFLAGS="$CFLAGS"
+export CFLAGS="$CFLAGS -Werror"
AC_HEADER_MAJOR
+CFLAGS="$save_CFLAGS"
+
AC_CHECK_HEADERS([sys/sysctl.h sys/select.h])
# Initialize libtool
@@ -80,6 +84,9 @@ fi
pkgconfigdir=${libdir}/pkgconfig
AC_SUBST(pkgconfigdir)
+libdrmdatadir=${datadir}/libdrm
+AC_SUBST(libdrmdatadir)
+
AC_ARG_ENABLE([udev],
[AS_HELP_STRING([--enable-udev],
[Enable support for using udev instead of mknod (default: disabled)])],
@@ -523,6 +530,7 @@ fi
AC_SUBST(WARN_CFLAGS)
AC_CONFIG_FILES([
Makefile
+ data/Makefile
libkms/Makefile
libkms/libkms.pc
intel/Makefile