From 4f6260eb6f45f1d109dee9246e7a00e284c49541 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 1 Nov 2024 11:36:08 -0400 Subject: [PATCH] Version bump, check for libpeas in configure.ac. --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 1add108..46b3b0c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -m4_define([cthulhu_version], [0.3]) +m4_define([cthulhu_version], [0.4]) m4_define(pygobject_required_version, 3.18) m4_define(atspi_required_version, 2.48) @@ -28,6 +28,7 @@ PKG_CHECK_MODULES([PYGOBJECT], [pygobject-3.0 >= pygobject_required_version]) PKG_CHECK_MODULES([ATSPI2], [atspi-2 >= atspi_required_version]) PKG_CHECK_MODULES([ATKBRIDGE], [atk-bridge-2.0 >= atkbridge_required_version]) PKG_CHECK_MODULES([GSTREAMER], [gstreamer-1.0], [gstreamer="yes"], [gstreamer="no"]) +PKG_CHECK_MODULES([LIBPEAS], [libpeas-1.0], [libpeas="yes"], [libpeas="no"]) dnl Needed programs AC_PROG_INSTALL @@ -158,6 +159,10 @@ echo echo "NOTE: Sound support requires gstreamer-1.0." fi +if test "$have_libpeas" = "no"; then + AC_MSG_ERROR([libpeas-1.0 >= 1.20 is required]) +fi + echo echo Use speech-dispatcher: $speechd_available echo Use brltty: $brlapi_available