summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2005-07-08 05:02:01 +0000
committerKeith Packard <keithp@keithp.com>2005-07-08 05:02:01 +0000
commitb5a724c201e0881fcb22738560597e333c39ba12 (patch)
treeaffcc79b2c61bd7cffa1d30861395885a6807c1b /configure.ac
parent45b0f06f132347e5eaabbc5ff294bc9016de75dd (diff)
Make sure XFIXES appears in LIBS line, fix up other pkg-config usage.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 3 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index a5bee39..bd6526a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,14 +57,10 @@ AC_PROG_CC
AC_PROG_LIBTOOL
# Check for X
-PKG_CHECK_MODULES(XRENDER, x11 xrender >= 0.8.2)
-PKG_CHECK_MODULES(XFIXES, xfixes, [AC_DEFINE_UNQUOTED(HAVE_XFIXES, 1, [Define to 1 if you have Xfixes])])
+PKG_CHECK_MODULES(DEP, xrender >= 0.8.2 xfixes x11)
-AC_SUBST(X_CFLAGS)
-AC_SUBST(X_LIBS)
-
-AC_SUBST(XRENDER_LIBS)
-AC_SUBST(XRENDER_CFLAGS)
+AC_SUBST(DEP_CFLAGS)
+AC_SUBST(DEP_LIBS)
AC_OUTPUT([Makefile
src/Makefile