From a0b7aac6b7f39876d444b71a495ebed695f79eff Mon Sep 17 00:00:00 2001 From: Scott Balneaves Date: Mon, 4 Jan 2016 18:48:56 -0600 Subject: [PATCH] Add test for exo-csource binary, needed for compile --- configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index 6c255a1..835056e 100644 --- a/configure.ac +++ b/configure.ac @@ -34,6 +34,13 @@ PKG_CHECK_MODULES([WEB_EXTENSION], [webkit2gtk-web-extension-4.0 >= 2.8.0]) AC_SUBST([WEB_EXTENSION_CFLAGS]) AC_SUBST([WEB_EXTENSION_LIBS]) +# Check for exo-csource +AC_DEFUN([AC_PROG_EXOCSOURCE], [AC_CHECK_PROG(EXOCSOURCE,exo-csource,yes)]) +AC_PROG_EXOCSOURCE +if test x"${EXOCSOURCE}" != x"yes" ; then + AC_MSG_ERROR([Please install the package containing the exo-csource binary.]) +fi + dnl ########################################################################### dnl Configurable values dnl ###########################################################################