about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-03-15 15:30:16 +0000
committerJames Booth <boothj5@gmail.com>2015-03-15 15:30:16 +0000
commitf0ffceefdd1b9ddb2cd63c2fa4fb6f15d7c0e635 (patch)
tree7365e3ae9afbe880a7f3229bdf7b97871fb66e9f
parent49022068efc35709db9c6bb7ca9c0c546db7673c (diff)
downloadprofani-tty-f0ffceefdd1b9ddb2cd63c2fa4fb6f15d7c0e635.tar.gz
Added freebsd check for libnotify
-rw-r--r--configure.ac4
1 files 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])],