summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2015-10-01 21:23:23 +0200
committerAlexander Larsson <alexl@redhat.com>2015-10-01 21:23:23 +0200
commit208eb7b1aa3d7cc781baae7aba5d5aa2184a9764 (patch)
tree1ab2f60d7b98552380562281c854b04317f2a639 /configure.ac
parenteedbeab9d06675aed8bc885dbf4a87e19cab730b (diff)
downloadxdg-app-208eb7b1aa3d7cc781baae7aba5d5aa2184a9764.tar.gz
Propagate Xauthority details to the sandbox if X11 is enabled
Some xservers out there (like xorg 1.17.1) have a broken server interpreted local xauth, which causes apps to fail to connect to the xserver. This fixes that by propagating Xauthority data such as the MIT-MAGIC-COOKIE-1.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7fe375f..962eacb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,6 +59,9 @@ AC_SUBST(BASE_LIBS)
PKG_CHECK_MODULES(SOUP, [libsoup-2.4])
AC_SUBST(SOUP_CFLAGS)
AC_SUBST(SOUP_LIBS)
+PKG_CHECK_MODULES(XAUTH, [xau])
+AC_SUBST(XAUTH_CFLAGS)
+AC_SUBST(XAUTH_LIBS)
PKG_CHECK_MODULES(OSTREE, [libgsystem >= 2015.1 ostree-1 >= 2015.3])
AC_SUBST(OSTREE_CFLAGS)