summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2013-09-11 12:54:40 +0000
committerPierre Ossman <ossman@cendio.se>2013-09-11 12:54:40 +0000
commit1d6cc80d591568fb05dcd0373b53f108ef06326f (patch)
treeb146baa80a03e2ed826c478b232bc989c6ce0e64 /configure.in
parentf410352c7c2d90e62dc709af0a19a856b20620e9 (diff)
STR 2636. Add ability to get notifications whenever the
clipboard changes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9974 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index b1cee59e2..6224680ab 100644
--- a/configure.in
+++ b/configure.in
@@ -995,6 +995,16 @@ case $uname_GUI in
LIBS="-lXext $LIBS")
fi
+ dnl Check for the Xfixes extension unless disabled...
+ AC_ARG_ENABLE(xfixes, [ --enable-xfixes turn on Xfixes support [default=yes]])
+
+ if test x$enable_xfixes != xno; then
+ AC_CHECK_HEADER(X11/extensions/Xfixes.h, AC_DEFINE(HAVE_XFIXES),,
+ [#include <X11/Xlib.h>])
+ AC_CHECK_LIB(Xfixes, XFixesQueryExtension,
+ LIBS="-lXfixes $LIBS")
+ fi
+
dnl Check for overlay visuals...
AC_PATH_PROG(XPROP, xprop)
AC_CACHE_CHECK(for X overlay visuals, ac_cv_have_overlay,