From 87c4ba8d250400b9b2c6c6f59e32a75f8048f68f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Tue, 1 Nov 2011 20:51:18 +0100
Subject: [PATCH] GTK1: Avoid some interference with GTK2.

---
 src/post_modules/GTK1/configure.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/post_modules/GTK1/configure.in b/src/post_modules/GTK1/configure.in
index c101028d93..21e0d5e825 100644
--- a/src/post_modules/GTK1/configure.in
+++ b/src/post_modules/GTK1/configure.in
@@ -636,6 +636,8 @@ if test "x$WITH_GTK" = x1 ; then
  fi
  
  AC_CHECK_LIB(gtkdatabox, main,,,`$ac_cv_path_GTK_CONFIG --libs`)
+ # This cache variable interferes with GTK2.
+ unset ac_cv_header_gtkdatabox_h
  AC_CHECK_HEADERS(gtkdatabox.h)
  
  AC_SUBST(pgtk_have_gtkdatabox)
-- 
GitLab