gnome-power-manager r2763 - trunk
- From: rhughes svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-power-manager r2763 - trunk
- Date: Wed, 9 Apr 2008 18:05:17 +0100 (BST)
Author: rhughes
Date: Wed Apr 9 18:05:17 2008
New Revision: 2763
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=2763&view=rev
Log:
2008-04-09 Richard Hughes <richard hughsie com>
* configure.ac:
Add a hard dep on XRANDR for the upcoming brightness changes.
Modified:
trunk/ChangeLog
trunk/configure.ac
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Wed Apr 9 18:05:17 2008
@@ -62,6 +62,7 @@
GTKUNIQUE_REQUIRED=0.9.1
LIBPANEL_REQUIRED=2.0.0
GSTREAMER_REQUIRED=0.10
+XRANDR_REQUIRED=1.2.0
dnl ---------------------------------------------------------------------------
dnl - Make above strings available for packaging files (e.g. rpm spec files)
@@ -80,6 +81,7 @@
AC_SUBST(GTKUNIQUE_REQUIRED)
AC_SUBST(LIBPANEL_REQUIRED)
AC_SUBST(GSTREAMER_REQUIRED)
+AC_SUBST(XRANDR_REQUIRED)
dnl ---------------------------------------------------------------------------
dnl - Check library dependencies
@@ -120,6 +122,12 @@
AC_SUBST(GDK_CFLAGS)
AC_SUBST(GDK_LIBS)
+PKG_CHECK_MODULES(XRANDR, \
+ xrandr >= $XRANDR_REQUIRED \
+ xrender x11)
+AC_SUBST(XRANDR_CFLAGS)
+AC_SUBST(XRANDR_LIBS)
+
AC_PATH_PROG(GCONFTOOL, gconftool-2)
AM_GCONF_SOURCE_2
@@ -175,7 +183,7 @@
dnl ---------------------------------------------------------------------------
dnl - Respond to XEvents
dnl ---------------------------------------------------------------------------
-AC_ARG_ENABLE(xevents, [ --enable-xevents Support XEVENTS (requires a new x.org)],enable_xevents=$enableval,enable_xevents=no)
+AC_ARG_ENABLE(xevents, [ --enable-xevents Support XEVENTS (requires a new x.org)],enable_xevents=$enableval,enable_xevents=yes)
AC_MSG_CHECKING([whether to support xevents])
have_xevents=no
if test x$enable_xevents = xyes ; then
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]