Use libev for the event loop.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
This commit is contained in:
parent
b95f06e4ae
commit
8b61bf5197
|
@ -156,7 +156,7 @@ awesome_SOURCES += $(WIDGETS)
|
||||||
awesome_LDADD = $(pangocairo_LIBS) $(xcb_LIBS) $(xcb_event_LIBS) \
|
awesome_LDADD = $(pangocairo_LIBS) $(xcb_LIBS) $(xcb_event_LIBS) \
|
||||||
$(xcb_randr_LIBS) $(xcb_xinerama_LIBS) $(xcb_shape_LIBS) $(xcb_aux_LIBS) \
|
$(xcb_randr_LIBS) $(xcb_xinerama_LIBS) $(xcb_shape_LIBS) $(xcb_aux_LIBS) \
|
||||||
$(xcb_atom_LIBS) $(xcb_keysyms_LIBS) $(xcb_icccm_LIBS) $(dbus_LIBS)\
|
$(xcb_atom_LIBS) $(xcb_keysyms_LIBS) $(xcb_icccm_LIBS) $(dbus_LIBS)\
|
||||||
$(imlib2_LIBS) $(GdkPixbuf_LIBS) $(GDK_LIBS) $(Lua_LIBS)
|
$(imlib2_LIBS) $(GdkPixbuf_LIBS) $(GDK_LIBS) $(Lua_LIBS) $(ev_LIBS)
|
||||||
|
|
||||||
bin_PROGRAMS += awesome-client
|
bin_PROGRAMS += awesome-client
|
||||||
awesome_client_SOURCES = \
|
awesome_client_SOURCES = \
|
||||||
|
|
|
@ -174,6 +174,9 @@ PKG_CHECK_MODULES([cairo_xcb], [cairo-xcb],,
|
||||||
AC_CHECK_LIB(readline, readline,
|
AC_CHECK_LIB(readline, readline,
|
||||||
[AC_SUBST([readline_LIBS], ["-lreadline -lncurses"])],
|
[AC_SUBST([readline_LIBS], ["-lreadline -lncurses"])],
|
||||||
[AC_MSG_FAILURE([awesome needs readline])], -lncurses)
|
[AC_MSG_FAILURE([awesome needs readline])], -lncurses)
|
||||||
|
AC_CHECK_LIB(ev, ev_loop,
|
||||||
|
[AC_SUBST([ev_LIBS], ["-lev"])],
|
||||||
|
[AC_MSG_FAILURE([awesome needs libev])])
|
||||||
|
|
||||||
# Checks for header files.
|
# Checks for header files.
|
||||||
AC_PATH_X
|
AC_PATH_X
|
||||||
|
|
Loading…
Reference in New Issue