[gpm] [PATCH 2/4] configure: clean out low-hanging cruft
- From: Rémi Cardona <remi gentoo org>
- To: gnome-power-manager-list gnome org
- Subject: [gpm] [PATCH 2/4] configure: clean out low-hanging cruft
- Date: Tue, 8 Dec 2009 11:08:50 +0100
PKG_CHECK_MODULES already calls AC_SUBST, no need to do it twice
Signed-off-by: Rémi Cardona <remi gentoo org>
---
configure.ac | 23 -----------------------
1 files changed, 0 insertions(+), 23 deletions(-)
diff --git a/configure.ac b/configure.ac
index 2663497..e79ecf4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -80,10 +80,8 @@ if test "$GCC" = "yes"; then
WARNINGFLAGS="$WARNINGFLAGS -Wno-strict-aliasing"
else
WARNINGFLAGS=""
- WARNINGFLAGS=""
fi
AC_SUBST(WARNINGFLAGS)
-AC_SUBST(WARNINGFLAGS)
dnl ---------------------------------------------------------------------------
dnl - Debugging switches (uncomment this if you want to use gdb)
@@ -144,19 +142,13 @@ dnl ---------------------------------------------------------------------------
dnl - Check library dependencies
dnl ---------------------------------------------------------------------------
PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED gobject-2.0)
-AC_SUBST(GLIB_CFLAGS)
-AC_SUBST(GLIB_LIBS)
PKG_CHECK_MODULES(CANBERRA, libcanberra-gtk >= $CANBERRA_REQUIRED)
-AC_SUBST(CANBERRA_CFLAGS)
-AC_SUBST(CANBERRA_LIBS)
PKG_CHECK_MODULES(DBUS,[
dbus-glib-1 >= $DBUS_GLIB_REQUIRED
dbus-1 >= $DBUS_REQUIRED
gthread-2.0])
-AC_SUBST(DBUS_CFLAGS)
-AC_SUBST(DBUS_LIBS)
PKG_CHECK_MODULES(GNOME, [
libwnck-1.0 >= $LIBWNCK_REQUIRED
@@ -164,43 +156,28 @@ PKG_CHECK_MODULES(GNOME, [
gconf-2.0 >= $GCONF_REQUIRED
gnome-keyring-1 >= $GNOME_KEYRING_REQUIRED
cairo >= $CAIRO_REQUIRED])
-AC_SUBST(GNOME_CFLAGS)
-AC_SUBST(GNOME_LIBS)
PKG_CHECK_MODULES(PANEL, [
libpanelapplet-2.0 >= $LIBPANEL_REQUIRED])
-AC_SUBST(PANEL_CFLAGS)
-AC_SUBST(PANEL_LIBS)
-
PKG_CHECK_MODULES(GDK, [
gdk-2.0 >= $GDK_REQUIRED
gdk-x11-2.0 >= $GDK_REQUIRED])
-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)
PKG_CHECK_EXISTS(
[xrandr >= 1.3],
[AC_DEFINE(HAVE_XRANDR_13, 1, [xrandr 1.3 available])])
PKG_CHECK_MODULES(LIBNOTIFY, libnotify >= $LIBNOTIFY_REQUIRED)
-AC_SUBST(LIBNOTIFY_CFLAGS)
-AC_SUBST(LIBNOTIFY_LIBS)
PKG_CHECK_MODULES(UNIQUE, unique-1.0 >= $UNIQUE_REQUIRED)
-AC_SUBST(UNIQUE_CFLAGS)
-AC_SUBST(UNIQUE_LIBS)
PKG_CHECK_MODULES(DEVKIT, [
devkit-power-gobject >= $DEVKIT_POWER_REQUIRED])
-AC_SUBST(DEVKIT_CFLAGS)
-AC_SUBST(DEVKIT_LIBS)
AC_PATH_PROG(GCONFTOOL, gconftool-2)
AM_GCONF_SOURCE_2
--
1.6.5.5
[Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]