summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-04-23 03:34:03 -0700
committerManish Sinha <manishsinha@ubuntu.com>2013-04-23 03:34:03 -0700
commit1b970185e1815ad365fa5d3ece9ccb09dc758cc1 (patch)
tree5ffce90d8db207d392a9a136441aac3ed9576001
parent1e9516f69064972fd50a9a698bdbcb8bfcceceee (diff)
downloadzeitgeist-1b970185e1815ad365fa5d3ece9ccb09dc758cc1.tar.gz
Fix BFO #63831: When configuring with --enable-datahub --disable-downloads-monitor the compilation breaks
The build broke because when --disable-downloads-monitor was passed the variable DOWNLOADS_MONITOR_ENABLED was not getting defined/set in configure.ac This patch handles the else condition for the configure switch --enable-downloads-monitor.
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index bd861828..a3f0fb98 100644
--- a/configure.ac
+++ b/configure.ac
@@ -189,6 +189,8 @@ AC_ARG_ENABLE([downloads-monitor],
if test "x$enable_downloads_monitor" = "xyes" -a "x$enable_datahub" = "xyes"; then
AC_DEFINE([DOWNLOADS_MONITOR_ENABLED], [1], [Is the XDG_DOWNLOAD_DIRECTORY file monitor enabled?])
+else
+ AC_DEFINE([DOWNLOADS_MONITOR_ENABLED], [0], [Is the XDG_DOWNLOAD_DIRECTORY file monitor enabled?])
fi
AM_CONDITIONAL(DOWNLOADS_MONITOR_ENABLED, test "x$enable_downloads_monitor" = "xyes" -a "x$enable_datahub" = "xyes")