Version bump, check for libpeas in configure.ac.

This commit is contained in:
Storm Dragon 2024-11-01 11:36:08 -04:00
parent b6a44df82a
commit 4f6260eb6f

View File

@ -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