summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-11-26 17:59:53 +0100
committerKay Sievers <kay.sievers@vrfy.org>2010-11-26 17:59:53 +0100
commitd0ef2204b4256189afc2188f0765338d616ca757 (patch)
tree01dfee9ec3e2e76b41029be42597742714bd1ce8 /configure.ac
parent0c8744ccde16e0c55ab76c19ce788fe7655a407c (diff)
gnome-ask-password-agent: also support libnotify < 0.7 for now
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 5a6f3c7d6..dfbce11ad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -259,12 +259,16 @@ if test "$have_gtk" = "yes"; then
AC_SUBST(DBUSGLIB_CFLAGS)
AC_SUBST(DBUSGLIB_LIBS)
- PKG_CHECK_MODULES(LIBNOTIFY, [ libnotify >= 0.7.0 ])
+ PKG_CHECK_MODULES(LIBNOTIFY, [ libnotify >= 0.7.0 ],
+ [ libnotify07=yes ],
+ [ PKG_CHECK_MODULES(LIBNOTIFY, [ libnotify ]) ]
+ )
+ AM_CONDITIONAL(LIBNOTIFY07, [ test "$libnotify07" = "yes" ])
AC_SUBST(LIBNOTIFY_CFLAGS)
AC_SUBST(LIBNOTIFY_LIBS)
fi
-AM_PROG_VALAC([0.11])
+AM_PROG_VALAC([0.10])
AC_SUBST(VAPIDIR)
AM_CONDITIONAL(HAVE_VALAC, test x"$VALAC" != x)