$OpenBSD: patch-configure_ac,v 1.5 2021/03/22 07:34:34 ajacoutot Exp $

From 680fa6596793dc53368e0b8ebf90eddc3a987e42 Mon Sep 17 00:00:00 2001
From: Milan Crha <mcrha@redhat.com>
Date: Tue, 5 May 2020 09:53:09 +0200
Subject: [PATCH] Disable cast-function-type compiler warning and fix other warnings

Remove GConf support.

Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -21,6 +21,7 @@ AS_COMPILER_FLAGS(WARNING_FLAGS,
 	-Wno-missing-field-initializers
 	-Wno-sign-compare
 	-Wno-unused-parameter
+	-Wno-cast-function-type
 	-Wdeclaration-after-statement
 	-Werror-implicit-function-declaration
 	-Wformat-security -Winit-self
@@ -320,12 +321,6 @@ fi
 AC_SUBST(RENDER_CFLAGS)
 AC_SUBST(RENDER)
 AC_SUBST(RENDER_N)
-
-dnl ***********
-dnl GConf stuff
-dnl ***********
-AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
-AM_GCONF_SOURCE_2
 
 dnl ***************
 dnl Gsettings stuff
