1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Added freebsd check for libnotify

This commit is contained in:
James Booth 2015-03-15 15:30:16 +00:00
parent 49022068ef
commit f0ffceefdd

View File

@ -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])],