diff options
Diffstat (limited to 'klipper/configure.in.in')
-rw-r--r-- | klipper/configure.in.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/klipper/configure.in.in b/klipper/configure.in.in new file mode 100644 index 000000000..c958872d0 --- /dev/null +++ b/klipper/configure.in.in @@ -0,0 +1,11 @@ +dnl XFixes check +KDE_CHECK_HEADER(X11/extensions/Xfixes.h, [xfixes_h=yes], [xfixes_h=no], [#include <X11/Xlib.h>]) +if test "$xfixes_h" = yes; then + KDE_CHECK_LIB(Xfixes, XFixesQueryExtension, [ + LIB_XFIXES=-lXfixes + AC_DEFINE_UNQUOTED(HAVE_XFIXES, 1, [Define if you have the XFixes extension]) + ], [], -lXext -lX11 $X_EXTRA_LIBS) +else + LIB_XFIXES= +fi +AC_SUBST(LIB_XFIXES) |