Revert recent changes to configure.ac
authorJohn Darrington <john@cellform.com>
Sun, 18 Jun 2023 11:07:45 +0000 (13:07 +0200)
committerJohn Darrington <john@cellform.com>
Sun, 18 Jun 2023 11:16:14 +0000 (13:16 +0200)
Commit e1a2cf577fac791c79cd531e688a48efab9b7c0c recented gtksourceview to
version 4.8  - However this turned out to be unnecessary, so this change
reverts that detail.

configure.ac

index 649217255a8ee4c2fc5798f82965ada714e6e35d..2af7cd4214a1ec86cd75630611d5d81d1f2d8bda 100644 (file)
@@ -130,8 +130,9 @@ if test "$with_gui" != "no"; then
   PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= 3.22.0], [],
     [PSPP_REQUIRED_PREREQ([gtk+ 3.0 version 3.22.0 or later (or use --without-gui)])])
 
-  PKG_CHECK_MODULES([GTKSOURCEVIEW], [gtksourceview-4 >= 4.8], [],
-      [PSPP_REQUIRED_PREREQ([gtksourceview 4.8 or later (or use --without-gui)])])
+  PKG_CHECK_MODULES([GTKSOURCEVIEW], [gtksourceview-4 >= 4.0], [],
+    [PKG_CHECK_MODULES([GTKSOURCEVIEW], [gtksourceview-3.0 >= 3.4.2], [],
+      [PSPP_REQUIRED_PREREQ([gtksourceview 4.x or gtksourceview 3.x version 3.4.2 or later (or use --without-gui)])])])
 
   PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.44], [],
     [PSPP_REQUIRED_PREREQ([glib 2.0 version 2.44 or later (or use --without-gui)])])