diff options
author | Eric Anholt <anholt@freebsd.org> | 2005-08-25 02:59:21 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2005-08-25 02:59:21 +0000 |
commit | 7d5130d8fb24538e555689fb8e98f767406e0a2c (patch) | |
tree | 08224cd7de0c259c71833113fd0637e5d9642c1a /configure.ac | |
parent | 5a52e533e1f42072b91544fdbca785ed2c9ad76b (diff) |
Include appropriate CFLAGS to find X headers, needed to build libdrm.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 688a4ec0..8655d970 100644 --- a/configure.ac +++ b/configure.ac @@ -27,10 +27,14 @@ 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]) |