summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
-rw-r--r--libdrm/Makefile.am2
2 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 8655d970..688a4ec0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,14 +27,10 @@ AM_CONFIG_HEADER([libdrm/config.h])
AC_PROG_LIBTOOL
AC_PROG_CC
-AC_PATH_X
AC_HEADER_STDC
pkgconfigdir=${libdir}/pkgconfig
AC_SUBST(pkgconfigdir)
-X11_CFLAGS=-I${x_includes}
-AC_SUBST(X11_CFLAGS)
-
AC_OUTPUT([Makefile libdrm/Makefile shared-core/Makefile libdrm.pc])
diff --git a/libdrm/Makefile.am b/libdrm/Makefile.am
index e9aef7a3..db8778f1 100644
--- a/libdrm/Makefile.am
+++ b/libdrm/Makefile.am
@@ -22,7 +22,7 @@ libdrm_la_LTLIBRARIES = libdrm.la
libdrm_ladir = $(libdir)
libdrm_la_LDFLAGS = -version-number 1:0:0 -no-undefined
-AM_CFLAGS = -I$(top_srcdir)/shared-core $(X11_CFLAGS)
+AM_CFLAGS = -I$(top_srcdir)/shared-core
libdrm_la_SOURCES = xf86drm.c xf86drmHash.c xf86drmRandom.c xf86drmSL.c
libdrmincludedir = ${includedir}