freebsd-ports/print/gtklp/files/patch-configure.in
Martin Wilke a8b160e956 - Fix build
PR:		121281
Submitted by:	Tobias Roth <ports@fsck.ch>
2008-03-06 20:25:55 +00:00

27 lines
881 B
Text

--- 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)