Don't search for libraries that are only used by the gtklos extension.
--- configure.orig	2023-03-07 05:24:11.000000000 -0600
+++ configure	2023-03-16 22:43:26.000000000 -0500
@@ -7584,6 +7584,7 @@
 HAVE_CANVAS=0
 GOOCANV=absent
 GOOVERS=""
+if false; then
 
 # Do we have GTK+?
 if ${PKGCONFIG} --exists gtk+-3.0
@@ -7611,6 +7612,7 @@
    GOOCANV=present
 fi
 
+fi
 ###
 ### SFI-176 stuff
 ###
