[Xfce4-commits] r27056 - xfconf/trunk

Stephan Arts stephan at xfce.org
Sat Jun 14 14:55:54 CEST 2008


Author: stephan
Date: 2008-06-14 12:55:54 +0000 (Sat, 14 Jun 2008)
New Revision: 27056

Modified:
   xfconf/trunk/configure.ac.in
Log:
Forgot to include configure.ac.in with previous commit.


Modified: xfconf/trunk/configure.ac.in
===================================================================
--- xfconf/trunk/configure.ac.in	2008-06-14 12:55:33 UTC (rev 27055)
+++ xfconf/trunk/configure.ac.in	2008-06-14 12:55:54 UTC (rev 27056)
@@ -93,8 +93,25 @@
 
 if test "x$build_xfsettingsd" = "xyes" -o "x$build_xfconf_gtk" = "xyes"; then
     XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.10.0])
+    XDT_CHECK_PACKAGE([LIBNOTIFY], [libnotify], [0.1.3])
 fi
 
+dnl ********************************
+dnl Check for XKB (xkb-settings) ***
+dnl ********************************
+AC_ARG_ENABLE([xkb],
+AC_HELP_STRING([--enable-xkb], [try to use the XKB extension])
+AC_HELP_STRING([--disable-xkb], [don't try to use the XKB extension]),
+  [], [enable_xkb=yes])
+XKB_LIBS=
+if test x"$enable_xkb" = x"yes"; then
+  AC_CHECK_LIB(Xext, XkbLibraryVersion,
+    [XKB_LIBS="-lXi"
+    AC_DEFINE([HAVE_XKB], [1], [Define if XInput is present])],
+    [],[$LIBX11_LIBS -lXi])
+fi
+AC_SUBST([XKB_LIBS])
+
 dnl check alignment for struct returns
 AC_DEFUN([BT_GLIB_CHECK_ALIGNOF],
 [



More information about the Xfce4-commits mailing list