Skip to content

Commit

Permalink
fix dbus flag
Browse files Browse the repository at this point in the history
  • Loading branch information
qnikst committed Feb 27, 2014
1 parent e273ee4 commit d71f87d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if test "x$enableval" == 'xyes'; then
AC_SUBST(DBUSGLIB_LIBS)
AC_SUBST(DBUSGLIB_CFLAGS)
fi
AM_CONDITIONAL(BUILD_DBUS, test "x$enableval" == 'xyes')
AM_CONDITIONAL(ENABLE_DBUS, test "x$enableval" == 'xyes')


AC_ARG_ENABLE([debug],
Expand Down
4 changes: 2 additions & 2 deletions src/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if BUILD_DBUS
if ENABLE_DBUS
SUBDIRS = dbus
endif
bin_PROGRAMS = kbdd
Expand All @@ -8,7 +8,7 @@ EXTRA_DIST = perwindow.h libkbdd.h common-defs.h keys.h
kbdd_LDADD = $(GLIB_LIBS) $(X11_LIBS)
AM_CFLAGS = $(GLIB_CFLAGS) $(DBUSGLIB_CFLAGS) -Idbus/

if BUILD_DBUS
if ENABLE_DBUS
kbdd_LDADD += $(DBUSGLIB_LIBS) dbus/libkbdddbus.a
AM_CFLAGS += $(DBUSGLIB_CFLAGS)
endif

0 comments on commit d71f87d

Please sign in to comment.