aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Coopersmith2015-03-07 13:44:32 -0600
committerAlan Coopersmith2015-03-14 10:37:36 -0500
commit0e1135de5cbb783846a4f7e9ef8a5f953f7c77ae (patch)
tree88b974cf583174951938e218c650fc56d2a04af8 /configure.ac
parentba5a0b6274ad9c493ed3ddaf4e13559b9ff55ac1 (diff)
downloadexternal-libdrm-0e1135de5cbb783846a4f7e9ef8a5f953f7c77ae.tar.gz
external-libdrm-0e1135de5cbb783846a4f7e9ef8a5f953f7c77ae.tar.xz
external-libdrm-0e1135de5cbb783846a4f7e9ef8a5f953f7c77ae.zip
On Solaris, #include <sys/mkdev.h> in xf86drm.c
Needed on Solaris for the definitions of major() & minor() used in drmGetNodeTypeFromFd() and makedev() used in drmOpenMinor() Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 106d9709..1fd0818e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,6 +42,8 @@ AC_USE_SYSTEM_EXTENSIONS
42AC_SYS_LARGEFILE 42AC_SYS_LARGEFILE
43AC_FUNC_ALLOCA 43AC_FUNC_ALLOCA
44 44
45AC_CHECK_HEADERS([sys/mkdev.h])
46
45# Initialize libtool 47# Initialize libtool
46LT_PREREQ([2.2]) 48LT_PREREQ([2.2])
47LT_INIT([disable-static]) 49LT_INIT([disable-static])