summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-07-28 12:37:53 +0200
committerinfirit <[email protected]>2015-07-28 12:37:53 +0200
commit37abef2d6b86de04b6ae54a79e89b58304ae4762 (patch)
treec707597659753025010de4e22a13c4d42efddc09 /configure.ac
parent2dc3ae141afe190aa646b8062ea561416120d080 (diff)
downloadatril-37abef2d6b86de04b6ae54a79e89b58304ae4762.tar.bz2
atril-37abef2d6b86de04b6ae54a79e89b58304ae4762.tar.xz
Fix build with optional mate-desktop.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e14555a4..d081c486 100644
--- a/configure.ac
+++ b/configure.ac
@@ -773,10 +773,13 @@ AC_ARG_WITH(matedesktop,
AM_CONDITIONAL([WITH_MATEDESKTOP],[test "$with_matedesktop" = "yes"])
if test "$with_matedesktop" = "yes"; then
- PKG_CHECK_MODULES([SHELL_CORE], mate-desktop-2.0 >= $MATEDESKTOP_REQUIRED)
+ PKG_CHECK_MODULES([MATE_DESKTOP], mate-desktop-2.0 >= $MATEDESKTOP_REQUIRED)
AC_DEFINE([WITH_MATEDESKTOP],[1],[Define if mate-desktop support is enabled])
fi
+AC_SUBST([MATE_DESKTOP_CFLAGS])
+AC_SUBST([MATE_DESKTOP_LIBS])
+
# *****************
# Help files
# *****************