File Xdialog-2.3.1-remove-gtk1.patch of Package Xdialog
Index: configure.in
===================================================================
--- configure.in.orig 2006-08-18 18:13:26.000000000 +0200
+++ configure.in 2010-11-02 00:52:48.950708830 +0100
@@ -29,7 +29,6 @@ rm -f ./intl/libintl.h
ALL_LINGUAS="fr de ru es hu pt_BR no_NO id nl it pl ca sv_SE"
AM_GNU_GETTEXT([external])
-compile_for="gtk1"
AC_ARG_WITH(gtk2,
[ --with-gtk2 Compiles for GTK2],[
compile_for="gtk2"
@@ -39,9 +38,6 @@ AC_ARG_WITH(gtk2,
if test "$compile_for" = "gtk2" ; then
AM_PATH_GTK_2_0(2.2.0, ,
AC_MSG_ERROR(Cannot find GTK2.))
-else
- AM_PATH_GTK(1.2.0, ,
- AC_MSG_ERROR(Cannot find GTK: Is gtk-config in path?))
fi
dnl Set PACKAGE_DATA_DIR in config.h.