diff --git a/Makefile.am b/Makefile.am index 89366e8bd..2a9f9860a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -109,7 +109,7 @@ AWESOME_CFLAGS = -std=gnu99 -pipe \ -Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn endif AM_CPPFLAGS = $(pangocairo_CFLAGS) $(AWESOME_CFLAGS) \ - $(GTK_CFLAGS) $(imlib2_CFLAGS) \ + $(GdkPixbuf_CFLAGS) $(GDK_CFLAGS) $(imlib2_CFLAGS) \ $(xcb_CFLAGS) $(xcb_event_CFLAGS) \ $(xcb_randr_CFLAGS) $(xcb_xinerama_CFLAGS) $(xcb_shape_CFLAGS) \ $(xcb_aux_CFLAGS) $(xcb_atom_CFLAGS) $(xcb_keysyms_CFLAGS) \ @@ -153,7 +153,7 @@ awesome_SOURCES += $(WIDGETS) awesome_LDADD = $(pangocairo_LIBS) $(xcb_LIBS) $(xcb_event_LIBS) \ $(xcb_randr_LIBS) $(xcb_xinerama_LIBS) $(xcb_shape_LIBS) $(xcb_aux_LIBS) \ $(xcb_atom_LIBS) $(xcb_keysyms_LIBS) $(xcb_icccm_LIBS) $(dbus_LIBS)\ - $(imlib2_LIBS) $(GTK_LIBS) $(Lua_LIBS) + $(imlib2_LIBS) $(GdkPixbuf_LIBS) $(GDK_LIBS) $(Lua_LIBS) bin_PROGRAMS += awesome-client awesome_client_SOURCES = \ diff --git a/common/draw.c b/common/draw.c index 29115a4ab..061420707 100644 --- a/common/draw.c +++ b/common/draw.c @@ -28,7 +28,7 @@ #ifdef WITH_IMLIB2 #include #else -#include +#include #include #endif diff --git a/configure.ac b/configure.ac index cbf804db2..9bf9a091b 100644 --- a/configure.ac +++ b/configure.ac @@ -144,8 +144,10 @@ if test "x$with_imlib2" == "xyes"; then [AC_MSG_ERROR([Cannot fined Imlib2.])]) AC_DEFINE([WITH_IMLIB2],1,[Defined to use Imlib2]) else - PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.2],, - [AC_MSG_ERROR([Cannot find gtk+-2.0 >= 2.2])]) + PKG_CHECK_MODULES([GdkPixbuf], [gdk-pixbuf-2.0 >= 2.2],, + [AC_MSG_ERROR([Cannot find gdk-pixbuf-2.0 >= 2.2])]) + PKG_CHECK_MODULES([GDK], [gdk-2.0 >= 2.2],, + [AC_MSG_ERROR([Cannot find gdk-2.0 >= 2.2])]) fi PKG_CHECK_MODULES([xcb], [xcb],, [AC_MSG_ERROR([awesome requires xcb.])])