Use libev for the event loop.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
This commit is contained in:
Pierre Habouzit 2008-06-16 23:32:02 +02:00
parent b95f06e4ae
commit 8b61bf5197
2 changed files with 4 additions and 1 deletions

View File

@ -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 = \

View File

@ -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