commit - 9380dd1e5a8bb11217081207a54a26e520d53e59
commit + c515a3204708adf33a6d5b7a092b1f4c0664ad2d
blob - 628c2892ae062386ec89f0cdbec598e4da4f1aa5
blob + 4889ba64c468cf3ef0d748bad38f469b0ef897f4
--- configure.ac
+++ configure.ac
AC_MSG_RESULT(no)
fi
+dnl #######################################################################
+dnl # Check for startup notification
+dnl #######################################################################
+AC_ARG_ENABLE(startup-notification, [ --disable-startup-notification compile without startup notification support],,enable_startup_notification=yes)
+
+if test "x$enable_startup_notification" = "xyes"; then
+ PKG_CHECK_MODULES(STARTUP_NOTIFICATION, libstartup-notification-1.0 >= 0.5,
+ [
+ AC_DEFINE(HAVE_STARTUP_NOTIFICATION, 1, [Define if we're using libstartup-notification.])
+ echo "Building with libstartup-notification"
+ enable_startup_notification=yes
+ ],
+ [
+ echo "Building without libstartup-notification"
+ enable_startup_notification=no
+ ])
+
+ AC_SUBST(STARTUP_NOTIFICATION_CFLAGS)
+ AC_SUBST(STARTUP_NOTIFICATION_LIBS)
+fi
+
dnl *************************
dnl ** section for plugins **
dnl *************************
AC_SUBST(CLAMAV_LIBS)
AM_CONDITIONAL(BUILD_CLAMAV_PLUGIN, test x"$ac_cv_enable_clamav_plugin" = xyes)
-dnl #######################################################################
-dnl # Check for startup notification
-dnl #######################################################################
-AC_ARG_ENABLE(startup-notification, [ --disable-startup-notification compile without startup notification support],,enable_startup_notification=yes)
-
-if test "x$enable_startup_notification" = "xyes"; then
- PKG_CHECK_MODULES(STARTUP_NOTIFICATION, libstartup-notification-1.0 >= 0.5,
- [
- AC_DEFINE(HAVE_STARTUP_NOTIFICATION, 1, [Define if we're using libstartup-notification.])
- echo "Building with libstartup-notification"
- enable_startup_notification=yes
- ],
- [
- echo "Building without libstartup-notification"
- enable_startup_notification=no
- ])
-
- AC_SUBST(STARTUP_NOTIFICATION_CFLAGS)
- AC_SUBST(STARTUP_NOTIFICATION_LIBS)
-fi
-
dnl ****************************
dnl ** Final configure output **
dnl ****************************