From e71ca0703cdae42bffb7afe84feac9a512ba5985 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 29 Apr 2008 08:49:35 +0200 Subject: [PATCH] [build] Add glib dep Pango already links against glib, so do not set useless vars in Makefile Signed-off-by: Julien Danjou --- README | 1 + configure.ac | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README b/README index 491e96a9..c0cec605 100644 --- a/README +++ b/README @@ -9,6 +9,7 @@ In order to build awesome itself, you need header files and libs of: - libconfuse >= 2.6 - cairo - pango and pangocairo + - glib - GTK+ or Imlib2 (use --with-imlib2 with ./configure) - dbus diff --git a/configure.ac b/configure.ac index 27eb3de3..e916b998 100644 --- a/configure.ac +++ b/configure.ac @@ -113,6 +113,8 @@ PKG_CHECK_MODULES([pangocairo], [pangocairo],, [AC_MSG_ERROR([awesome requires pangocairo.])]) PKG_CHECK_MODULES([confuse], [libconfuse >= 2.6],, [AC_MSG_ERROR([awesome requires libconfuse >= 2.6.])]) +PKG_CHECK_MODULES([glib], [glib-2.0],, + [AC_MSG_ERROR([awesome requires glib-2.0.])]) PKG_CHECK_MODULES([dbus], [dbus-1],, [AC_MSG_ERROR([awesome requires dbus-1.])]) AC_ARG_WITH([imlib2], AS_HELP_STRING([--with-imlib2], [Build with Imlib2 (default: disabled)]))