1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

Ensure LIBNOTIFY07 conditional is always set

Also use PKG_CHECK_EXISTS to test if libnotify is recent enough
This commit is contained in:
Michael Biebl 2010-11-27 13:29:14 +01:00
parent c1c8ca815b
commit ab85c225e0

View File

@ -259,14 +259,13 @@ if test "$have_gtk" = "yes"; then
AC_SUBST(DBUSGLIB_CFLAGS)
AC_SUBST(DBUSGLIB_LIBS)
PKG_CHECK_MODULES(LIBNOTIFY, [ libnotify >= 0.7.0 ],
[ libnotify07=yes ],
[ PKG_CHECK_MODULES(LIBNOTIFY, [ libnotify ]) ]
)
AM_CONDITIONAL(LIBNOTIFY07, [ test "$libnotify07" = "yes" ])
PKG_CHECK_MODULES(LIBNOTIFY, [ libnotify ])
PKG_CHECK_EXISTS([ libnotify >= 0.7.0 ], [ libnotify07=yes ])
AC_SUBST(LIBNOTIFY_CFLAGS)
AC_SUBST(LIBNOTIFY_LIBS)
fi
AM_CONDITIONAL(LIBNOTIFY07, [ test "$libnotify07" = "yes" ])
AM_PROG_VALAC([0.10])
AC_SUBST(VAPIDIR)