From a8b160e9564a562a5d6978bea1db8b6fe1985a39 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Thu, 6 Mar 2008 20:25:55 +0000 Subject: - Fix build PR: 121281 Submitted by: Tobias Roth --- print/gtklp/files/patch-configure.in | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 print/gtklp/files/patch-configure.in (limited to 'print/gtklp') diff --git a/print/gtklp/files/patch-configure.in b/print/gtklp/files/patch-configure.in new file mode 100644 index 000000000000..c6f171d96add --- /dev/null +++ b/print/gtklp/files/patch-configure.in @@ -0,0 +1,27 @@ +--- configure.in.orig 2007-11-15 18:56:57.000000000 +0100 ++++ configure.in 2008-03-02 11:25:59.000000000 +0100 +@@ -43,20 +43,10 @@ + + # gtk ####################################################################### + GTKVER="" +-if test x$enable_gtk1 = xyes; then +- AM_PATH_GTK([1.2.8],,[AC_ERROR([GTK+ 1.2.8 or newer is needed for GtkLP!])]) +- GTKVER="-DHAVE_GTK1" +- OLDDIALOG="-DOLDDIALOG" +- AC_SUBST(OLDDIALOG) +-else +- AC_MSG_RESULT([ ******************************************************** ]) +- AC_MSG_RESULT([ * If checking for Gtk2 fails, try to use --enable-gtk1 * ]) +- AC_MSG_RESULT([ ******************************************************** ]) +- PKG_CHECK_MODULES(GTK2, gtk+-2.0) +- AC_SUBST(GTK2_CFLAGS) +- AC_SUBST(GTK2_LIBS) +- GTKVER="-DHAVE_GTK2" +-fi ++PKG_CHECK_MODULES(GTK2, gtk+-2.0) ++AC_SUBST(GTK2_CFLAGS) ++AC_SUBST(GTK2_LIBS) ++GTKVER="-DHAVE_GTK2" + + AC_SUBST(GTKVER) + -- cgit v1.2.3