[AC_DEFINE(HAVE_LIBSECRET,1,[System has libsecret 0.18 or better])],
[AC_DEFINE(HAVE_NO_LIBSECRET,1,[System has no suitable libsecret service])])
AC_SUBST(LIBSECRET_CFLAGS)
AC_SUBST(LIBSECRET_LIBS)
[have_password_storage=yes
AC_DEFINE(HAVE_LIBSECRET,1,[System has libsecret 0.18 or better])
AC_SUBST(LIBSECRET_CFLAGS)
AC_SUBST(LIBSECRET_LIBS)
],
[dummy_not_found=true])
;;
esac
esac
fi
if test "x$have_password_storage" = "xno" && test "x$enable_password_storage" = "xyes"
then
AC_MSG_ERROR([password storage requested but no suitable backend found. Either gnome-keyring >= 0.6, libsecret >= 0.18 or Apple's keychain are supported])