summaryrefslogtreecommitdiff
blob: a35f34984732bdea2979c163b8ba886e276dda5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/configure.ac b/configure.ac
index 3554e67..b8b66c1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,8 +35,8 @@ AC_ARG_ENABLE(dbus,
         [AS_HELP_STRING([--enable-dbus], [Build the DBus daemon.])],
         [if test "$enableval" = "yes" ; then
            modules="$xcowsayd_modules"
+           CFLAGS="$CFLAGS -DWITH_DBUS"
          fi
-         CFLAGS="$CFLAGS -DWITH_DBUS"
 	 AC_FUNC_FORK])
 
 PKG_CHECK_MODULES(XCOWSAY, $modules)