From f0ffceefdd1b9ddb2cd63c2fa4fb6f15d7c0e635 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 15 Mar 2015 15:30:16 +0000 Subject: [PATCH] Added freebsd check for libnotify --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index ec599f7c..0653ab68 100644 --- a/configure.ac +++ b/configure.ac @@ -149,7 +149,7 @@ AS_IF([test "x$PLATFORM" != xosx], AS_IF([test "x$PLATFORM" = xosx], [LIBS="-lcurl $LIBS"]) ### Check for desktop notification support -### Linux requires libnotify +### Linux/FreeBSD require libnotify ### Windows uses native OS calls ### OSX requires terminal-notifier @@ -162,7 +162,7 @@ AS_IF([test "x$PLATFORM" = xosx], [AC_MSG_ERROR([terminal-notifier not found, required for desktop notifications.])], [AC_MSG_NOTICE([Desktop notifications not supported.])])], [AC_DEFINE([HAVE_OSXNOTIFY], [1], [terminal notifier])])])], - [test "x$PLATFORM" = xnix], + [test "x$PLATFORM" = xnix -o "x$PLATFORM" = xfreebsd], [AS_IF([test "x$enable_notifications" != xno], [PKG_CHECK_MODULES([libnotify], [libnotify], [AC_DEFINE([HAVE_LIBNOTIFY], [1], [libnotify module])],