Browse Source

applied rpmfusion's xbill-2.1-gtk2.patch from gentoo

(added quoting of course)
tags/1.1
Michael Shigorin 6 years ago
parent
commit
f63c71f9c3
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      configure.in

+ 3
- 4
configure.in View File

@@ -85,12 +85,11 @@ AC_ARG_ENABLE(gtk,
[ --enable-gtk build with the GTK widget set])

if test "$enable_gtk" != "no"; then
AC_CHECK_PROG(GTKCONFIG, gtk-config, yes, no)
PKG_CHECK_MODULES([GTK], [gtk+-2.0])

if test "X$GTKCONFIG" = X"yes"; then
if test $pkg_failed = no; then
AC_DEFINE(USE_GTK)
GTK_CFLAGS="`gtk-config --cflags`"
WIDGET_LIBS="$WIDGET_LIBS `gtk-config --libs`"
WIDGET_LIBS="$WIDGET_LIBS $GTK_LIBS"
WIDGET_OBJS="$WIDGET_OBJS gtk.o"
AC_SUBST(GTK_CFLAGS)
fi


Loading…
Cancel
Save