summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2009-02-03 15:03:41 -0500
committerKristian Høgsberg <krh@redhat.com>2009-02-03 15:03:41 -0500
commit7a389aab86bde183de8806878b8cf055f662ee73 (patch)
treebeeccbc18ecc26dadec1a6971ac9e189799d8446 /configure.ac
parent2c113a1b159f57ab94b54316ece49c677cfe04ce (diff)
modetest: Use cairo (if available) to paint a better pattern.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a842b8d5..a65f79e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -119,6 +119,13 @@ if test "x$UDEV" = xyes; then
AC_DEFINE(UDEV, 1, [Have UDEV support])
fi
+PKG_CHECK_MODULES(CAIRO, cairo, [HAVE_CAIRO=yes], [HAVE_CAIRO=no])
+if test "x$HAVE_CAIRO" = xyes; then
+ AC_DEFINE(HAVE_CAIRO, 1, [Have cairo support])
+fi
+AM_CONDITIONAL(HAVE_CAIRO, [test "x$HAVE_CAIRO" = xyes])
+
+
AC_SUBST(WARN_CFLAGS)
AC_OUTPUT([
Makefile