Lines 1-32
Link Here
|
1 |
--- configure.ac.orig 2015-03-09 09:51:22.000000000 +0100 |
|
|
2 |
+++ configure.ac 2015-03-09 09:56:17.000000000 +0100 |
3 |
@@ -141,22 +141,21 @@ |
4 |
### Windows uses native OS calls |
5 |
### OSX requires terminal-notifier |
6 |
|
7 |
-AS_IF([test "x$PLATFORM" = xosx], |
8 |
- [AS_IF([test "x$enable_notifications" != xno], |
9 |
+AS_IF([test "x$enable_notifications" != xno], |
10 |
[NOTIFIER_PATH="no" |
11 |
AC_PATH_PROG(NOTIFIER_PATH, terminal-notifier, no) |
12 |
AS_IF([test "x$NOTIFIER_PATH" = xno], |
13 |
[AS_IF([test "x$enable_notifications" = xyes], |
14 |
- [AC_MSG_ERROR([terminal-notifier not found, required for desktop notifications.])], |
15 |
+ [AC_MSG_WARN([terminal-notifier not found, required for desktop notifications on OS X.])], |
16 |
[AC_MSG_NOTICE([Desktop notifications not supported.])])], |
17 |
- [AC_DEFINE([HAVE_OSXNOTIFY], [1], [terminal notifier])])])], |
18 |
- [test "x$PLATFORM" = xnix], |
19 |
- [AS_IF([test "x$enable_notifications" != xno], |
20 |
+ [AC_DEFINE([HAVE_OSXNOTIFY], [1], [terminal notifier])])]) |
21 |
+ |
22 |
+AS_IF([test "x$enable_notifications" != xno], |
23 |
[PKG_CHECK_MODULES([libnotify], [libnotify], |
24 |
[AC_DEFINE([HAVE_LIBNOTIFY], [1], [libnotify module])], |
25 |
[AS_IF([test "x$enable_notifications" = xyes], |
26 |
- [AC_MSG_ERROR([libnotify is required but does not exist])], |
27 |
- [AC_MSG_NOTICE([libnotify support will be disabled])])])])]) |
28 |
+ [AC_MSG_WARN([libnotify is required but does not exist])], |
29 |
+ [AC_MSG_NOTICE([libnotify support will be disabled])])])]) |
30 |
|
31 |
# TODO: rewrite this |
32 |
if test "x$with_xscreensaver" = xyes; then |