aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--applets/Makefile.am6
-rw-r--r--configure.ac4
3 files changed, 14 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 2fe1170..8232fd4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-06-17 Jorn Baayen <jorn@openedhand.com>
+
+ * applets/Makefile.am:
+ * configure.ac:
+
+ Don't build startup applet if libsn is not available.
+ Fixes #613.
+
2007-06-14 Jorn Baayen <jorn@openedhand.com>
* applets/startup/startup.c:
diff --git a/applets/Makefile.am b/applets/Makefile.am
index 077735c..1a7377a 100644
--- a/applets/Makefile.am
+++ b/applets/Makefile.am
@@ -1,7 +1,11 @@
-SUBDIRS = clock launcher startup systray showdesktop windowselector
+SUBDIRS = clock launcher systray showdesktop windowselector
if HAVE_LIBAPM
SUBDIRS += battery
endif
+if HAVE_LIBSN
+ SUBDIRS += startup
+endif
+
MAINTAINERCLEANFILES = Makefile.in
diff --git a/configure.ac b/configure.ac
index 80d5a8e..dd35515 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,11 +26,9 @@ if test x$enable_startup_notification != xno; then
AC_MSG_ERROR([*** Required Startup Notification library not installed ***]))
AC_DEFINE(USE_LIBSN, [1], [Has Startup Notification Support])
+ AM_CONDITIONAL(HAVE_LIBSN, true)
fi
-AC_SUBST(SN_LIBS)
-AC_SUBST(SN_CFLAGS)
-
# libnotify
AC_ARG_ENABLE(libnotify,
[ --enable-libnotify enable libnotify support],