--- configure
+++ configure
@@ -14382,6 +14382,7 @@
 
     g_module_supported=""
 
+if false; then
     found_gmodule=no
 
 pkg_failed=no
@@ -14543,6 +14544,7 @@
             g_module_supported=""
             ;;
     esac
+fi
 
      if test x"$g_module_supported" != x; then
   HAVE_GMODULE_TRUE=
