[build] Add glib dep

Pango already links against glib, so do not set useless vars in Makefile

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-04-29 08:49:35 +02:00
parent de3fbffcf1
commit e71ca0703c
2 changed files with 3 additions and 0 deletions

1
README
View File

@ -9,6 +9,7 @@ In order to build awesome itself, you need header files and libs of:
- libconfuse >= 2.6 - libconfuse >= 2.6
- cairo - cairo
- pango and pangocairo - pango and pangocairo
- glib
- GTK+ or Imlib2 (use --with-imlib2 with ./configure) - GTK+ or Imlib2 (use --with-imlib2 with ./configure)
- dbus - dbus

View File

@ -113,6 +113,8 @@ PKG_CHECK_MODULES([pangocairo], [pangocairo],,
[AC_MSG_ERROR([awesome requires pangocairo.])]) [AC_MSG_ERROR([awesome requires pangocairo.])])
PKG_CHECK_MODULES([confuse], [libconfuse >= 2.6],, PKG_CHECK_MODULES([confuse], [libconfuse >= 2.6],,
[AC_MSG_ERROR([awesome requires 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],, PKG_CHECK_MODULES([dbus], [dbus-1],,
[AC_MSG_ERROR([awesome requires dbus-1.])]) [AC_MSG_ERROR([awesome requires dbus-1.])])
AC_ARG_WITH([imlib2], AS_HELP_STRING([--with-imlib2], [Build with Imlib2 (default: disabled)])) AC_ARG_WITH([imlib2], AS_HELP_STRING([--with-imlib2], [Build with Imlib2 (default: disabled)]))