summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2015-11-18 17:57:41 +1300
committerRobert Ancell <robert.ancell@canonical.com>2015-11-18 17:57:41 +1300
commit6db6695c76c271a4e21b2f0da8d7d0cb0118ca79 (patch)
treecf58cd2f75a06241997dea89cad16522c30cb7ae /configure.ac
parent7aad50a5ffa451457210e2b362f056e48885a8e0 (diff)
downloadlightdm-gtk-greeter-git-6db6695c76c271a4e21b2f0da8d7d0cb0118ca79.tar.gz
Check for exo-csource at configure time
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index eb0d53a..86d3f08 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,6 +28,11 @@ PKG_CHECK_MODULES([GMODULE], [gmodule-export-2.0])
PKG_CHECK_MODULES([LIGHTDMGOBJECT], [liblightdm-gobject-1 >= 1.3.5])
PKG_CHECK_MODULES([LIBX11], [x11])
+AC_CHECK_PROG([HAVE_EXO_CSOURCE], [exo-csource], [yes])
+if test x"$HAVE_EXO_CSOURCE" != xyes; then
+ AC_MSG_FAILURE([exo-csource not installed])
+fi
+
dnl ###########################################################################
dnl Optional dependencies
dnl ###########################################################################