1 diff -ur xvattr-1.3.orig/configure.in xvattr-1.3/configure.in
2 --- xvattr-1.3.orig/configure.in 2002-06-13 22:40:33.000000000 +0300
3 +++ xvattr-1.3/configure.in 2007-09-04 14:02:56.000000000 +0300
10 + [--without-gtk Disable GTK support (default: enabled)])
11 +if test "x$with_gtk" != "xno"; then
12 + PKG_CHECK_MODULES(GTK, gtk+-2.0)
16 +AM_CONDITIONAL(WITH_GTK, [test "x$no_gtk" != "xyes"])
18 dnl Checks for libraries.
19 AC_ARG_WITH(xv-path,[ --with-xv-path=path Where libXv is installed],
20 diff -ur xvattr-1.3.orig/Makefile.am xvattr-1.3/Makefile.am
21 --- xvattr-1.3.orig/Makefile.am 2002-06-13 22:22:00.000000000 +0300
22 +++ xvattr-1.3/Makefile.am 2007-09-04 13:58:14.000000000 +0300
26 -bin_PROGRAMS = xvattr gxvattr
28 +gtk_programs = gxvattr
31 +bin_PROGRAMS = xvattr $(gtk_programs)
33 xvattr_SOURCES = xvattr.c
35 xvattr_LDADD = $(X_LIBS) $(X_PRE_LIBS) $(X_EXTRA_LIBS) -lX11 -lXext @LIBOBJS@
37 gxvattr_SOURCES = gxvattr.c
38 -CFLAGS = @GTK_CFLAGS@
40 +gxvattr_CFLAGS = @GTK_CFLAGS@
42 gxvattr_LDADD = @GTK_LIBS@ $(X_LIBS) $(X_PRE_LIBS) $(X_EXTRA_LIBS) -lX11 -lXext
43 noinst_HEADERS = getopt.h