mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 22:46:21 +00:00
Added freebsd check for libnotify
This commit is contained in:
@@ -149,7 +149,7 @@ AS_IF([test "x$PLATFORM" != xosx],
|
|||||||
AS_IF([test "x$PLATFORM" = xosx], [LIBS="-lcurl $LIBS"])
|
AS_IF([test "x$PLATFORM" = xosx], [LIBS="-lcurl $LIBS"])
|
||||||
|
|
||||||
### Check for desktop notification support
|
### Check for desktop notification support
|
||||||
### Linux requires libnotify
|
### Linux/FreeBSD require libnotify
|
||||||
### Windows uses native OS calls
|
### Windows uses native OS calls
|
||||||
### OSX requires terminal-notifier
|
### 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_ERROR([terminal-notifier not found, required for desktop notifications.])],
|
||||||
[AC_MSG_NOTICE([Desktop notifications not supported.])])],
|
[AC_MSG_NOTICE([Desktop notifications not supported.])])],
|
||||||
[AC_DEFINE([HAVE_OSXNOTIFY], [1], [terminal notifier])])])],
|
[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],
|
[AS_IF([test "x$enable_notifications" != xno],
|
||||||
[PKG_CHECK_MODULES([libnotify], [libnotify],
|
[PKG_CHECK_MODULES([libnotify], [libnotify],
|
||||||
[AC_DEFINE([HAVE_LIBNOTIFY], [1], [libnotify module])],
|
[AC_DEFINE([HAVE_LIBNOTIFY], [1], [libnotify module])],
|
||||||
|
|||||||
Reference in New Issue
Block a user